Thanks Alan, I actually rarely use the 'a' function because of exactly why you are criticizing. I am not particularly fond of ledgers xact command. I find it to be a bit too 'fuzzy' and it finds transactions to copy that I didn't really mean. If I need to add a transaction while reconciling I just switch to the ledger buffer and add the transaction, when you save the file the recon window will be updated.
Let me look into you date format issue, I use iso dates as well and do not have that problems. On Mon, Mar 17, 2014 at 6:23 AM, Alan Schmitt <alan.schm...@polytechnique.org> wrote: > Craig Earls <ender...@gmail.com> writes: > >> Ahh...using 'a' from the reconcile windows puts you into the mini >> buffer! Add the date the payee and the amount and it will match to >> something similar in the main file. > > I see, I did not know I could put additional information when inputting > the date in the mini-buffer. > > I have a small issue with it: when I use additional information, the > dates are not formatted correctly (they use '/' instead of '-'). I have > customized 'ledger-use-iso-dates' to 't' and set > 'ledger-default-date-format' to "%Y-%m-%d" (there is no customize > interface for the latter by the way). Looking a bit at the code, I see > that adding a transaction this way calls the 'xact' command of ledger. > However I don't see how to add an option (such as "-y %Y-%m-%d") to > the call to the binary. I ended up using the ".ledgerrc" init file to > get the correct format. > > It would also be quite useful to have an optional additional parameter > when adding the transaction, positioned to the account being reconciled. > This way one would be able to omit it and the transaction's account > would be correctly set (when playing with it, I had a couple cases > where a transaction matched, but with an account different from the one > being reconciled, so the added transaction would not appear in the > narrowed buffer). Unfortunately I don't know enough emacs-lisp to add an > optional argument to a function called through "call-interactively". > > Thanks, > > Alan > > -- > > --- > 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 ledger-cli+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.