Re: Reconciling with EMACS

2012-10-21 Thread thierry
Well, I had not done any reconciliation since end of August. I just tried C-c C-r, entered Account, pressed Enter, and it fails with error 'progn: Wrong type argument: listp, --real '. I do not have time this week to investigate, but maybe one of the recent commit screwed things up? On Sunday,

Re: Reconciling with EMACS

2012-10-21 Thread Craig Earls
I have seen that error recently as well. On Sun, Oct 21, 2012 at 2:04 AM, thierry thierry.dauco...@free.fr wrote: Well, I had not done any reconciliation since end of August. I just tried C-c C-r, entered Account, pressed Enter, and it fails with error 'progn: Wrong type argument: listp,

Print drops information (was: RESTful web service API to Ledger)

2012-10-21 Thread Eric
On Sat, 20 Oct 2012 08:51:12 -0700, John Wiegley jwieg...@gmail.com wrote: ... You can manipulate the data structures in Python, but you'd have to write the whole file back out with a print. However, this drops information. At the moment this is no way to perform an information-preserving

payee field, accouting customs?

2012-10-21 Thread Jeroen De Vlieger
I'm strugling a bit with the content of the payee field of a transaction. I realize that ledger doesn't really impose anything in this respect, which is nice because one can do whatever one wants (assuming that one knows what he wants :-s ) but not so nice if one isn't sure about how to proceed

Re: payee field, accouting customs?

2012-10-21 Thread Johann Klähn
I use the payee field to specify the payee (or ATM, Transfer) and use the note field (simple indented comment) to store notes. This way the output of ledger payees remains useful. On Oct 21, 2012 6:46 PM, Jeroen De Vlieger fly@gmail.com wrote: I'm strugling a bit with the content of the

Re: RESTful web service API to Ledger

2012-10-21 Thread Tim Crews
On Monday, June 4, 2012 1:25:37 AM UTC-7, John Wiegley wrote: Tim Crews t...@code-affinity.com javascript: writes: I've been thinking of the role of the APIs (both REST and Python) ... snip Just so everyone knows, Tim and Simon and I discussed these ideas on Skype, and it sounds

Re: payee field, accouting customs?

2012-10-21 Thread Jeroen De Vlieger
On Sun, Oct 21, 2012 at 7:08 PM, Johann Klähn kljoh...@gmail.com wrote: I use the payee field to specify the payee (or ATM, Transfer) and use the note field (simple indented comment) to store notes. This way the output of ledger payees remains useful. thx for the input Johann :-) Seeing

Re: payee field, accouting customs?

2012-10-21 Thread Martin Michlmayr
* Jeroen De Vlieger fly@gmail.com [2012-10-21 09:46]: Do you use it to give a general free form description of what the transaction is about? That's what I do since I want to see a description of the transaction with ledger reg. -- Martin Michlmayr http://www.cyrius.com/

Re: Reconciling with EMACS

2012-10-21 Thread thierry
I switched back to old ledger.el. Reconciliation does work as expected. On Sunday, October 21, 2012 11:04:24 AM UTC+2, thierry wrote: Well, I had not done any reconciliation since end of August. I just tried C-c C-r, entered Account, pressed Enter, and it fails with error 'progn: Wrong type

Re: payee field, accouting customs?

2012-10-21 Thread Johann Klähn
Using ledger --payee note reg, ledger will use the note field instead of the payee, if available. So it is possible to get both types of output using case 1. But feel free to structure your ledger file as you see fit! After all that's the joy of using ledger. On Oct 21, 2012 8:25 PM, Martin

Re: Reconciling with EMACS

2012-10-21 Thread John Wiegley
thierry thierry.dauco...@free.fr writes: I switched back to old ledger.el. Reconciliation does work as expected. OK, this is a bug then which should be a P1, since I want the new ledger-mode to replace the old one in that release. John

Last entry in a file misread if not followed by whitespace

2012-10-21 Thread ed
The last lines of my data file look like this (the intent is to maintain a carried forward contingency in a virtual account) 21/11 CF (CF)£56 If I have no line feed at the end so that the file data is 21/11 CF (CF)£56EOF then the transaction is read as £5. If I have a

Re: payee field, accouting customs?

2012-10-21 Thread Jeroen De Vlieger
On Sun, Oct 21, 2012 at 9:00 PM, Johann Klähn kljoh...@gmail.com wrote: Using ledger --payee note reg, ledger will use the note field instead of the payee, if available. So it is possible to get both types of output using case 1. Thx I didn't yet know about the --payee note option. I'm

