Steve Purcell
01c91130d7
[emacs] Parse transaction leading lines more robustly
...
This began with noticing that the code didn't support the (ugly, yet
valid) case of a tab between the date and txn description. I took the
opportunity to make the regexes more consistent along the way.
2014-12-09 16:26:51 +00:00
Steve Purcell
b623306591
[emacs] Use markers instead of raw positions to make cleaning work better
...
Sometimes cleaning a buffer would leave the end of the buffer uncleaned,
because the end position would be moved along the way. This commit makes
the corresponding code use markers instead, which track the changes in
the buffer, and therefore ensure that the entire buffer is acted upon.
2014-12-09 15:11:44 +00:00
Steve Purcell
c8dd5d4a0a
[emacs] When the first line is a txn, include it in ledger-sort-buffer
...
Without this fix, ledger-sort-region tends to skip the first
transaction when sorting a region or the entire buffer.
2014-12-09 14:40:39 +00:00
Steve Purcell
7a0b004f9d
Use font-lock-preprocessor-face as the basis for directive faces
2014-12-09 12:48:19 +00:00
Craig Earls
9a857fc4fb
Merge pull request #338 from happyalu/patch-1
...
ledger-regex: Indian Rupee Symbol
Thank you!
2014-12-07 20:35:32 -07:00
Alok Parlikar
eeb120f5e4
ledger-regex: Indian Rupee Symbol
...
Added the ₹ symbol to ledger-amount-regex
2014-12-07 21:42:31 -05:00
Craig Earls
2f0dcec10e
Make sure there is alive window to switch back to when quitting reconcile buffer
2014-12-07 12:15:15 -07:00
Craig Earls
dedc6c7061
ooops.
2014-12-06 17:39:53 -07:00
Craig Earls
b5fa7d2443
Add tangle expansion and correct menu entry for edit report.
2014-12-06 17:28:03 -07:00
Craig Earls
336ff52be2
Updated documentation to reflect recent changes to scheduling and answer some clarifying questions,
2014-12-06 17:26:58 -07:00
Craig Earls
8848834d7d
Merge commit '30df70ab1b02a05b4fc1198c932c4536dd480ef1'
2014-12-05 21:31:21 -07:00
Craig Earls
a5d4d780dc
Make reconcile more robust to empty or bad account entries at the prompt.
2014-12-05 21:30:29 -07:00
Steve Purcell
30df70ab1b
Don't hard-code ledger-font-default-face to black
2014-12-05 16:22:55 +00:00
Craig Earls
3d179c4213
Merge branch 'master' of https://github.com/ledger/ledger
2014-12-05 07:01:02 -07:00
Craig Earls
df88ee6189
Tweak ledger-clean-up to attempt to find the exact you were at when you ordered the clean.
2014-12-05 06:59:57 -07:00
Steve Purcell
def0a8421d
Inherit standard font lock faces where appropriate
2014-12-05 09:41:00 +00:00
Craig Earls
bb38cda880
Adjust navigate-find-end-of-act so that it will sort empty act.
...
This is a bit pathological but as it turns out the fix makes all sorting a bit faster.
2014-12-04 19:47:43 -07:00
Craig Earls
b3f8f943d3
Merge commit 'a65815607ff9648cd27d00de5551f5caad12314f'
2014-12-03 20:41:02 -07:00
Craig Earls
6853aa6726
Don't bomb out if the occur reggae has no matches.
2014-12-03 20:40:12 -07:00
Martin Michlmayr
a65815607f
Merge pull request #337 from afh/pull/DocTest
...
Fix DocTests running in non-standard width terminal
2014-12-03 17:20:00 -05:00
Alexis Hildebrandt
936c3f0434
Fix DocTests running in non-standard width terminal
...
The changes introduced with
56976a127c make --columns default to
terminal width, as returned by ioctl()
break the DocTests when run in a terminal with a width different
from the standard of 80 columns.
2014-12-03 22:14:49 +01:00
Craig Earls
f238d993fb
Fix change I accidentally committed when trying to fix reconcile in frames.
2014-12-02 18:45:04 -07:00
Craig Earls
f981ec7884
Another fonitification fix. and clean up a stray reference to function removed.
2014-12-02 18:06:41 -07:00
Craig Earls
eba603293b
Adjust payee line fortification.
2014-12-02 06:30:41 -07:00
Craig Earls
c844170aed
Doc string cleanup.
2014-12-01 20:18:11 -07:00
Craig Earls
66d2e4fecd
Doc string cleanup.
2014-12-01 20:07:46 -07:00
Craig Earls
438aaf251c
Fix effective date command.
2014-12-01 20:07:32 -07:00
Craig Earls
8f9c46d42b
Merge branch 'master' into ledger-mode-code-cleanup
2014-12-01 19:31:56 -07:00
Craig Earls
07324cb6b2
Simplifies parsing of the beginning of an act. This allows fontifying effective dates.
2014-12-01 19:30:10 -07:00
John Wiegley
a953fe6cbc
Merge pull request #336 from csrhodes/master
...
support date as well as datetime in Balance.value()
2014-12-01 15:09:48 -06:00
Christophe Rhodes
3e1f6670fc
support date as well as datetime in Balance.value()
...
cargo-cut'n'paste from py_amount.cc
2014-12-01 21:03:23 +00:00
Martin Michlmayr
a32913d7ac
Merge pull request #333 from afh/pull/DocTests
...
Fix and re-enable DocTests
2014-12-01 14:42:38 -05:00
Craig Earls
3988de14bb
Cleaned up commodities and completion code.
2014-11-30 19:47:14 -07:00
Steve Purcell
4ee5329955
Merge pull request #334 from afh/pull/svg_build_status
...
Change Travis CI build status icon fromat to SVG
2014-11-29 10:46:37 +00:00
Alexis Hildebrandt
53177d573a
Change Travis CI build status icon fromat to SVG
2014-11-29 11:42:11 +01:00
Alexis Hildebrandt
31ccb6d368
Fix and re-enable DocTests
2014-11-29 09:06:14 +01:00
Craig Earls
a6d8599688
Merge pull request #331 from rnkn/patch-1
...
Fixes xact having higher priority than region
2014-11-27 10:15:12 -07:00
Craig Earls
9e166cbd36
Merge branch 'prefix-s-trim-functions' into schedule-compiler-improvements
2014-11-27 09:43:17 -07:00
Craig Earls
54a736feab
Remove s-trim functions since they stomp on s.el.
2014-11-27 09:42:23 -07:00
Paul Rankin
430ce2df42
Fixes act having higher priority than region
2014-11-27 21:23:05 +10:00
Craig Earls
f398e01c80
Handle count day of month, i.e. third Thursday is */*/3Th, every Thursday is */*/0Th
2014-11-26 15:56:49 -07:00
Craig Earls
06bdf1d18a
Minor code cleanup
2014-11-26 15:47:55 -07:00
Craig Earls
2f698269f4
Handle base-date + integer * day of week. i.e. 2014/11/27+2Th for every other Thursday start 2014/11/27
2014-11-26 15:40:24 -07:00
Craig Earls
8a826d9815
Handle E and O for months and comma separate list of numbers for months and days.
2014-11-26 12:15:38 -07:00
Craig Earls
db7e4fd741
Fix minor navigation bugs. Prev and next act now properly handle directives and empty lines
2014-11-15 21:36:34 -07:00
John Wiegley
4dbc822f90
Merge pull request #330 from eliptus/feature/embedded-python
...
Improve Embedded Python Support
2014-11-15 17:38:37 -06:00
Craig Earls
312b7ffa72
Fix a bug the caused reconciliation to lock up in an automatic transaction was followed immediately with a virtual transaction on the same account.
...
This was related to the navigation changes push a while back.
2014-11-14 17:22:04 -07:00
Craig Earls
bd9fde2a40
Merge pull request #328 from listx/master
...
doc: ledger-mode: load lazily
Thanks. This should work fine.
2014-11-13 06:25:12 -07:00
ELIPTUS
af571c1047
Improve Embedded Python Support
...
Discussion:
https://groups.google.com/d/msg/ledger-cli/kq9sKoRX9vw/fmyhvPslzokJ
2014-11-12 22:51:56 -08:00
Linus Arver
33d58a69f9
doc: ledger-mode: load lazily
...
If we use `(load "ledger-mode")`, we always load ledger-mode,
even if we are not editing a Ledger file; using `autoload`, we avoid
this and only load ledger-mode when we need it.
2014-11-12 21:17:22 -08:00