Reconciling with EMACS

65 views
Skip to first unread message

Craig Earls

unread,
Oct 20, 2012, 2:18:04 AM10/20/12
to ledge...@googlegroups.com
I can't avoid it anymore.  I need to document the EMACS reconciliation mode, but I have NEVER been able to get it to do anything sensible. Including with the latest version of the EMACS mode.  Can someone please tell me exactly what they do to make it work?  Whenever I try it, I just get an empty buffer.  Clearly I am doing something wrong.

--
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

thierry

unread,
Oct 20, 2012, 5:24:15 PM10/20/12
to ledge...@googlegroups.com
With old ledger.el, reconciliation works for me.
With new ldg-new.el, in current elisp code, the reconciliating function is empty (no code), so buffer can only be empty. See bug #807 and its patch. With this patch applied, it works for me.

What I do is:
- C-c C-r, then provide "Account", and press Enter
- in reconciliation buffer, I press space to mark transaction. Line becomes bold in reconciliation buffer, and clear status "!" is applied to transaction in ledger file.
- When finished reconcialiating, I do C-c C-c in reconciliation buffer. Then all bold lines disappear from reconciliation buffer, and clear status "*" is applied to transactions in ledger file.

Thierry

Samuel Tardieu

unread,
Oct 20, 2012, 5:29:38 PM10/20/12
to ledge...@googlegroups.com


2012/10/20 thierry <thierry....@free.fr>


- in reconciliation buffer, I press space to mark transaction. Line becomes bold in reconciliation buffer, and clear status "!" is applied to transaction in ledger file.

That doesn't work with custom date formats. I have " --date-format %Y-%m-%d" in my ~/.ledgerrc and it looks like it won't find the transaction when toggling state.

thierry

unread,
Oct 20, 2012, 6:01:14 PM10/20/12
to ledge...@googlegroups.com
On Saturday, October 20, 2012 11:29:56 PM UTC+2, Samuel Tardieu wrote:
That doesn't work with custom date formats. I have " --date-format %Y-%m-%d" in my ~/.ledgerrc and it looks like it won't find the transaction when toggling state.

I am using %Y/%m/%d format (no customization in .ledgerrc or via command line option)

Craig Earls

unread,
Oct 20, 2012, 6:15:29 PM10/20/12
to ledge...@googlegroups.com
Thanks Thierry,
Well that is what I have always tried.  My date format is yyyy/mm/dd

I have never had anything show up in the reconciliation window. 

Sigh...

thierry

unread,
Oct 21, 2012, 5:04:24 AM10/21/12
to ledge...@googlegroups.com
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?

Craig Earls

unread,
Oct 21, 2012, 7:30:19 AM10/21/12
to ledge...@googlegroups.com
I have seen that error recently as well.

thierry

unread,
Oct 21, 2012, 2:41:16 PM10/21/12
to ledge...@googlegroups.com
I switched back to old ledger.el. Reconciliation does work as expected.

John Wiegley

unread,
Oct 21, 2012, 3:07:19 PM10/21/12
to ledge...@googlegroups.com
>>>>> thierry <thierry....@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

Craig Earls

unread,
Oct 21, 2012, 4:44:53 PM10/21/12
to ledge...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages