Rémi Vanicat
3b44a9fd2a
In ledger-reconcile, use a function to get where the transaction is.
2013-02-08 21:14:15 +01:00
Craig Earls
bdf404112e
Corrected reentering when entering leg-occur mode
2013-02-08 07:41:42 -07:00
John Wiegley
995aa43778
Merge pull request #146 from vanicat/t/other-currency
...
Add € and £ to currency one could use in new ledger mode
2013-02-08 03:15:10 -08:00
Rémi Vanicat
ca554f6b5b
Add € and £ to currency one could use in new ledger mode
2013-02-08 10:45:47 +01: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
867b84c52e
code formatting cleanup.
2013-02-07 11:30:34 -07:00
Craig Earls
869c40c070
Reconcile visit now recanters on the xact selected
2013-02-07 10:16:31 -07:00
Craig Earls
e3431c4bff
reconcile mode windowing improvements
...
* reconcile mode now places its window at the bottom of the ledger window it was called form and minimizes its height to the size of the recon buffer.
* It all specifically informs the user if there are no uncleared items.
* When reconcile mode is entered it sets the ledger-occur mode and scrolls the bottom of the visible buffer to the bottom of the ledger window ensuring transactions are visible.
2013-02-07 09:12:44 -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
d67c42207f
Code cleanup to get rid of some elisp compiler warnings.
2013-02-05 12:25:19 -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
c4c088b55b
Fixed ledger-post-edit-amount so that it can be called from the and of an account with a null amount.
...
It automagically determines if the account has two spaces after and if not inserts them.
2013-02-04 10:08:34 -07:00
Craig Earls
cf76c25599
If there is no XACT code print blank, not "nil"
2013-02-02 09:15:03 -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
edd82b2639
Add custom faces to the reconciler
2013-02-01 11:39:48 -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
0e16ce75f0
Add ability to reconcile new account without switching recon buffers
...
Show cleared balance on command
Update documentation
2013-01-30 21:50:23 -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
John Wiegley
e1da55d1af
Merge pull request #90 from rladams/next
...
Next
2013-01-29 12:04:40 -08:00
John Wiegley
6410f391f9
Merge pull request #135 from enderw88/emacs-mode-easy-load
...
Fixed the new ledger mod so that loading leg-new.el is sufficient
2013-01-29 12:04:10 -08: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
426e105651
Fixed the new ledger mod so that loading leg-new.el is sufficient
...
The reconcile package and the xact package didn't provide themselves, and the leg-new
module didn't load up everything it needed.
2013-01-29 12:16:47 -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
John Wiegley
24b791ad07
Apply patch to update ldg-reconcile.el
2013-01-16 17:50:31 -06: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
adamsrl
9173190a8f
Made marker logic for jumping from hyperlinked reports to source files work by simplifying.
2012-10-15 13:29:22 -05:00
adamsrl
6094c202c1
Adding goto EOL to fix issue where re-search-forward was including ledger report data in the text properties.
2012-10-15 11:47:29 -05:00
adamsrl
7b11dad404
Added back my patches for johns ldg-mode
2012-10-14 16:43:56 -05:00
John Wiegley
e716995311
Patch reports with markers to allow xact shifting
2012-08-08 00:34:07 -05:00
John Wiegley
d203393cab
Allow non-register reports to work again
2012-07-30 22:35:21 -05:00
John Wiegley
e6acb5a9cc
Require ldg-report from ldg-new (for now)
2012-07-30 22:32:29 -05:00
John Wiegley
628fc01962
Add ability to visit source line from ldg-report
2012-07-30 22:32:10 -05:00
John Wiegley
4681e58d7f
Converted the Ledger build system to use CMake
2012-05-20 04:48:05 -05:00
John Wiegley
4b2b9dc009
Current directory fix to ldg-test.el
2012-03-30 00:51:05 -05:00
John Wiegley
bdaa6b71fb
Improvements to ldg-test.el
2012-03-18 00:13:41 -05:00
John Wiegley
6305855997
Don't allow trailing ws in abbrev. account segments
...
Fixes #358
2012-03-16 05:30:34 -05:00
John Wiegley
7462d09b21
Correct parsing of automated xact expressions
...
Fixes #458
2012-03-16 04:09:21 -05:00
John Wiegley
ecd2ece195
Restored tabs that had been converted to spaces
2012-03-16 03:00:39 -05:00
John Wiegley
11067d9cc6
Unexpected initial whitespace is an error (again)
...
Fixes #565
2012-03-16 02:39:42 -05:00
John Wiegley
4da56023d0
Added ldg-test.el, to assist writing regression tests
2012-03-16 01:00:20 -05:00
Paul Lathrop
b133e16fb3
Fix ledger-reconcile-visit.
...
Removes a (apparently) un-necessary check on the car of the 'where'
text property, and instead checks that the cdr is a valid marker
object. May not be the correct fix for this problem, but *does* work.
2012-03-05 14:13:24 -08:00
John Wiegley
b57cff24bd
Split a string in ledger.el
2012-02-10 09:39:34 -10:00
Craig Earls
548d7d93cb
Fixed minor bug where ledger-add-entry would insert a space before the next transaction.
...
Extra space on line 229 after the newline sometimes showed up before
the date in the next transaction.
2012-02-10 09:36:37 -10:00
Craig Earls
8c0f6cb9e9
Fixed font-lock REGEX to allow account names with spaces
2012-02-10 09:36:36 -10:00