Commit graph

26 commits

Author SHA1 Message Date
Craig Earls
19be97c246 commodities cleanup 2013-04-15 08:14:54 -07:00
Craig Earls
971bcf22f4 Bug 951, handle thousand separators.
Rewrote handling for decimal comma to be much simpler.  Why can't I see the simple way first?
2013-04-13 21:55:06 -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
eed1d8e53e ledger-read-commodity-string now calls ledger-split-commodity-string 2013-04-01 20:48:00 -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
c8c94e9602 Handle quoted commodities in ledger-split-commodity-string 2013-03-26 13:55:31 -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
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
045c4b19eb Added checking for thousands separators in commodity split. 2013-03-20 22:20:00 -07:00
Craig Earls
efce6c8936 Add acct under point to reconcile prompt. Fix reconcile balance display of empty accounts 2013-03-04 09:36:34 -07:00
Craig Earls
3a0182d8d7 Ensure reconcile balance display can handle empty accounts. Also force balance display at the beginning of reconciliation. 2013-03-01 09:37:33 -07:00
Craig Earls
42911df9f5 Restructured customization groups. Completed initial draft of ledger-mode documentation 2013-02-27 17:27:52 -07:00
Craig Earls
1e3c795935 Update date regex to handles dashes and slashes 2013-02-27 10:07:03 -07:00
Craig Earls
821847b018 Ensure that commodities using decimal period, have comma separators removed for string-to-number. 2013-02-26 10:42:30 -07:00
Craig Earls
4cb2779464 ledger-mode now automatically loads and parses the init file.
Currently only pays attention to decimal-comma
2013-02-23 17:53:55 -07:00
Craig Earls
c68bdde19f Another buglet in the commodity handler. 2013-02-21 21:39:30 -07:00
Craig Earls
023e245e9b Another attempt to deal with decimal-comma 2013-02-21 14:35:29 -07:00
Craig Earls
4ebd17efb3 Better way of splitting the commodity from the value.
Should allow no spaces between commodities and values.
2013-02-19 16:44:53 -07:00
Craig Earls
2c69aa1ff5 A better try to deal with decimal-comma from ledger 2013-02-17 19:47:16 -07:00
Craig Earls
d37a369c12 Changed prompt for reconciliation target. 2013-02-15 12:43:56 -07:00
Craig Earls
7f0693bcdc Improved error reporting 2013-02-15 06:14:33 -07:00
Craig Earls
d8f0b0fa83 Code commenting cleanup. 2013-02-14 15:37:13 -07:00
Craig Earls
d31913871f Added rudimentary target checking to reconcile. 2013-02-13 15:53:16 -07:00