Craig Earls
71d5d6078f
Make reverse-report SHIFT-R
2013-02-28 11:57:51 -07:00
Craig Earls
b5548661dc
Fixed data regexs so that dashes are properly handled in dates
2013-02-27 17:51:03 -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
1e3c795935
Update date regex to handles dashes and slashes
2013-02-27 10:07:03 -07:00
Craig Earls
5e0e7e0a97
Add reconcile menu entry and correct bug in report that failed on automatically generated xacts
2013-02-26 15:08:52 -07:00
Craig Earls
821847b018
Ensure that commodities using decimal period, have comma separators removed for string-to-number.
2013-02-26 10:42:30 -07:00
Craig Earls
260d05c8ae
Ledger-mode now automatically configures itself for --decimal-comma if that option is set in ~/.ledgerrc
2013-02-25 13:19:51 -07:00
Craig Earls
4cb2779464
ledger-mode now automatically loads and parses the init file.
...
Currently only pays attention to decimal-comma
2013-02-23 17:53:55 -07:00
Craig Earls
47ae01357b
Initial commit of environment handling
...
Reads and parses .ledgerc to an alist
2013-02-23 09:15:16 -07:00
Craig Earls
aa10b6ea5d
Cleanup dump variables
2013-02-22 21:00:41 -07:00
Craig Earls
fd2c6d87a2
Added ledger-mode-dump-variables to give me some instrumentation on users installs
2013-02-21 22:21:13 -07:00
Craig Earls
c68bdde19f
Another buglet in the commodity handler.
2013-02-21 21:39:30 -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
023e245e9b
Another attempt to deal with decimal-comma
2013-02-21 14:35:29 -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
f54c15bdf5
Bug 884. Highlight first line of file
2013-02-20 16:13:27 -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
4ebd17efb3
Better way of splitting the commodity from the value.
...
Should allow no spaces between commodities and values.
2013-02-19 16:44:53 -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
0357f92f81
Make sure ledger-fully-complete-entry copies the rest of the payee line
2013-02-16 08:56:25 -07:00
Craig Earls
d37a369c12
Changed prompt for reconciliation target.
2013-02-15 12:43:56 -07:00
Craig Earls
adfb03cac0
Fixed overrun when ledger report would expand argument and cmd would get short
2013-02-15 12:11:50 -07:00
Craig Earls
2a7d1c83dd
Corrects problem clearing a transaction
...
toggle-current in the payee line will override all posting statuses and clear or unclear the entire transaction.
2013-02-15 09:04:34 -07:00
Craig Earls
9d2b2e3ceb
Fixes Bug 897. toggle now works correctly if there are comment lines in the xact
2013-02-15 08:54:04 -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
6eb97a7c38
Added a copy transaction function to ledger-mode
2013-02-14 13:20:16 -07:00
Craig Earls
67201ee850
Add highlighting in the report window if the line is mapped to a file
2013-02-14 11:40:08 -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
1074dec8ad
Improved ledger-report visit source capabilities
2013-02-14 09:49:00 -07:00
Craig Earls
c031fa4943
Added menu entry for complete entry.
...
Refactored leg-complete to get rid of some side effect usage
2013-02-13 20:45:22 -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
Craig Earls
6315c60e43
Correct behavior of ledger report when entering a new report
...
ledger-report-save would fail if you entered a new report with a name. It wouldn't save the customization to the disk, and if you tried to save manually it would complain about an identical command.
2013-02-13 12:34:09 -07:00
Craig Earls
822970a7ae
Merge pull request #155 from vanicat/t/reconcile_and_windows
...
T/reconcile and windows
2013-02-13 09:03:58 -08:00
Craig Earls
db9ae7dd04
Fixes workflow for using toggle-pending with clear-whole-transactions
2013-02-13 09:36:44 -07:00
Rémi Vanicat
6967374801
Ensure that the reconcile buffer is shown when ledger-reconcile is called.
2013-02-13 17:09:14 +01:00
Rémi Vanicat
24a9e422eb
In ledger-do-reconcile, don't act on windows when reconcile hasn't one
...
Ledger-do-reconcile might be called indirectly (in the after-save-hook
for example) and one might not want this buffer she has buried to show
up again when she is saving another (even related) buffer.
2013-02-13 17:08:09 +01:00
Craig Earls
a13bcd4109
Bug 882 Calc mode doesn't play nice with decimal comma
...
Added a few lines to transform the amount to decimal period format before pushing it to calc.
2013-02-12 16:47:43 -07:00
Craig Earls
5eb322c0a2
Comment and code cleanup
2013-02-12 16:04:02 -07:00
Craig Earls
28659c58c3
Bug 892 re-enable pending mode and reconcile-finish
...
This should do it, and it should work across multiple files.
2013-02-12 15:11:36 -07:00
Craig Earls
316055ff86
More code cleanup
2013-02-12 10:39:07 -07:00
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