Commit graph

469 commits

Author SHA1 Message Date
Craig Earls
0f9212071a Added some missing faces for xact amounts. 2014-09-10 07:11:09 -07:00
Craig Earls
ad87ab16e4 New fortification is working.
Code pruned.
2014-09-08 20:36:11 -07:00
Craig Earls
57e2ec55eb Seems to be working. I wasn't ensuring I caught all the xacts in a region specified by hit lock.
Now I need to prune code
2014-09-08 20:31:45 -07:00
Craig Earls
77e77f39dc Solved the fight between jit-lock. But for some reason it isn't calling it for all regions in the buffer. 2014-09-05 21:59:23 -07:00
Craig Earls
991d162fb0 jit-lock is now calling ledger-fontify-buffer-part, but font-lock-fontify-region is still being called and fighting with it. 2014-09-05 21:45:36 -07:00
Craig Earls
e2c07931ed Merge branch 'master' into new-fontification-scheme 2014-09-05 20:49:53 -07:00
Craig Earls
7b993ccc17 Fix bough 1075, ledger-mode report do not refresh using key commands 2014-09-05 20:24:18 -07:00
Craig Earls
fec5ecb4f3 meh. Still chugging along. 2014-09-05 20:12:03 -07:00
Craig Earls
d3d5c333f5 improved xact iteration so fontify-whole-buffer doesn't miss xact separated by more than a single empty line 2014-09-04 22:31:34 -07:00
Craig Earls
91fc39c68d not much progress here. 2014-09-04 20:41:51 -07:00
Craig Earls
dd3fd0e9de no message 2014-08-26 20:10:51 -07:00
Craig Earls
403ca4f1a5 Not working well, try something else on new-fontification-scheme-2 2014-08-26 18:33:41 -07:00
Craig Earls
4a003b5828 fontifying xact starts and postings.
initial testing looks better than previous font-lock methods.  Need run time and performance testing.
2014-08-24 21:38:29 -07:00
Craig Earls
4deaeb02c9 Set up fontification independent of font-lock.
Basic functionality in place.  need to test further and expand detail fortification.
2014-08-24 18:37:24 -07:00
Craig Earls
39089a4882 Improve ledger-report-redo buffer type checking. 2014-07-29 18:12:07 -07:00
Craig Earls
03de326eff For ledger-post-align-postings to run on xacts added with ledger-add 2014-07-15 20:44:32 -07:00
Craig Earls
511b17a21f Make the reconcile balance status message more clear. 2014-07-13 10:37:38 -07:00
Craig Earls
9c664ca3db make leder-mode-dump-configuration interactive 2014-07-13 09:30:20 -07:00
Craig Earls
eb96044647 Added ledger-report-auto-refresh customization variable. 2014-07-12 22:38:31 -07:00
Craig Earls
2f9240ae00 Improve report redo logic. 2014-07-12 22:32:59 -07:00
Craig Earls
4606bb293d ledger-redo added as after-save-hook 2014-07-12 21:50:28 -07:00
Craig Earls
fc2700daa9 Merge branch 'master' into ledger-mode-bug-1063-auto-refresh-reports 2014-07-12 21:35:55 -07:00
Craig Earls
19adbf0400 Code cleanup 2014-07-12 21:34:35 -07:00
Mark Oteiza
66e7d3d00c ledger-fonts.el: untabify 2014-07-12 04:57:20 -04:00
Mark Oteiza
36526417d3 use inherits for related faces that are the same 2014-07-12 04:41:23 -04:00
Rémi Vanicat
4a71dc05e6 ledger-reconcile.el: don't use flatten
The flatten function is not part of Emacs, so better not use it.
2014-07-09 14:34:46 +02:00
Craig Earls
0c8055a528 Finished configurable reconcile format line. 2014-07-03 21:49:48 -07:00
Craig Earls
fad7e307e7 ledger-reconcile-compile-format-string returns a lambda that is used to format the posting data 2014-07-02 20:50:47 -07:00
Craig Earls
ad31fb580a Refactor code to pull posting format into separate defun. Added reconcile buffer header and line configuration defcustom. 2014-07-02 02:48:08 -07:00
Craig Earls
1c6e7f410b Fix bug 1051 ledger-posting-amount-face doesn't work 2014-06-30 20:40:28 -07:00
Craig Earls
add716f776 ledger reconcile will recommend the account in the posting, even if point isn't in it. 2014-06-29 19:44:02 -07:00
Craig Earls
838625f8a3 ensures that account with spaces in the names are correctly rested by ledger-context 2014-06-29 19:40:20 -07:00
Craig Earls
2d9cdc6bc8 context was not handling decimal-comma properly. 2014-06-29 11:00:33 -07:00
Craig Earls
0b8e79ec8b ledger-reconcile clean byte-compile 2014-06-28 14:04:57 -07:00
Craig Earls
9f0873564e ledger-complete clean byte compile 2014-06-28 13:55:55 -07:00
Craig Earls
3a2eb94bef Fix bug 1052 ledger-mode mangles transactions with tabs. 2014-06-25 20:50:07 -07:00
Craig Earls
10bdcbb876 Merge pull request #301 from csrhodes/master
don't add a space when completing.

