Commit graph

83 commits

Author SHA1 Message Date
Craig Earls
e3b37ac19e Lisp code cleanup.
Mostly went through and clarified variable names.  Rather than "entry" for everything, use "transaction" and "posting" as appropriate to improve readability.
2013-02-12 10:35:27 -07:00
Craig Earls
36a00113d9 Bug 879 cannot reconcile two ledger buffers 2013-02-11 16:26:41 -07:00
Craig Earls
d243f00b91 Bug 878 Cannot reconcile two posting with the same account in one xact 2013-02-11 12:49:51 -07:00
Craig Earls
fa1702d684 Bug 886 Cannot unclear transaction on last line reconciliation buffer 2013-02-11 11:12:50 -07:00
Craig Earls
e245e41d6b Bug 887. Remove folding if the reconcile buffer is killed
This ensure adequate cleanup if the reconciliation buffer is killed vice quit from.
2013-02-11 10:50:13 -07:00
Craig Earls
e757b969ef fixe minor error in merge from vanicat 2013-02-10 09:47:56 -07:00
Craig Earls
96bae11502 Merge pull request #154 from vanicat/t/kill-reconcile
Take care to not delete some random buffer when exiting reconcile
2013-02-10 07:38:52 -08:00
Craig Earls
6fce572806 ledger-mode now highlights the xact under point.
This can be configured with ledger-highlight-xact-under-point and ledger-font-highlight-face
2013-02-09 21:03:58 -07:00
Craig Earls
114be62d24 Correct error that prevented clearing postings if ledger--clear-whole-entires was nil 2013-02-09 17:47:09 -07:00
Rémi Vanicat
69efea6c54 Take care to not delete some random buffer when exiting reconcile 2013-02-09 19:29:04 +01:00
Rémi Vanicat
0f83f779a6 On move event, save excursion before calling ledger-reconcile-visit
Otherwise, ledger-reconcile-visit might undo last move
2013-02-09 15:19:02 +01:00
Craig Earls
73f8c10d8e More reconcile-visit bug squashing. 2013-02-08 23:42:52 -07:00
Craig Earls
73f336ae7c Improved the visit function. Made the window position configurable. Removed after-save hook on quit 2013-02-08 22:49:39 -07:00
Craig Earls
5f67cfbec7 Added ability to have ledger buffer track the xact under point in recon window
controllable using  ledger-buffer-tracks-reconcile-buffer
2013-02-08 17:16:12 -07:00
Craig Earls
e3be9686e4 Added vanicat's multii file extensions.
There was a strange interact with some more recent parts of the code that exposed bugs I hadn't seen before.
2013-02-08 17:02:58 -07:00
Craig Earls
8f214f3830 Revert "Merge pull request #147 from vanicat/t/where-are-transaction"
This reverts commit 9a411e898a, reversing
changes made to bdf404112e.
2013-02-08 15:24:00 -07:00
Rémi Vanicat
e304cdfdbb After reconciling, save all buffer that need to be saved. 2013-02-08 21:17:08 +01:00
Rémi Vanicat
0b63dc0f84 In ledger-reconcile-get-buffer, return the stored buffer 2013-02-08 21:16:03 +01:00
Rémi Vanicat
21968b1e12 In ledger-reconcile, open file where transaction are, and store it. 2013-02-08 21:15:48 +01:00
Rémi Vanicat
3b44a9fd2a In ledger-reconcile, use a function to get where the transaction is. 2013-02-08 21:14:15 +01:00
Craig Earls
869c40c070 Reconcile visit now recanters on the xact selected 2013-02-07 10:16:31 -07:00
Craig Earls
e3431c4bff reconcile mode windowing improvements
* reconcile mode now places its window at the bottom of the ledger window it was called form and minimizes its height to the size of the recon buffer.
* It all specifically informs the user if there are no uncleared items.
* When reconcile mode is entered it sets the ledger-occur mode and scrolls the bottom of the visible buffer to the bottom of the ledger window ensuring transactions are visible.
2013-02-07 09:12:44 -07:00
Craig Earls
71de1e6cdc Enh 246 add code folding to ledger mode
Based on loccur.  Hides everything but the xacts that match a regex.  Linked to reconcile mode so that when you reconcile an account on xacts with that account are shown.  Documentation updated
2013-02-05 11:07:36 -07:00
Craig Earls
cf76c25599 If there is no XACT code print blank, not "nil" 2013-02-02 09:15:03 -07:00
Craig Earls
edd82b2639 Add custom faces to the reconciler 2013-02-01 11:39:48 -07:00
Craig Earls
0e16ce75f0 Add ability to reconcile new account without switching recon buffers
Show cleared balance on command
Update documentation
2013-01-30 21:50:23 -07:00
Craig Earls
eff1472337 Added GPL licensing information to lisp files 2013-01-29 13:57:22 -07:00
Craig Earls
426e105651 Fixed the new ledger mod so that loading leg-new.el is sufficient
The reconcile package and the xact package didn't provide themselves, and the leg-new
module didn't load up everything it needed.
2013-01-29 12:16:47 -07:00
Craig Earls
0bbff75f43 fixes the reconcile mode, adds menus for all modes
thanks to dk for the is-std defun.
2013-01-29 08:50:50 -07:00
John Wiegley
24b791ad07 Apply patch to update ldg-reconcile.el 2013-01-16 17:50:31 -06:00
John Wiegley
dea2aed0b5 Untabified all source files 2010-06-11 17:02:25 -04:00
John Wiegley
056994497e Some more refactoring of the new Lisp code 2010-04-12 23:10:07 -04:00
John Wiegley
bd8e6686f2 Broke up the old ledger.el into several submodules 2010-04-12 22:32:12 -04:00