Re: Last entry in a file misread if not followed by whitespace

2012-10-21 Thread John Wiegley
ed ed.temp...@gmail.com writes: The last lines of my data file look like this (the intent is to maintain a carried forward contingency in a virtual account) 21/11 CF (CF)£56 If I have no line feed at the end so that the file data is 21/11 CF (CF)£56EOF then

Re: Print drops information (was: RESTful web service API to Ledger)

2012-10-21 Thread Craig Earls
Print has never preserved comments that appear outside of transactions. Nor does it preserve file level commands On Sun, Oct 21, 2012 at 5:09 AM, Eric e...@deptj.eu wrote: So when did it start dropping information and why? What information does it drop? Eric -- ms fnd in a lbry --

Re: Reconciling with EMACS

2012-10-21 Thread Craig Earls
I really need to figure out what is wrong with my setup. It doesn't work on the old ledger either, which is clearly a local problem. On Sun, Oct 21, 2012 at 12:07 PM, John Wiegley jo...@newartisans.comwrote: thierry thierry.dauco...@free.fr writes: I switched back to old ledger.el.

Re: Print drops information (was: RESTful web service API to Ledger)

2012-10-21 Thread Eric
On Sun, 21 Oct 2012 13:42:18 -0700, Craig Earls ender...@gmail.com wrote: On Sun, Oct 21, 2012 at 5:09 AM, Eric e...@deptj.eu wrote: So when did it start dropping information and why? What information does it drop? Print has never preserved comments that appear outside of transactions. Nor

Re: Print drops information (was: RESTful web service API to Ledger)

2012-10-21 Thread Craig Earls
It also doesn't reproduce virtual transactions. On Sun, Oct 21, 2012 at 2:09 PM, Eric e...@deptj.eu wrote: On Sun, 21 Oct 2012 13:42:18 -0700, Craig Earls ender...@gmail.com wrote: On Sun, Oct 21, 2012 at 5:09 AM, Eric e...@deptj.eu wrote: So when did it start dropping information and

Re: payee field, accouting customs?

2012-10-21 Thread Jeroen De Vlieger
On Sun, Oct 21, 2012 at 9:53 PM, Jeroen De Vlieger fly@gmail.comwrote: On Sun, Oct 21, 2012 at 9:00 PM, Johann Klähn kljoh...@gmail.com wrote: Using ledger --payee note reg, ledger will use the note field instead of the payee, if available. So it is possible to get both types of output

Re: ANN: hledger 0.19

2012-10-21 Thread John Wiegley
Simon Michael si...@joyful.com writes: * hledger, hledger-lib: support GHC 7.6 and latest cmdargs, haskeline, split I tried installing a standalone hledger with cabal-dev install -j, using the cabal-install 1.16 and GHC 7.6.1, and it dies with the following. Any clues? John

Re: payee field, accouting customs?

2012-10-21 Thread Craig Earls
It is NOT in the documentation yet, I don't think it has been there for long. The best documentation is the source code. I AM catching up though. On Sun, Oct 21, 2012 at 4:05 PM, Jeroen De Vlieger fly@gmail.comwrote: On Sun, Oct 21, 2012 at 9:53 PM, Jeroen De Vlieger

Re: RESTful web service API to Ledger

2012-10-21 Thread shofetim
On Sunday, October 21, 2012 11:18:30 AM UTC-6, Tim Crews wrote I must apologize for launching all of these idea bombs four months ago and then abruptly disappearing from the ledger community. Just after I posted all of this stuff in late May, I was really excited about implementing

Re: ANN: hledger 0.19

2012-10-21 Thread John Wiegley
Simon Michael si...@joyful.com writes: Hey John, thanks for trying. I haven't depended on testpack for a long time. It's possible, but unlikely, that one of my dependencies does. I don't know what wrinkles cabal-dev adds to the mix. This should give more insight: cabal update cabal install

Re: Last entry in a file misread if not followed by whitespace

2012-10-21 Thread Craig Earls
I was testing this to enter it into Bugzilla, but I cannot duplicate it. On Sun, Oct 21, 2012 at 1:16 PM, John Wiegley jo...@newartisans.com wrote: ed ed.temp...@gmail.com writes: The last lines of my data file look like this (the intent is to maintain a carried forward contingency in