Simon Kaczor
3105f13a7b
Update CMakeLists.txt
...
renamed files from ldg to ledger. Don't compile ledger-context.el because it has a macro.
2013-08-21 09:29:40 -04:00
Craig Earls
46bf142b2a
Bug 986. Add file order to sorting options in the reconcile mode.
2013-08-20 09:51:11 -07:00
Gergely Risko
515ae05d6b
Change ledger-next-amount to be case-sensitive
...
Otherwise if there is an account that's name only has one part, the
regex can match it as a currency and as the beginning of an amount.
E.g. if we have the line "Expenses 45 USD", then the old
ledger-next-amount will jump to Expenses instead of to 45.
2013-07-12 01:17:40 +02:00
Gergely Risko
87da7ba3ab
Fix comment string
2013-07-09 16:41:55 +02:00
Craig Earls
64d6ec675d
Add ledger-mode-should-check-version to disable startup checks.
...
This is for users who are not using the official Ledger, say maybe hedger…
2013-07-03 13:57:56 -07:00
Craig Earls
63ba45dbaa
Finished changing name to ledger-*
...
All files and references changed ldg-* to ledger-*
2013-07-02 15:37:33 -07:00
Craig Earls
5b8817c8e8
Remove leg-new and made leg-mode the entry point.
2013-07-02 14:45:06 -07:00
Craig Earls
a6cb179d8a
Adjust subtraction to scale operands up, thereby avoiding the silly long results
2013-07-02 12:05:00 -07:00
Craig Earls
8da79a8967
Ensure target balance is actually parseable as a number
2013-07-01 11:01:47 -07:00
Craig Earls
52dd81ca9e
Added buffer cleanup and tweaked the reconcile quit routines.
2013-06-27 21:36:22 -07:00
Craig Earls
9d64d14fd3
Add buffer cleanup function.
2013-06-06 12:53:01 -07:00
Craig Earls
7540647f01
Dramatic improvements to account completion speeds.
2013-06-05 16:41:11 -07:00
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
c23c994b22
Fix Bug 966 Auto Indent conflicts with undo. Removed the auto-indent function and added an indent xact function
2013-06-03 16:39:36 -07:00
Craig Earls
cb6f4b9890
Fix bug 967, Windows rearranging after reconcile save.
2013-06-03 15:31:10 -07:00
Craig Earls
30fe6afebf
Completion improvements
2013-06-03 08:45:27 -07:00
Craig Earls
fda778f2c0
Fix bug 969, payee completing only works with plain alpha chars
2013-06-02 20:46:29 -07:00
Craig Earls
5c462273d9
Resolve bug 957 update reconcile buffer when saving ledger buffer
2013-05-23 21:05:34 -07:00
Albert Krewinkel
885bc6580c
Add option if dates should be iso-8601 by default
...
Allow users to choose between the default YYYY/MM/DD format and the
iso-standardized format YYYY-MM-DD.
2013-05-22 21:17:55 +02:00
Craig Earls
d97048cf42
Correction to ldg-context xact regex.
2013-05-21 23:42:19 -07:00
Craig Earls
a22ae04136
Prevent failure if ledger sort buffer is called with point before the ledger start marker.
2013-05-14 16:23:00 -07:00
Craig Earls
47142e5846
Fix ledger-find-slot so that it doesn't require transaction codes
2013-05-14 09:49:27 -07:00
Craig Earls
a7097c9e41
Fix Bug 962
2013-05-11 19:14:51 -07:00
Craig Earls
bb181c494a
Correct regex
2013-05-11 06:54:37 -07:00
Craig Earls
6539f1e1a9
Reverted changes to completion. Changes were "more correct" but performance on large buffer was too poor.
2013-05-10 13:25:24 -07:00
Craig Earls
60e606a651
Fix Bug 961, add ldg-context.el and ldg-schedule.el to CMakeLists.txt
2013-05-09 13:40:14 -07:00
Craig Earls
fdbae766c1
Implement more efficient completion algorithm. Thanks Thierry! Also remove multi-comment font-locking for performance reasons.
2013-05-06 11:28:35 -07:00
Craig Earls
6b10e2e909
Ensure ledger-mode display balance can handle zero balance accounts.
2013-05-06 09:04:04 -07:00
Craig Earls
3d531c08cd
Add stats to ledger mode
2013-05-01 13:56:09 -07:00
Craig Earls
f688b314d7
Merge pull request #178 from georgek/regex
...
Add highlighting for multiple line comments
2013-04-22 06:39:47 -07:00
Craig Earls
26fd5b26d8
Remove intangible property from occur overlays.
2013-04-22 06:13:11 -07:00
George Kettleborough
ebdff209ab
Add highlighting for multiple line comments
2013-04-21 14:14:08 +01:00
Craig Earls
1761e6a447
Sort buffer now attempts to keep point at the same xact.
2013-04-18 18:30:27 -07:00
Craig Earls
524ec0b614
Merge pull request #176 from georgek/regex
...
OK, lets try again. Thanks for working on this!
2013-04-16 08:58:12 -07:00
George Kettleborough
03b3ef5f0b
Make union of regexps at compile time
2013-04-16 16:45:01 +01:00
George Kettleborough
a052898b60
Fix payees and accounts matching to themselves
...
This would sometimes cause a double tab to be necessary for completion,
although did also provide an accidental "feature" that repeated tabs would
cycle all the way back to the original input
2013-04-16 16:12:30 +01:00
George Kettleborough
2c07d4152a
Fix completion on payees
2013-04-15 21:42:20 +01:00
George Kettleborough
db4731d8a9
Clean up payee regexes
2013-04-15 21:41:02 +01:00
Craig Earls
19be97c246
commodities cleanup
2013-04-15 08:14:54 -07:00
David Keegan
a04b8a8fdb
Function name mismatch causes revert error.
2013-04-14 12:26:38 +01: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
George Kettleborough
e604fe5cbb
Allow completion on accounts and metadata
2013-04-13 21:57:03 +01:00
George Kettleborough
902d0f41ef
Add regex for metadata
2013-04-13 21:56:17 +01:00
George Kettleborough
6396fe2bd7
Fix comment regex to include all line comment types
2013-04-11 10:50:38 +01:00
George Kettleborough
90d2750988
Stop account regexes matching comments
2013-04-11 10:50:18 +01:00
Craig Earls
15e84cbb18
More regex fine tuning
2013-04-10 15:48:39 -07:00
Craig Earls
9b5289c3e9
More regex finetuning in context
2013-04-10 15:01:42 -07:00
Craig Earls
345f4a977e
Refactoring and style.
2013-04-10 13:48:52 -07:00
Craig Earls
1286bdeda0
even better context regex generation
2013-04-10 06:33:46 -07:00
Craig Earls
dde09ef1a1
Regex cleanup in ldg-context
2013-04-09 21:22:11 -07:00