summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* emacs-mode: Prefix every function/variable/macro with ledger-.Moritz Ulrich2013-12-292-32/+33
| | | | | | | | This is the common convention in Emacs Lisp. Not following it might cause problems with other packages as functions/variables/macros are always visible to other modules. Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
* Fix `ledger-string-to-number' for decimal-commaMoritz Ulrich2013-12-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | --=-=-= Content-Type: text/plain Hi John, Small bug, caused by ill-formatted elisp. This is a small patch, so i think making a fork & opening a Pull Request is a bit too much. I'll go this route if I make bigger contributions in the future. From de1fb19ded5300a227d58e3d3094928b211db09b Mon Sep 17 00:00:00 2001 From: Moritz Ulrich <moritz@tarn-vedra.de> Date: Sat, 28 Dec 2013 22:37:54 +0100 Subject: [PATCH] ledger-string-to-number: Fix nil return value with decimal-comma. Unfavorable formatting hid this bug pretty well. In case of true-ish `decimal-comma' or "decimal-comma' in `ledger-environment-alist', the ill-formatted `if' (and the whole function) returns nil. Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
* fix for unexpected point movement4ourbit2013-12-231-1/+1
| | | bug fixed: point moves to previous char when called at whitespace-only line
* ledger-schedule-upcoming take argument.Rémi Vanicat2013-12-121-5/+19
| | | | | | | One can forget to run ledger-schedule-upcoming for some time. Then there is the risk that ledger-schedule-look-backward is too short. This will open the possibility to use a different file, or to change the period backward or forward for this kind of case.
* Pop the new schedule buffersRémi Vanicat2013-12-121-1/+2
|
* ledger-mode: Also bind g to ledger-report-redo, as is standard elsewhereSteve Purcell2013-12-111-0/+1
|
* ledger-mode: Fix a number of byte-compilation warningsSteve Purcell2013-12-114-10/+10
|
* ledger-mode: Add missing argument to ledger-delete-current-transactionSteve Purcell2013-12-111-1/+1
|
* ledger-mode: Remove duplication in ledger-set-{year,month}Steve Purcell2013-12-111-6/+8
|
* ledger-mode: Add namespace prefix to highlight-overlaySteve Purcell2013-12-112-5/+5
| | | | | make-variable-buffer-local is a top-level form: this commit moves that call from ledger-mode to next to the variable's declaration.
* ledger-mode: Use easymenu to remove boilerplateSteve Purcell2013-12-113-85/+90
| | | | | Among other benefits, this lets us define the menu entries from top to bottom, rather than in reverse.
* ledger-mode: declare keymaps at the top levelSteve Purcell2013-12-093-76/+81
|
* ledger-mode: define and use a syntax table so that comments are handled properlySteve Purcell2013-12-091-0/+9
| | | | | | | | Specifically, functionality which uses syntax-ppss to detect comments needs the syntax table to be aware of them. A prime example is goto-address-prog-mode. This commit adds a basic syntax table for this purpose.
* Reload init when calling ledger-init-load-init-file again.Rémi Vanicat2013-11-261-1/+2
| | | | | | When the ledger-init-load-init-file was called again, it used to parse ledger init file, and to throw away the result. No you can use it to load this file again when you have change something in it.
* Merge branch 'ledger-mode-automatic-transactions'Craig Earls2013-11-1212-615/+600
|\ | | | | | | | | Conflicts: lisp/ledger-post.el
| * Merge branch 'master' into ledger-mode-automatic-transactionsCraig Earls2013-11-061-1/+1
| |\
| * \ Merge branch 'master' into ledger-mode-automatic-transactionsCraig Earls2013-09-202-21/+21
| |\ \
| * \ \ Merge branch 'master' into ledger-mode-automatic-transactionsCraig Earls2013-08-201-2/+7
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: lisp/ledger-reconcile.el
| * \ \ \ Merge branch 'master' into ledger-mode-automatic-transactionsCraig Earls2013-07-192-6/+7
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into ledger-mode-automatic-transactionsCraig Earls2013-07-031-3/+10
| |\ \ \ \ \
| * | | | | | Add Schedule Upcoming to Ledger menuCraig Earls2013-07-032-1/+3
| | | | | | |
| * | | | | | Merge branch 'master' into ledger-mode-automatic-transactionsCraig Earls2013-07-0219-445/+443
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lisp/ledger-init.el lisp/ledger-mode.el lisp/ledger-reconcile.el lisp/ledger-schedule.el
| * \ \ \ \ \ \ Merge branch 'master' into ledger-mode-automatic-transactionsCraig Earls2013-07-022-91/+52
| |\ \ \ \ \ \ \
| * | | | | | | | Formatting cleanupCraig Earls2013-07-021-2/+2
| | | | | | | | |
| * | | | | | | | Formatting changes and initial inclusion of ledger-scheduleCraig Earls2013-07-0211-784/+769
| | | | | | | | |
* | | | | | | | | Fix values pushed to calcCraig Earls2013-11-121-2/+2
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Fix provided feature to match file/package nameSteve Purcell2013-11-031-1/+1
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | For `require` to work correctly, the provided feature name must match the name of the file.
* | | | | | | Find first numeral or minus sign, instead of blind moveVinod Kurup2013-09-081-1/+2
| | | | | | |
* | | | | | | Move past the commodity signVinod Kurup2013-09-071-1/+2
| | | | | | |
* | | | | | | Update CMakeLists.txtSimon Kaczor2013-08-211-20/+18
| |_|_|_|_|/ |/| | | | | | | | | | | renamed files from ldg to ledger. Don't compile ledger-context.el because it has a macro.
* | | | | | Bug 986. Add file order to sorting options in the reconcile mode.Craig Earls2013-08-201-2/+7
| |_|_|_|/ |/| | | |
* | | | | Change ledger-next-amount to be case-sensitiveGergely Risko2013-07-121-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise if there is an account that's name only has one part, the regex can match it as a currency and as the beginning of an amount. E.g. if we have the line "Expenses 45 USD", then the old ledger-next-amount will jump to Expenses instead of to 45.
* | | | | Fix comment stringGergely Risko2013-07-091-1/+1
| |_|_|/ |/| | |
* | | | Add ledger-mode-should-check-version to disable startup checks.Craig Earls2013-07-031-3/+10
| |_|/ |/| | | | | | | | This is for users who are not using the official Ledger, say maybe hedger…
* | | Finished changing name to ledger-*Craig Earls2013-07-0218-152/+152
| |/ |/| | | | | All files and references changed ldg-* to ledger-*
* | Remove leg-new and made leg-mode the entry point.Craig Earls2013-07-022-91/+52
|/
* Adjust subtraction to scale operands up, thereby avoiding the silly long resultsCraig Earls2013-07-021-2/+8
|
* Ensure target balance is actually parseable as a numberCraig Earls2013-07-011-16/+17
|
* Added buffer cleanup and tweaked the reconcile quit routines.Craig Earls2013-06-272-6/+4
|
* Add buffer cleanup function.Craig Earls2013-06-061-0/+15
|
* Dramatic improvements to account completion speeds.Craig Earls2013-06-054-248/+236
|
* Implemented different sorting function on the reconcile buffer.Craig Earls2013-06-031-5/+27
| | | | | | C-c C-a for amount C-c C-p for payee C-c C-d for date
* Fix Bug 966 Auto Indent conflicts with undo. Removed the auto-indent ↵Craig Earls2013-06-032-16/+7
| | | | function and added an indent xact function
* Fix bug 967, Windows rearranging after reconcile save.Craig Earls2013-06-031-2/+5
|
* Completion improvementsCraig Earls2013-06-032-8/+8
|
* Fix bug 969, payee completing only works with plain alpha charsCraig Earls2013-06-021-1/+1
|
* Resolve bug 957 update reconcile buffer when saving ledger bufferCraig Earls2013-05-231-42/+42
|
* Add option if dates should be iso-8601 by defaultAlbert Krewinkel2013-05-221-3/+14
| | | | | Allow users to choose between the default YYYY/MM/DD format and the iso-standardized format YYYY-MM-DD.
* Correction to ldg-context xact regex.Craig Earls2013-05-211-21/+22
|
* Prevent failure if ledger sort buffer is called with point before the ledger ↵Craig Earls2013-05-141-7/+7
| | | | start marker.