Commit graph

37 commits

Author SHA1 Message Date
John Wiegley
e9ea090035 (ledger-do-reconcile): Only allow toggling of reconcilation entries
that are found in the "main" ledger file (for now).
2008-04-13 02:41:11 -04:00
John Wiegley
0fdc3d67b6 (ledger-do-reconcile): If no output at all is generated by the "emacs"
command, do not trigger a Lisp error.
2008-04-13 02:41:09 -04:00
John Wiegley
0bd520e5d7 (write_entry): Added filename to Emacs output, in preperation for
multi-file support.
2008-04-13 02:41:07 -04:00
John Wiegley
3e8c04e5e1 Added missing `require' for eshell. 2008-04-13 02:41:06 -04:00
John Wiegley
1b30e1c5ad (ledger-auto-reconcile): Added a note to the auto-reconcile prompt, to
remind people to use a negative amount for a liability.
2008-04-13 02:41:05 -04:00
John Wiegley
e846d22fcf Made several changes to the behavior of the reconciler: 1) Hitting
space marks entries as pending; use C-c C-c when you have achieved the
proper cleared balance, and all of the "pending" entries will be
marked clear and saved; 2) Using C-x C-s in the ledger data buffer
will refresh the currently open reconcile buffer; 3) C-l in the
reconcile buffer will now refresh the view (in case you wish to
refresh changes made in the ledger data buffer without saving that
buffer).
2008-04-13 02:41:05 -04:00
John Wiegley
5c25fc413c *** empty log message *** 2008-04-13 02:41:04 -04:00
John Wiegley
6a5465588e (ledger-add-entry): Use Eshell to do argument parsing, since that's
the easiest way to tell if '1 "2 3" 4' contains three arguments or
four.
2008-04-13 02:41:04 -04:00
John Wiegley
06c0e4707a (ledger-auto-reconcile): If auto-reconciling fails, report an error in
the minibuffer.
2008-04-13 02:41:03 -04:00
John Wiegley
ff48992067 *** empty log message *** 2008-04-13 02:40:59 -04:00
John Wiegley
b831ee1832 (ledger-reconcile-save): Call `save-buffer', instead of trying to
write the file directly.
2008-04-13 02:40:59 -04:00
John Wiegley
80492683e5 (ledger-do-reconcile): Fixed a marker problem that was causing entries
to not be reconciled.
2008-04-13 02:40:58 -04:00
John Wiegley
ce6bf5353a *** empty log message *** 2008-04-13 02:40:58 -04:00
John Wiegley
a874bc851e *** empty log message *** 2008-04-13 02:40:57 -04:00
John Wiegley
69abac7512 Added "a" and "d" commands to *Reconcile* mode. 2008-04-13 02:40:57 -04:00
John Wiegley
e961ce5f6a (ledger-reconcile): Added back the feature that C-u C-c C-r will
assume that an auto-reconcile is to be attempted.
2008-04-13 02:40:57 -04:00
John Wiegley
d516c64bec Updated the Emacs interface to use the ledger executable more fully
(it doesn't do its own parsing anymore, for example).  Many things
should be faster, and things should work for users of earlier Emacsen.
2008-04-13 02:40:56 -04:00
John Wiegley
c240ec23fa (ledger-reconcile): If a prefix argument is passed to C-c C-r
(ledger-reconcile), then it will attempt to use the auto-reconciler to
pre-mark the uncleared transactions.  Note that if it fails, and the
uncleared list is long, it might appear to hang.  It's far from
fool-proof, but when it does work, it's like magic!
2008-04-13 02:40:56 -04:00
John Wiegley
4eac6dc9d6 Fix to the reconcile function, for the case when there are spaces in
an account name.
2008-04-13 02:40:55 -04:00
John Wiegley
e4b5af061e Changed the reconciling feature so that it doesn't need to ask for the
"number of days".
2008-04-13 02:40:51 -04:00
John Wiegley
d142018bcd Added code for setting the default year/month given in the prompt to
C-c C-a.  This is helpful for people with lots of receipts in a past
month.
2008-04-13 02:40:49 -04:00
John Wiegley
1db60b12e2 updated to 2.02 2008-04-13 02:40:48 -04:00
John Wiegley
c9fb11bd60 updated to version 2.0 2008-04-13 02:40:47 -04:00
John Wiegley
a32173ace6 changes 2008-04-13 02:40:47 -04:00
John Wiegley
c57bfb72c3 moved entry hooking mechanism to journal_t; further improvements to "entry" 2004-09-23 21:08:42 -04:00
John Wiegley
ac000a67c4 fixed two memory corruption bugs 2004-08-25 21:02:07 -04:00
John Wiegley
eebd06c371 added a better commentary (at least for now) 2004-08-23 08:01:55 -04:00
John Wiegley
abae9138e9 added missing files 2004-07-29 17:25:28 -04:00
John Wiegley
161d6f79bd initial rev of 2.0 2004-07-26 23:33:51 -04:00
John Wiegley
9ca1d24d30 initial import into Darcs 2004-05-13 18:37:12 -04:00
John Wiegley
83b7a0ea9c Several small fixes. 2004-04-08 23:14:53 +00:00
John Wiegley
42a1c03968 *** empty log message *** 2004-04-04 23:59:20 +00:00
John Wiegley
f672024e06 *** empty log message *** 2004-04-04 11:26:32 +00:00
John Wiegley
c68b502156 *** empty log message *** 2004-04-04 11:09:59 +00:00
John Wiegley
47eebe8d73 Reconcile mode is now working. 2004-04-04 08:08:59 +00:00
John Wiegley
8c5b124e99 changes 2003-10-29 07:47:41 +00:00
John Wiegley
0d29133f8a *** empty log message *** 2003-10-13 06:55:15 +00:00