Commit graph

530 commits

Author SHA1 Message Date
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
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
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
6853aa6726 Don't bomb out if the occur reggae has no matches. 2014-12-03 20:40:12 -07: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
Craig Earls
3988de14bb Cleaned up commodities and completion code. 2014-11-30 19:47:14 -07: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
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
a3f3aa304f Smash a bug that cause the status on a posting with no amount to bleed into the next line. 2014-11-11 19:54:43 -07:00
Craig Earls
e54d7392bf Add 1 to the end of region for single line directives. This will force the layout to show across the entire buffer. 2014-11-09 10:02:03 -07:00
Craig Earls
2ef1c09210 Handle block comments as blocks rather than individual lines. 2014-11-09 09:50:22 -07:00
Craig Earls
8a87fd1310 Fix navigate bug keeping prev-xact key binding from working. 2014-11-09 09:05:13 -07:00
Craig Earls
6f3dad2024 Detect the beginning of periodic transactions properly. 2014-11-07 18:56:11 -07:00
Craig Earls
1bd67755fa Improve finding boundaries of elements for fontification. Also added P for price directives. 2014-11-07 18:19:57 -07:00
Craig Earls
a66001382c Force reconcile to use scrubbed values incase you are reconciling an account with lot values. 2014-10-10 22:02:44 -07:00
Craig Earls
61dd6bf663 Fix comment detection logic for fortification. 2014-09-28 20:45:13 -07:00
Craig Earls
a28c32b081 Allow any printable character in account names. 2014-09-28 19:48:55 -07:00
Craig Earls
59613845e7 Make ledger-fontify-xact-state-overrides nil by default 2014-09-22 22:27:44 -07:00
Craig Earls
2c5b8e9ce9 Merge commit 'b58a872fba7909371d47bc2eb8468e5ba82cfac0' 2014-09-22 22:18:25 -07:00
Craig Earls
d3b9938edf Add fontify.el and navigate.el to CMakeLists.txt 2014-09-22 22:18:10 -07:00
Johann Klähn
b58a872fba lisp/CMakeLists.txt: add missing files 2014-09-22 23:31:23 +02:00
Craig Earls
3144ca87f4 Add ability to edit report command temporarily 2014-09-18 19:56:34 -07:00
Craig Earls
61c3c19cf7 Merge pull request #325 from sykora/master
Add face definition for `ledger-font-payee-pending-face'.

Ooops.  Missed that.  thank you!
2014-09-18 07:27:03 -07:00
Craig Earls
2cb5c09033 Improve ledger occur region search 2014-09-17 21:43:14 -07:00