Commit graph

4540 commits

Author SHA1 Message Date
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
Craig Earls
d67c42207f Code cleanup to get rid of some elisp compiler warnings. 2013-02-05 12:25:19 -07:00
Craig Earls
41469e9943 Grammar cleanup 2013-02-05 12:24:30 -07:00
Craig Earls
40602cd634 Merge commit 'bc5563289cd838f1bb33b86706927fae2e0d670f' into next 2013-02-05 11:08:58 -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
John Wiegley
bc5563289c Fixed bug with --day-break option 2013-02-05 00:08:46 -06:00
Craig Earls
c7bf701cb3 Merge commit '989f86974750ae4ae32645386d749e94e66eb27d' into next 2013-02-04 10:09:58 -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
John Wiegley
989f869747 Bump format parsing buffer to 64K 2013-02-03 08:31:17 -06:00
Craig Earls
595a8afa44 Fixes bug 377. Ledger now complains if it is given only a directory as input. 2013-02-02 15:59:46 -07:00
Craig Earls
01b8416f24 Fix bug 795 858, printing "(null)" instead of empty string "" 2013-02-02 09:44:31 -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
37ea7f9b1f Updated developer section 2013-02-01 21:28:36 -07:00
Craig Earls
0f3fef427f Merge pull request #145 from enderw88/next
Check for ledger executable and version
2013-02-01 15:17:33 -08: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
fdb9d0c2ca Merge pull request #144 from enderw88/next
Add regional sort facility to ledger mode
2013-02-01 10:41:35 -08: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
6718b68999 Merge pull request #143 from enderw88/ledger-mode-font-lock-improvements
Ledger mode font lock improvements
2013-01-31 21:18:52 -08: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
f853510f03 Merge commit '9e9d99e9187093b459525e3fd7e654d57000c3c4' into kitchen-sink 2013-01-31 07:26:23 -07:00
John Wiegley
9e9d99e918 Removed an unnecessary if. Fixes #140 2013-01-31 04:56:12 -06:00
Craig Earls
6c6e33427f Merge branch 'next' into kitchen-sink 2013-01-30 21:53:00 -07:00
Craig Earls
ce169b3b48 Merge pull request #142 from enderw88/ledger-reconcile-new-account
Add ability to reconcile new account without switching recon buffers
2013-01-30 20:51:30 -08: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
4b4158377b Merge branch 'next' into kitchen-sink 2013-01-30 20:25:46 -07:00
Craig Earls
d9b1258c34 Merge pull request #140 from enderw88/Bug634-floor-ceil-round
Bug 634 Added roundto function, optimized floor and ceiling
2013-01-30 18:56:00 -08:00
Craig Earls
2aae7377cd Merge branch 'fix-garbage-test-25A099C9' into kitchen-sink 2013-01-30 16:51:22 -07:00