Hi Craig and all,

I am happy that there has been some recent improvement on ledger lisp mode.
Nevertheless those changes are not yet mature, and I opened some bugs 
(around 10) about that. I believe that they will be fixed sooner or later. 
The more annoying to me is that ledger-mode steals C-c C-v key-binding from 
standard Emacs. Could the key-binding being made customizable so that 
standard Emacs way of working is restored?

Now, why do I use ledger lisp mode?
1. syntax highlighting
2. reconciliation of accounts


1. syntax highlighting
The new color were not appealing to me (taste may vary), but hopefully they 
have been made customizable, and I share my color palette that I copied 
from solarized <http://ethanschoonover.com/solarized> color theme:
 '(ledger-font-cleared-face ((t (:foreground "#657b83"))))
 '(ledger-font-comment-face ((t (:foreground "#93a1a1" :slant italic))))
 '(ledger-font-highlight-face ((t (:background "#eee8d5"))))
 '(ledger-font-pending-face ((t (:foreground "#cb4b16"))))
 '(ledger-font-posting-account-face ((t (:foreground "#268bd2"))))
 '(ledger-font-reconciler-cleared-face ((t (:foreground "#657b83"))))
 '(ledger-font-reconciler-pending-face ((t (:foreground "#cb4b16"))))
 '(ledger-font-reconciler-uncleared-face ((t (:foreground "#dc322f" :weight 
bold))))
 '(ledger-font-uncleared-face ((t (:foreground "#dc322f" :weight bold))))
 '(ledger-occur-xact-face ((t (:background "white"))))


2. reconciliation of accounts
There is a breakage that appeared in this new ledger reconcile mode. This 
is the breakage reported by John Rakestraw as C-c C-c not working anymore. 
But for me this is not just a key-binding that does not work any more, this 
is my method, my way of working of reconciling that is now broken.
Let me explain:
In ledger there is three characters to mark a transaction : '"", "!", "*", 
respectively for uncleared, pending, cleared. 
In the *OLD* ledger.el reconcile mode, in the *reconcile* buffer when a 
posting was marked, it was moved from uncleared to pending state, that is 
"!" character. Then using ledger-reconcile-finish (that is C-c C-c 
key-binding) all postings in *reconcile* buffer where moved from pending 
state to cleared. Why is this so useful for me? The reconciliation process 
is very long for me (because I have many sources: credit card tickets, 
first checkbook, second checkbook, work credit card that is debited on my 
account, transfer without tickets, etc...) , this is often more than one 
hour, and this is very difficult to get one hour uninterrupted. So when in 
*reconcile* buffer, the mark to "pending" state reminds me, when I am back 
from interruption, that I was in a process of reconciliation, and I know 
where to restart, and also, I reconcile in no particular order, moving to 
pending postings spread all over my file.
In the *NEW* ldg-reconcile mode, just before the interruption, I save my 
file. Yes I do want to save my file in case electricity micro-cut or any 
other issue. If I save, then I am now forced to go to cleared state. This 
is not what I want, because I loose where I stopped reconciliating. The 
*NEW* ldg-reconcile mode has suppressed the "!" pending state and also, 
removed the ledger-reconcile-finish function by merging it into 
ledger-reconcile-save. 

My concern is that you wrote in answer to John R : "As far as the 
transaction reconciliation behavior you are seeing, that is as intended."
I would like here to argue to go back to the old way of working of 
reconciliation. The new mode is not usable for me, and I will stay in old 
mode if this way of working is kept. Hopefully ledger.el legacy is still 
around. But again, I am happy from last improvements, I believe in the new 
ldg-mode, I spent time reporting bugs to improve it, I believe it will be 
better in the long run. I only use ledger Emacs mode for syntax 
highlighting and reconciliation, and the breakage on the latter is too big 
for me.

Is there a way to customize : like having the two way of working, the old 
(with "!" pending state) and the new (without pending state) ?

Thanks
Best regards,
Thierry

Le dimanche 10 février 2013 01:48:31 UTC+1, Craig Earls a écrit :
>
> This has been resolved.  If ledger-clear-whole-entries is nil then 
> reconcile mode will clear the posting, not the entire xact. 
>
> On Sat, Feb 9, 2013 at 10:54 AM, John Rakestraw 
> <[email protected]<javascript:>> 
> wrote: 
> > Hi, Craig -- 
> > 
> > 
> > On Saturday, February 9, 2013 11:31:48 AM UTC-5, Craig Earls wrote: 
> >> 
> >> Thanks John, 
> >>   I can't reproduce the save error you are seeing.  I will keep trying. 
> > 
> > 
> > Thanks. Let me know if I can provide additional information. 
> > 
> >> 
> >> As far as the transaction reconciliation behavior you are seeing, that 
> >> is as intended.  I will see if I can make it configurable to clear 
> >> only the posting from the reconcile window.  C-c C-c inthe ledger 
> >> buffer still clears only the posting you are on...  In my mind I clear 
> >> the entire transaction (especially if their are only two postings, in 
> >> your example why wouldn't also clear the expenses posting?). 
> > 
> > 
> > Suppose I have two accounts and I'm transferring money from one account 
> to 
> > the other. I reconcile each of these accounts when I get the monthly 
> > statement. But one account cycle goes from the 1st of the month to the 
> 1st, 
> > while the other goes from the 15th to the 15th. I'll mark one side 
> cleared 
> > when I'm reconciling that account on the 1st, but I want the other 
> posting 
> > to show as unreconciled when I'm reconciling that account on the 15th. 
> > 
> > Another use -- I use my credit card to spend money that's to be 
> reimbursed 
> > by the university. I'll reconcile the credit card side of that 
> transaction 
> > when I pay my credit card bill, but I don't want to reconcile the other 
> side 
> > of the transaction until I'm reimbursed by the university -- that's how 
> I 
> > track whether I've been reimbursed. 
> > 
> > Those are my two use cases. Maybe there's another way to do what I'm 
> doing? 
> > 
> > Thanks again -- 
> > 
> > John 
> > 
> > -- 
> > 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Ledger" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>
>
>
> -- 
> Craig, Corona De Tucson, AZ 
> enderw88.wordpress.com 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to