Commit graph

23 commits

Author SHA1 Message Date
Craig Earls
7fe1506ea1 code cleanup 2013-02-08 17:20:56 -07:00
Craig Earls
29f409ce72 Added ability to add xact with date only.
ledger-add-entry now checks to see if more than the date was given at the prompt. If there is only a date it inserts the dat at the correct place in the ledger and puts the point at the end of the line for entering transaction details
2013-02-07 22:40:57 -07:00
Craig Earls
4d7c492939 Lisp code cleanup
Most of the files have been touched several times and the indentation structure
was wrong.  I ran all the files through the emacs indent region function to get back to
a baseline
2013-02-05 12:33:42 -07:00
Craig Earls
71de1e6cdc Enh 246 add code folding to ledger mode
Based on loccur.  Hides everything but the xacts that match a regex.  Linked to reconcile mode so that when you reconcile an account on xacts with that account are shown.  Documentation updated
2013-02-05 11:07:36 -07:00
Craig Earls
7c618e541d Added menu and keybinding for ledger-post-edit-amount
editing the amount with calc is too cool for school.  I can't believe I didn't see it before.
It is in the docs now as well.
2013-02-01 22:34:28 -07:00
Craig Earls
c875de881a Fixed key-binges
The fancy lambdas detecting whether or not the command could be run weren't passing interactive
arguments
2013-02-01 21:59:51 -07:00
Craig Earls
36e77bd357 Check for ledger executable and version
Altered menu creation so that menu functions are disable if there is no ledger executable available
command keys will also warn if ledger isn't working

remove a debug message from leg-sort
2013-02-01 16:15:51 -07:00
Craig Earls
0675208a63 Add regional sort facility to ledger mode
C-c C-s now bound to ledger-sort-region.  ledger-sort-region is smart and
find the beginning of the first xact within the region and the beginning of
the first xact AFTER the region so that it can keep posing structure intact
2013-02-01 10:19:47 -07:00
Craig Earls
844b614af7 Merge branch 'next' into ledger-mode-sort-region 2013-02-01 09:03:48 -07:00
Craig Earls
7cb3b09986 Customizable font-locking
Moved font code into separate file.  created faces that can be customized in
using the emacs customizations menu group ledger-faces
2013-01-31 22:15:10 -07:00
Craig Earls
5c91124955 WIP. ledger-sort-region still drops the first transaction in the region. 2013-01-31 15:13:00 -07:00
Craig Earls
97550db9bd Removed call to ledger-reports-patch-reports
This function was never defined and appeared to nothing.  I caused errors
on some system by not existing.
2013-01-30 13:27:51 -07:00
Craig Earls
eff1472337 Added GPL licensing information to lisp files 2013-01-29 13:57:22 -07:00
Craig Earls
619b6abd5c Fixes the set-year and set-month functions
Also adds current year and month to the entry prompt.
2013-01-29 12:47:27 -07:00
Craig Earls
0bbff75f43 fixes the reconcile mode, adds menus for all modes
thanks to dk for the is-std defun.
2013-01-29 08:50:50 -07:00
Craig Earls
855432c4cd Fixed ledger-add-entry
copied ledger-iterate-entries, ledger-set-year and ledger-set-month
from the old ledger.el.  Changed ledger-add-entry to use
ledger-exec-ledger vice the old ledger-run-ledger.
2013-01-16 11:44:13 -08:00
John Wiegley
e716995311 Patch reports with markers to allow xact shifting 2012-08-08 00:34:07 -05:00
John Wiegley
4da56023d0 Added ldg-test.el, to assist writing regression tests 2012-03-16 01:00:20 -05:00
Dan Peterson
8834fc0c15 Highlight account names with spaces. 2011-08-28 12:31:42 -03:00
John Wiegley
dea2aed0b5 Untabified all source files 2010-06-11 17:02:25 -04:00
John Wiegley
d728e1364a Make sure ldg-new.el loads correctly 2010-05-07 22:57:05 -04:00
John Wiegley
7f5c1c81a1 Added some missing autoloads for the new ledger-mode 2010-05-02 23:50:17 -04:00
John Wiegley
bd8e6686f2 Broke up the old ledger.el into several submodules 2010-04-12 22:32:12 -04:00