Commit graph

459 commits

Author SHA1 Message Date
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
Craig Earls
2906a2f759 Merge commit '62bdb2f13a31449ca6f439ee121162647c39855e' 2014-04-24 06:53:04 -07:00
Christophe Rhodes
e2d3e02b0d fix ledger-iso-date-regex, abusing its name slightly
the year field in dates is sort-of optional, given "year" or "Y"
directives.  Make the date regex understand this.  (This has been lightly
tested with C-c C-a, but the rest of the uses of ledger-iso-date-regex
have only been eyeballed, not properly audited or tested)
2014-04-23 17:45:42 +01:00
Christophe Rhodes
ad4eac43a9 add "year" handling to ledger-iterate-regex 2014-04-23 17:45:41 +01:00
Christophe Rhodes
9c3535823a improve C-c C-a (ledger-xact-insert-transaction) behaviour
When the right place to add a transaction is after all existing
transactions, add it just after the last transaction rather than at the
end of the buffer.  (Otherwise the transactions get added after Local
Variables blocks and any other endmatter.)
2014-04-23 17:07:23 +01:00
Craig Earls
3112851e97 Merge commit 'b9078dc93ffdb526efd0a859a73cc3076108f6b2' 2014-03-25 18:56:32 -07:00
Jamie Nguyen
33ce4a76a1 Update old FSF address 2014-03-23 23:42:21 +00:00
Vincent Bernat
cdeed89dbd lisp: use more legible colors on dark backgrounds
On dark backgrounds, the color for the current transaction makes the
text quite unreadable. Let's use a darker color in this case. Maybe some
other colors could be adjusted.
2014-03-23 02:09:49 +01:00
Craig Earls
bb8e000d5b Make reconcile window refresh xact locations after a delete operation 2014-02-24 14:16:46 -07:00
Marcin Borkowski
b1cfeb0015 Add option ledger-complete-ignore-case
and change ledger-pcomplete accordingly
2014-02-03 22:52:08 +01:00
Alexis Hildebrandt
2b9208e850 Bump copyright information to 2014 2014-02-02 12:36:22 +01:00