-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ledger-cli support #36
Comments
On Thu, Mar 22, 2012 at 12:41 PM, djp
I think this should already work in VimOrganizer. All of the Babel Best way would probably be to get it going in Org first to make sure -- Herb |
If I knew how to do that, I might not be such a candidate for VimOrganizer user.. ;-) How do I know when my Emacs connection is set up properly? perhaps the feature-request should be titled "explain Babel use in vimorg, using ledger as an example", as I have not so much idea of what the setup for Babel functions might entail. I've been cutting and pasting various things into my .vimrc, my .emacs file and into my sandbox.org, without success. considering http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html #+name: balance #+begin_src ledger :cmdline -f ~/Documents/accounts/master.ledger -s bal :noweb yes <> <> #+end_src #+results: balance ",v" seems to do nothing. but menu Org > Do Emacs Eval, seems to do some processing but rather than results I see "~/org-src-block.org" 7L, 154C 7 fewer lines Press ENTER or type command to continue and the block is copied to a text file.. |
the #+begin block I entered above lost something in the github translation, the "income" and "expense" targets, and yes, the ledger command I'm using produces a result at the CLI once de-org-ified. |
On Sun, Mar 25, 2012 at 12:53 PM, djp
If you can export via Emacs then it's set up right. Help on how to
Babel source code blocks in VimOrganizer will be identical to what
The block that gets copied to the text file is just a temporary work I think you may need to put the ":exports results" option into your Like I said, best to test your code block in Emacs/Org before you use -- Herb |
On Sun, Mar 25, 2012 at 4:07 PM, Herbert Sitz [email protected] wrote:
The first step is to get Babel working for Ledger in Org. Once you've I think I forgot one step before, which is that you have to make sure You don't really have to "know" Emacs to get it working with -- Herb |
On Sun, Mar 25, 2012 at 4:18 PM, Herbert Sitz [email protected] wrote:
Plus I edit my .emacs file in Vim. ;) -- Herb |
On Sun, Mar 25, 2012 at 4:07 PM, Herbert Sitz [email protected] wrote:
I would also add: First step in testing with VimOrganizer should be -- Herb |
I have another question about exporting, because when I hit ",x" and then select an export, it seems to grid away in a convincing fashion, positive looking feedback, but if it worked I have no idea what it does with the file.. or what it would be called by default.. I've never located the output, if it exists. |
On Sun, Mar 25, 2012 at 5:57 PM, djp
All of the exported files should be in same directory as the .org file As always, troubleshoot first by opening doc in Emacs and doing Org Then, if on Linux, make sure that you have a working Emacs server, Then try in VimOrganizer. -- Herb |
On Sun, Mar 25, 2012 at 6:13 PM, Herbert Sitz [email protected] wrote:
Exported file will have same name with different prefix. E.g., |
On Sun, Mar 25, 2012 at 6:15 PM, Herbert Sitz [email protected] wrote:
Sorry, that should have been "same name with different EXTENSION". |
ledger is an amazingly good command-line accounting program. It is comprehensive, has an active community and maintains all transaction data in simple text-files. The core developers are also orgmode fans and developers, and have been working with ledger data in orgmode for quite some time. I'm jealous, and I think it would be great if VimOrganizer could take advantage of previous work by the ledger team.
http://ledger-cli.org/
http://ledger-cli.org/3.0/doc/ledger3.html#Emacs-org-mode
The text was updated successfully, but these errors were encountered: