Craig Earls
a13bcd4109
Bug 882 Calc mode doesn't play nice with decimal comma
...
Added a few lines to transform the amount to decimal period format before pushing it to calc.
2013-02-12 16:47:43 -07:00
Craig Earls
5eb322c0a2
Comment and code cleanup
2013-02-12 16:04:02 -07:00
Craig Earls
28659c58c3
Bug 892 re-enable pending mode and reconcile-finish
...
This should do it, and it should work across multiple files.
2013-02-12 15:11:36 -07:00
Craig Earls
316055ff86
More code cleanup
2013-02-12 10:39:07 -07:00
Craig Earls
e3b37ac19e
Lisp code cleanup.
...
Mostly went through and clarified variable names. Rather than "entry" for everything, use "transaction" and "posting" as appropriate to improve readability.
2013-02-12 10:35:27 -07:00
Craig Earls
36a00113d9
Bug 879 cannot reconcile two ledger buffers
2013-02-11 16:26:41 -07:00
Craig Earls
d243f00b91
Bug 878 Cannot reconcile two posting with the same account in one xact
2013-02-11 12:49:51 -07:00
Craig Earls
fa1702d684
Bug 886 Cannot unclear transaction on last line reconciliation buffer
2013-02-11 11:12:50 -07:00
Craig Earls
e615d8c615
Bug 883 overlays left in buffer if file reverted.
2013-02-11 11:05:43 -07:00
Craig Earls
e245e41d6b
Bug 887. Remove folding if the reconcile buffer is killed
...
This ensure adequate cleanup if the reconciliation buffer is killed vice quit from.
2013-02-11 10:50:13 -07:00
Craig Earls
eef9245eb8
Face reorganization and better color theme
...
Moved all face definitions to leg-fonts.el. Change default colors to Solarize color theme http://ethanschoonover.com/solarized
2013-02-11 09:11:03 -07:00
Craig Earls
e460316774
Fixes bug 885, highlighting was removing bolding
...
Inadvertantly left a :weight in the highlight face that was over ring the base face weight
2013-02-10 20:11:03 -07:00
Craig Earls
30c95ea9bb
Changes keybinding for edit amount to C-c C-b
...
Thierry rightly pointed out that C-c C-v was a much older emacs command and I shouldn't stomp on it.
2013-02-10 10:11:15 -07:00
Craig Earls
e757b969ef
fixe minor error in merge from vanicat
2013-02-10 09:47:56 -07:00
Craig Earls
96bae11502
Merge pull request #154 from vanicat/t/kill-reconcile
...
Take care to not delete some random buffer when exiting reconcile
2013-02-10 07:38:52 -08:00
Craig Earls
0c8a660d60
Forgot to stage ldg-xact.el in the last commit
2013-02-09 21:05:08 -07:00
Craig Earls
6fce572806
ledger-mode now highlights the xact under point.
...
This can be configured with ledger-highlight-xact-under-point and ledger-font-highlight-face
2013-02-09 21:03:58 -07:00
Craig Earls
114be62d24
Correct error that prevented clearing postings if ledger--clear-whole-entires was nil
2013-02-09 17:47:09 -07:00
Craig Earls
2b55ef7dab
Added menu entry to customize ledger mode
2013-02-09 17:45:31 -07:00
Rémi Vanicat
69efea6c54
Take care to not delete some random buffer when exiting reconcile
2013-02-09 19:29:04 +01:00
Craig Earls
f89d6c4419
Merge pull request #152 from vanicat/t/occur-bugs
...
T/occur bugs
2013-02-09 06:38:08 -08:00
Craig Earls
1d22862c35
Merge commit 'f654ee400910e4dc0c35831a3033083207c5fe47' into next
2013-02-09 07:28:25 -07:00
Craig Earls
47c3f6d353
Cleaned up a defcustom that was lacking a type
2013-02-09 07:27:47 -07:00
Craig Earls
f654ee4009
Merge pull request #151 from vanicat/t/realy-move
...
On move event, save excursion before calling ledger-reconcile-visit
2013-02-09 06:26:27 -08:00
Rémi Vanicat
0f83f779a6
On move event, save excursion before calling ledger-reconcile-visit
...
Otherwise, ledger-reconcile-visit might undo last move
2013-02-09 15:19:02 +01:00
Rémi Vanicat
d3964b66d5
In ledger-occur, hide nothing if there is no match
...
This could cause error when reconciling transaction that are included.
Some message should be shown to explain why nothing happen when
interactively call ledger-occur.
2013-02-09 11:33:58 +01:00
Rémi Vanicat
cf6a23b2fe
Unconditionally activate the occur stuff in ledger-occur-mode
...
Well, we still deactivate it when regex is nil, but the function
should not look at previous value of ledger-occur-mode:
- the interactive function (ledger-occur) already do it, we don't need
to do it there,
- caller that want to deactivate the occur stuff only have to call
ledger-occur with a nil regex
- the old behavior make ledger-reconcile to turn off occur stuff if it
was already turn on, when what we do want is that the occur stuff
change to the new account.
2013-02-09 11:20:30 +01:00
Craig Earls
68665a7373
Merge commit 'b415f6c1b0a26718f5689f33cc166aada5084804' into next
2013-02-08 23:44:10 -07:00
Craig Earls
73f8c10d8e
More reconcile-visit bug squashing.
2013-02-08 23:42:52 -07:00
Craig Earls
b415f6c1b0
Merge pull request #148 from hrj/patch-1
...
Update README.md
Thanks for the help!
2013-02-08 22:01:13 -08:00
Craig Earls
73f336ae7c
Improved the visit function. Made the window position configurable. Removed after-save hook on quit
2013-02-08 22:49:39 -07:00
hrj
222af8a047
Update README.md
...
Updated instructions for Ubuntu 12.04
Dropping some of the obsolete packages and dropping the specific version numbers in favour of generic ones.
2013-02-09 10:09:27 +05:30
Craig Earls
7fe1506ea1
code cleanup
2013-02-08 17:20:56 -07:00
Craig Earls
5f67cfbec7
Added ability to have ledger buffer track the xact under point in recon window
...
controllable using ledger-buffer-tracks-reconcile-buffer
2013-02-08 17:16:12 -07:00
Craig Earls
e3be9686e4
Added vanicat's multii file extensions.
...
There was a strange interact with some more recent parts of the code that exposed bugs I hadn't seen before.
2013-02-08 17:02:58 -07:00
Craig Earls
8f214f3830
Revert "Merge pull request #147 from vanicat/t/where-are-transaction"
...
This reverts commit 9a411e898a , reversing
changes made to bdf404112e .
2013-02-08 15:24:00 -07:00
Craig Earls
9a411e898a
Merge pull request #147 from vanicat/t/where-are-transaction
...
Current version of ledger-mode fail to reconcile when there are included file
2013-02-08 12:47:32 -08:00
Rémi Vanicat
e304cdfdbb
After reconciling, save all buffer that need to be saved.
2013-02-08 21:17:08 +01:00
Rémi Vanicat
0b63dc0f84
In ledger-reconcile-get-buffer, return the stored buffer
2013-02-08 21:16:03 +01:00
Rémi Vanicat
21968b1e12
In ledger-reconcile, open file where transaction are, and store it.
2013-02-08 21:15:48 +01:00
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
3d34a61ed5
Correct misspelling
2013-02-05 14:50:59 -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