Commit graph

5540 commits

Author SHA1 Message Date
Craig Earls
0c8055a528 Finished configurable reconcile format line. 2014-07-03 21:49:48 -07:00
Craig Earls
86a191e6b9 Merge pull request #307 from redstreet/master
Updated out of date value expression section in the documentation.
2014-07-03 19:13:58 -07:00
Redstreet
c5980f7491 Fix to 90519fc6e132bd (moved paragraph to end of section). 2014-07-03 14:42:54 -07:00
Redstreet
ba10ebbe73 Updated out of date value expression section in the documentation. 2014-07-03 14:24:39 -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
Martin Michlmayr
746ca1fe6d Unify debugging categories
Debugging categories follow the filename, which in this case is singular
(rather than plural) "account" and "amount".
2014-07-01 14:14:23 -04:00
Craig Earls
1c6e7f410b Fix bug 1051 ledger-posting-amount-face doesn't work 2014-06-30 20:40:28 -07:00
Martin Michlmayr
e7ed889872 Add regression test for commit de17ccf1
Add regression test for commit de17ccf1 (" When a status flag (! or *) is
explicitly specified for an individual…")
2014-06-30 19:41:38 -04:00
Martin Michlmayr
8838b468df Format commands properly 2014-06-30 19:19:49 -04:00
Martin Michlmayr
cbdcf27605 Typo fix 2014-06-30 19:16:20 -04:00
Martin Michlmayr
b1a6d2ce16 Document --values 2014-06-30 19:15:35 -04:00
Martin Michlmayr
3bf82068b4 Document --unrealized 2014-06-30 19:10:36 -04:00
John Wiegley
2634013884 Merge pull request #306 from maxsatula/status-behavior
Status (cleared/pending/uncleared) processing behavior
2014-06-30 11:15:06 -08:00
Max Satula
de17ccf1f4 When a status flag (! or *) is explicitly specified for an individual posting, it always has a priority over entire transaction status. 2014-06-30 13:39:22 -04: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
db73e7af9e Fix Bug 1057: Emacs output does not escape special characters. 2014-06-26 20:52:50 -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
Craig Earls
3b20d9a11f Merge pull request #304 from thdox/save-in-reconcile-buffer
Restore C-x C-s keyboard shortcut in reconcile buffer
2014-06-22 08:27:23 -07:00
Martin Michlmayr
d95d517f9c Merge pull request #302 from thdox/bash-completion
Add latest contributed options to bash completion
2014-06-22 10:41:39 -04:00
thdox
ecbf5a0ba3 Restore --raw that I erroneously deleted 2014-06-22 16:17:59 +02:00
Martin Michlmayr
bffca0d7cc Merge pull request #303 from thdox/fix-typo-documentation
Fix minor typo
2014-06-22 10:12:36 -04: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
thdox
b9781d3156 Fix minor typo 2014-06-22 15:49:21 +02:00
thdox
98243ab086 Add latest contributed options to bash completion 2014-06-22 15:35:21 +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
John Wiegley
3bfd8e71a2 Bump version numbers everywhere to 3.0.3 2014-06-08 06:42:29 -05:00
Martin Michlmayr
365781433c Fix minor formatting issue 2014-06-06 17:06:32 -04:00
Martin Michlmayr
f32fced494 Improve consistency regarding options
Use --exchange for both cases to avoid confusion for those who don't
know that --exchange and -X are the same.
2014-06-06 17:00:02 -04:00
Martin Michlmayr
23902686a3 Don't lose commodity when cost is not separated by whitespace
When a cost was specified without a whitespace after the @ symbol,
as in @$5.01, this was incorrectly parsed as 5.01 (losing the
commodity) rather than $5.01.

Bug fix for #1050
2014-06-05 19:46:22 -04:00
Martin Michlmayr
f577dc4edc Merge pull request #300 from jacknagel/patch-2
acprep: remove dead code
2014-06-05 19:10:05 -04:00
Jack Nagel
b19761ff19 acprep: remove dead code
This isn't used anywhere since 4681e58d7f.
2014-06-05 16:34:10 -05:00
Craig Earls
a0a995a011 Merge pull request #299 from bkuhn/document-exchange-option-with-colon
Document --exchange COMMODITY1:COMMODITY2 syntax.

Thanks!
2014-06-05 05:45:14 -07:00
Bradley M. Kuhn
bb59564b79 Document --exchange COMMODITY1:COMMODITY2 syntax.
It appears this syntax does indeed work as described in this change, but the
feature was not previously documented herein.
2014-06-05 08:17:47 -04:00
Martin Michlmayr
a5ffcc42ff Improve backwards compatibility with ledger2
This brings some single character format strings in line with what
they actually meant in ledger2.

Bug fix for #755
2014-05-30 23:52:36 -04:00
Martin Michlmayr
53b8aa8802 Remove character that wasn't displayed in ledger2 2014-05-30 23:17:03 -04:00
Martin Michlmayr
7eeb2e2e18 Recognize --cleared-format option
Bug fix for #747
2014-05-30 22:14:48 -04:00
Martin Michlmayr
dfcbbd169e Fix query string for select account
A wrong query string was generated by "select account": one ansify_if()
too much was listed and justify() was called with the wrong parameters.

Bug fix for #744
2014-05-30 22:01:08 -04:00
Martin Michlmayr
b2b84f35b4 Move the debug statement to where it makes more sense
It's possible to just say "select account" without a "from", so
put the debug statement at the end of the block where the variable
"formatter" is filled with the query string.
2014-05-30 22:00:16 -04:00
Martin Michlmayr
b534ee80a3 Handle POST_COST_VIRTUAL in print
Bug fix for #1046
2014-05-30 20:23:59 -04:00
Martin Michlmayr
fafd7c1346 Check whether a month is followed by a year
Bug fix for #375
2014-05-30 18:27:22 -04:00
Martin Michlmayr
b6b6a98d0d Update line numbers 2014-05-26 18:31:59 -04:00
Martin Michlmayr
c55f8c1ef1 Add test case to test for invalid option embedded in journal 2014-05-26 18:30:16 -04:00
Martin Michlmayr
235c770d4a Fix typo in filename 2014-05-26 18:26:55 -04:00