Commit graph

89 commits

Author SHA1 Message Date
Craig Earls
e0b02afd60 Implemented different sorting function on the reconcile buffer.
C-c C-a for amount
C-c C-p for payee
C-c C-d for date
2013-06-03 17:14:19 -07:00
Craig Earls
cb6f4b9890 Fix bug 967, Windows rearranging after reconcile save. 2013-06-03 15:31:10 -07:00
Craig Earls
5c462273d9 Resolve bug 957 update reconcile buffer when saving ledger buffer 2013-05-23 21:05:34 -07:00
Craig Earls
971bcf22f4 Bug 951, handle thousand separators.
Rewrote handling for decimal comma to be much simpler.  Why can't I see the simple way first?
2013-04-13 21:55:06 -07:00
Craig Earls
33c046d068 Added quick balance check to ledger-mode 2013-04-08 10:35:55 -07:00
Craig Earls
4df990014f Fixed reconciliation initialization. Now prompts with only account, not status and amount
Moved context function to leg-context, from leg-report. Cleaned up many regex in ldg-context.
2013-04-06 23:13:49 -07:00
Craig Earls
2e78e61be7 Regex Cleanup 2013-04-04 12:35:20 -07:00
Craig Earls
519e57ca1f Consolidated all major regexes into ldg-regex. Only major exception are the regex in ledger context at point. 2013-04-02 23:13:23 -07:00
Craig Earls
62996f9366 Make 'return' visit source in reports, make Visit Source the entry in reconcile mode. 2013-04-01 10:15:48 -07:00
Craig Earls
862a83e792 add --collapse to reconcile balance calculation 2013-03-25 14:05:29 -04:00
Craig Earls
e5525130c0 Improve complete-all and reconcile saving 2013-03-25 13:35:59 -04:00
Craig Earls
d3fe4c666f Lots of code cleanup. (if () (progn …) ==> (when () …) all over the place 2013-03-25 01:21:19 -04:00
Craig Earls
0bcef93e29 Bug 915 maintain point in buffer when saved. 2013-03-23 20:22:40 -07:00
Craig Earls
f855d7e745 Finish bug 929 got rid of all references to folding, use narrowing instead. 2013-03-23 20:09:07 -07:00
Craig Earls
1366e04f11 Merge pull request #168 from vanicat/t/clean-no-fail
Don't fail cleaning after reconcile when some buffer have been killed
2013-03-23 14:15:46 -07:00
Craig Earls
9284600a54 Fix bug 915, maintain post in ledger buffer after save during reconciliation. 2013-03-22 21:23:27 -07:00
Rémi Vanicat
b73e650e5f Don't fail cleaning after reconcile when some buffer have been killed
If buffer in leger-buf has been killed, ledger-reconcile-quit-cleanup
will fail with an error. Better to do nothing.
2013-03-21 23:28:14 +01:00
Craig Earls
5b7186ee1f Ensure the ledger but tracks the reconcile buffer after a save. 2013-03-18 15:22:41 -07:00
Craig Earls
431d7e5b25 Fix bug 915 Save in reconcile mode maintains point. 2013-03-17 20:01:58 -07:00
Craig Earls
b1c2c49709 Fix bug 917 C-Begin C-End don't keep buffer synced 2013-03-17 19:56:02 -07:00
Craig Earls
f89665ba44 Reconcile code cleanup 2013-03-14 11:37:12 -07:00
Craig Earls
b608ed23e4 Reconcile skips asking for target if there are no uncleared xacts. 2013-03-13 11:27:51 -07:00
Craig Earls
027c03858d More reconcile restructuring. 2013-03-13 10:57:43 -07:00
Craig Earls
c85f397edc Cleaned up ledger-reconcile, easier to read, fewer lines of code. 2013-03-13 10:20:21 -07:00
Craig Earls
bfe360d4c9 Reconcile date configuration is pulled from ledgerrc 2013-03-08 19:33:16 -05:00
Craig Earls
8f4b0e8962 Added Ledger error handling. No more lisp backtraces! 2013-03-08 00:08:25 -05:00
Craig Earls
b475e569c4 Made account formatting and auto complete compatible. 2013-03-07 15:28:09 -05:00
Craig Earls
27d27ecb6c Account auto formatting now works with tab completion 2013-03-06 21:13:06 -05:00
Craig Earls
1eba7c6cdf Code formatting cleanup. 2013-03-06 14:36:31 -05:00
Craig Earls
efce6c8936 Add acct under point to reconcile prompt. Fix reconcile balance display of empty accounts 2013-03-04 09:36:34 -07:00
Craig Earls
497d668778 Clean up the reconcile balance display code 2013-03-01 23:29:31 -07:00
Craig Earls
3a0182d8d7 Ensure reconcile balance display can handle empty accounts. Also force balance display at the beginning of reconciliation. 2013-03-01 09:37:33 -07:00
Craig Earls
42911df9f5 Restructured customization groups. Completed initial draft of ledger-mode documentation 2013-02-27 17:27:52 -07:00
Craig Earls
510a7c4e6c Position point at beginning of line on posting being reconciled. 2013-02-21 15:31:58 -07:00
Craig Earls
d638f8300f bug-905, inadvertently used an aquamacs function. 2013-02-21 14:59:32 -07:00
Craig Earls
2fd1574cf2 Prevent point from being at the end of line when ledger-reconcile-toggle is called 2013-02-21 06:43:00 -07:00
Craig Earls
a4e76727be Put in more nil window protection. 2013-02-20 21:16:05 -07:00
Craig Earls
8029fd1149 Run ledger-highlight-xact-under-point when reconcile quits, so only one xact is highlighted 2013-02-20 20:46:38 -07:00
Craig Earls
988a41c3a4 Make ledger-reconcile a little cleaner.
The recon buffer is filled before asking for target, so there isn't a blank window showing while asking for target.
2013-02-20 14:00:46 -07:00
Craig Earls
cf39acfd8b Fix another null buffer problem when closing ledger buffers 2013-02-19 09:30:20 -07:00
Craig Earls
21cdc04ab3 Fixes Bug 900
If the buffer being reconciles was killed with the *Reconcile* buffer still
around their were dirty hooks left around that caused bug problems.
This fix adds a local kill-buffer hook that calls the ledger-quit routines
2013-02-18 08:45:24 -07:00
Craig Earls
2c69aa1ff5 A better try to deal with decimal-comma from ledger 2013-02-17 19:47:16 -07:00
Craig Earls
d37a369c12 Changed prompt for reconciliation target. 2013-02-15 12:43:56 -07:00
Craig Earls
8116ef4781 Oops. This adds missing parenthesis to the last commit. 2013-02-15 08:07:41 -07:00
Craig Earls
7f0693bcdc Improved error reporting 2013-02-15 06:14:33 -07:00
Craig Earls
089716fb13 Bug 894 Changing reconciliation account now repositions point in the Reconcile buffer correctly. 2013-02-14 19:38:42 -07:00
Craig Earls
d8f0b0fa83 Code commenting cleanup. 2013-02-14 15:37:13 -07:00
Craig Earls
30dc7e349d Fix to target change function in leg-reconcile
Took out the (interactive) statement and it needed to be there.
2013-02-14 10:05:53 -07:00
Craig Earls
d31913871f Added rudimentary target checking to reconcile. 2013-02-13 15:53:16 -07:00
Craig Earls
15d838d1f8 Bug 893 Ledger reconcile loses alignment
An earlier change to multi-file support stored the actual markers to the beginnings of the transaction/postings.
When reconcile would insert characters it would invalidate those marker and after many items and been
cleared could result in severe misalignment.  This change brings back storing the line-numbers as reported by emacs.
2013-02-13 13:23:04 -07:00