Commit graph

507 commits

Author SHA1 Message Date
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
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
Craig Earls
c7cd14500e Merge commit '7c18ba8d7c704595268616b740833c88e93b51f3' 2014-09-17 21:14:39 -07:00
Craig Earls
a7e85b65b0 Fix ledger-navigate-beginning-of-xact.
It failed it it was called with point on the first line of an xact
2014-09-17 21:14:01 -07:00
P.C. Shyamshankar
bcf96ae6a3 Add face definition for `ledger-font-payee-pending-face'.
Ledger fontifies payees on pending transactions using the aptly named
`ledger-font-payee-pending-face' face, despite that face not actually
being defined. This patch fixes that.
2014-09-17 19:48:34 -04:00
Carlos E. Garcia
5d6655c84f minor spelling fixes 2014-09-15 14:04:19 -04:00
Craig Earls
514cee9761 sort required a next xact function that ignores directives 2014-09-13 18:24:54 -07:00
Craig Earls
7846e7c17a All navigation functions moved to ledger-navigate.
Reduce several overlapping functions.
2014-09-13 18:20:03 -07:00
Craig Earls
84dc532b06 everything appears to work with no empty lines between xacts. 2014-09-13 17:11:40 -07:00
Craig Earls
20dd0b706a rewrote ledger-end-record in ledger-sort to get rid of next-paragraph 2014-09-13 12:38:40 -07:00
Craig Earls
03bace82bd Catch value expression in amount alignment code 2014-09-10 21:38:21 -07:00
Craig Earls
ec457f0ad7 Fix ledger-post-regex so that it would recognize integer amounts 2014-09-10 20:47:23 -07:00
Craig Earls
bfc925f52f Minor refactoring and code cleanup 2014-09-10 07:16:32 -07:00
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