Sorry it took so long.  Somehow I got it in my mind that this was a bug report and I just didm;t have time to look.
2014-06-25 20:04:02 -07:00
Craig Earls
8afc183730 Fix bug 1059, ledger mode deletes character if a posting is cleared but there are less that four space between the account and the amount. 2014-06-24 20:48:20 -07:00
thdox
5cccadd070 Was introduced with commit 73f336a, which removed a functionality from
ledger.el old ledger mode.  I maintain a branch locally to always
restore C-x C-s keyboard shortcut that is so deeply inside my Emacs
muscle memory. I propose to restore this definitely.
2014-06-22 16:08:00 +02:00
Christophe Rhodes
2ef54854dc don't add a space when completing
completing payees with ledger-magic-tab would add a space when
there was only one possible completion.  That space, in ledger's
file format, would always need to be deleted again

it might be helpful when completing accounts to add two spaces, but
the current completion code organization can't (easily) distinguish
between payee and account completion.  Adding one space is harmful
to account completion too, in that `ledger-account.*regex' parse
accounts by looking for two spaces, and treat an account name ending
with a single space before the newline as having the space as part
of the account name.
2014-06-13 19:49:03 +01:00
Craig Earls
b5908bf541 Fix bug 1040 Saving in reconcile buffer doesn't stay in reconcile buffer 2014-05-18 19:43:39 -07:00
Craig Earls
8e6cdcc1d1 Merge branch 'master' of https://github.com/ledger/ledger 2014-05-18 08:25:30 -07:00
Craig Earls
d82c1b4b55 Fix bug 1039. Where the ledger buffer was incorrectly shown in the same frame as the reconcile buffer after a save. 2014-05-18 08:15:18 -07:00
Craig Earls
4af2b97921 Merge pull request #297 from thdox/reconcile-sort-key
Fix #986 and improve documentation.  I don't like it, but if it will stop the complaint I will merge it.
2014-05-18 08:05:55 -07:00
Martin Michlmayr
2cee0fe23f Cosmetic change - format code consistently
Add a space between if and the opening bracket, between a closing
round bracket and the following opening curly bracket, etc.
2014-05-18 09:51:32 -04:00
thdox
5642eade57 Fix #986 and improve documentation. 2014-05-18 11:32:59 +02:00
thdox
d2db0f9102 Indent & untabify
M-x mark-whole-buffer
M-x indent-region
M-x mark-whole-buffer
M-x untabify
2014-05-17 16:52:06 +02:00
Craig Earls
d63d845f41 Fix bug 1030 improperly placing the stays mark if the Payee starts with a digit. 2014-05-11 08:48:42 -07:00
Craig Earls
20b915668f Merge commit 'dbfbf2bc893de3c44dcc08c33811bc274f647672' 2014-05-09 20:40:42 -07:00
Steve Purcell
9da91b8fae Refactor macros in ledger-context.el to byte compile cleanly 2014-05-09 21:11:01 +01:00