Commit graph

4795 commits

Author SHA1 Message Date
Craig Earls
5165b19d07 Rewrote align-postings again to improve handling of long account-names. It now leaves exactly 2 space between the commodity and the account if the amount would have stomped on the account. 2013-04-05 23:18:24 -07:00
Craig Earls
a373f9f4e5 other font cleanup 2013-04-05 12:24:54 -07:00
Craig Earls
35febddf3f Fixed ledger-font-other line. Thanks Thierry! 2013-04-05 10:50:31 -07:00
Craig Earls
2e78e61be7 Regex Cleanup 2013-04-04 12:35:20 -07:00
Craig Earls
650361a6d3 Fix ledger-complete-entry for stale regex 2013-04-04 12:34:59 -07:00
Craig Earls
2547894586 Fix next-account so that status markers can be manually entered into a buffer when auto alignment is on. 2013-04-04 12:34:16 -07:00
Craig Earls
063b027fbb Fixed bug that caused ledger-mode interfere with other mode that used indent-region 2013-04-04 12:22:27 -07:00
Craig Earls
1a52899673 Fix copy-at-point and more regex consolidation and cleanup 2013-04-03 16:30:36 -07:00
Craig Earls
519e57ca1f Consolidated all major regexes into ldg-regex. Only major exception are the regex in ledger context at point. 2013-04-02 23:13:23 -07:00
Craig Earls
86d0fd87c4 Fixes bug 904, failure to highly pending postings. Adds two new faces for pending and cleared posting. 2013-04-02 14:20:29 -07:00
Craig Earls
70bbc81299 Initial chapter on time-keeping in ledger3.texi 2013-04-02 11:11:20 -07:00
Craig Earls
eed1d8e53e ledger-read-commodity-string now calls ledger-split-commodity-string 2013-04-01 20:48:00 -07:00
Craig Earls
78bedf7c8e Bring back comments into account completion. 2013-04-01 16:34:30 -07:00
Craig Earls
024697c4fc Fix Bug 941, ensure two spaces are left between account and amount 2013-04-01 16:32:45 -07:00
Craig Earls
4adcad6b2c Prevent sort-buffer from calling all the after-change hooks 2013-04-01 12:37:02 -07:00
Craig Earls
62996f9366 Make 'return' visit source in reports, make Visit Source the entry in reconcile mode. 2013-04-01 10:15:48 -07:00
Craig Earls
9fc1f512b5 Merge commit 'b5612122ae712e3a924662fa1407c46daca6c85f' into next
Conflicts:
	lisp/ldg-exec.el
2013-03-31 19:18:40 -07:00
Craig Earls
f015d00fa5 corrected error output 2013-03-31 19:15:10 -07:00
Craig Earls
b5612122ae Merge pull request #169 from vanicat/t/warnings
Removing some warning when compiling ledger-mode
2013-03-31 19:12:06 -07:00
Rémi Vanicat
c9f9199203 Use (fit-window-to-buffer) for error reporting. 2013-03-31 21:16:39 +02:00
Craig Earls
7bad618693 Oops, forgot a # 2013-03-31 09:54:28 -07:00
Craig Earls
e3c6ebf97f Correct a solarize face 2013-03-31 09:19:10 -07:00
Rémi Vanicat
efed5eb4bf Removing some warning when compiling ledger.
* ldg-commodities.el: use #' instead of ' for function quoting
 * ldg-exec.el: remove the fit-frame function that don't exists and do
   not use toggle-read-only to make the buffer read-only
 * ldg-report.el: use forward-line instead of next-line
2013-03-30 17:40:25 +01:00
Craig Earls
69c0927772 Fix bug 937 maintain sort order of xact on the same actual date. 2013-03-30 07:30:40 -07:00
Craig Earls
7fea9d21fb Align post speed improvements after adding the long account name handling. 2013-03-27 20:02:11 -07:00
Craig Earls
4ca0e8916b Fix bug 935, very long account names can get stomped on.
This works, but hammers performance
2013-03-27 15:37:52 -07:00
Craig Earls
ad07d28427 Bug 936 Fixes ledger-add-transaction.
Symptom was no empty line after xact, real problem was not putting ledger output into the temp buffer.
2013-03-27 16:35:43 -04:00
Craig Earls
5418e77c63 Better end testing for align-postings 2013-03-26 23:50:14 -04:00
Craig Earls
5b1778b3ca More speed improvements for align-postings. 2013-03-26 19:34:37 -04:00
Craig Earls
c8c94e9602 Handle quoted commodities in ledger-split-commodity-string 2013-03-26 13:55:31 -04:00
Craig Earls
f1882d0a56 Major speed improvements to ledger-post-align-postings
Got rid of markers.  Use inhibit-modification-hook to suppress any other buffer stuff happening.

Got giant-buffer down to around 3.5 seconds with full modifications.
2013-03-26 02:33:05 -04:00
Craig Earls
fec1c179e3 Do not include xact level comments in account list for auto completion. 2013-03-26 00:35:38 -04:00
Craig Earls
b947bae1a8 Fix align-postings to deal with being at end of buffer 2013-03-25 23:50:26 -04:00
Craig Earls
bc7a885eb7 Speed improvement to align-postings.
In some cases align-posting was getting called twice
2013-03-25 21:19:17 -04:00
Craig Earls
48266d1107 Fix bug 928 Refix slow indent-region behavior.
Need to bing ledger-post-align-postings to indent-region-function, not indent-line-function, others it tries to align the entire region once for every line in the region.
2013-03-25 18:48:28 -04:00
Craig Earls
862a83e792 add --collapse to reconcile balance calculation 2013-03-25 14:05:29 -04:00
Craig Earls
e5525130c0 Improve complete-all and reconcile saving 2013-03-25 13:35:59 -04:00
Craig Earls
d3fe4c666f Lots of code cleanup. (if () (progn …) ==> (when () …) all over the place 2013-03-25 01:21:19 -04:00
Craig Earls
cc62e6a886 Code cleanup in ldg-exec and ledger-split-commodity 2013-03-25 00:04:43 -04:00
Craig Earls
15efb41aba Make complete play nice with auto alignment 2013-03-24 23:26:23 -04:00
Craig Earls
e8a2ebb699 Insert Effective Date to xact 2013-03-24 18:12:44 -04:00
Craig Earls
6a753e155e Fix ledger-split-commodities to handle integer balances 2013-03-24 17:23:50 -04:00
Craig Earls
0d0e996e07 Improve ledger-split-commodities to handle multi character commodities. 2013-03-24 17:20:36 -04:00
Craig Earls
9079ae8a69 Clean up ldg-post.el 2013-03-24 15:58:21 -04:00
Craig Earls
59e8967d06 Fix bug 923 2013-03-24 14:06:41 -04:00
Craig Earls
5797623fd7 Second rewrite of ledger-post-align-postings. Will probably perfect with the NEXT rewrite. 2013-03-24 13:57:03 -04:00
Craig Earls
6ff330911d Fixed Align Region menu entry 2013-03-24 04:46:35 -07:00
Craig Earls
53778317cb More armor plating on ledger-post-align-postings 2013-03-23 21:51:27 -07:00
Craig Earls
0bcef93e29 Bug 915 maintain point in buffer when saved. 2013-03-23 20:22:40 -07:00
Craig Earls
f855d7e745 Finish bug 929 got rid of all references to folding, use narrowing instead. 2013-03-23 20:09:07 -07:00