summaryrefslogtreecommitdiff
path: root/lisp/ledger-mode.el
Commit message (Collapse)AuthorAgeFilesLines
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* Make balance-at-point able to convert commodity.Matus Goljer2015-10-011-4/+9
| | | | | The function `ledger-display-balance-at-point' called with the prefix argument will now ask for the target commodity.
* Bind M-q to ledger-post-align-dwim.Matus Goljer2015-09-191-0/+1
| | | | | There is very little reason to have M-q bound to fill-paragraph in ledger, so let's use it for aligning instead.
* Fix ledger-magic-tab: Wrong number of argumentsKan-Ru Chen2015-06-281-1/+1
| | | ledger-post-align-postings expects (beg end) not to be optional
* [emacs] C-x h M-x untabify RETthdox2015-02-101-10/+10
| | | | | | C-x h M-x indent-region RET [ci skip]
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
* [emacs] Add a menu entry for turning off ledger-occur-modeSteve Purcell2014-12-131-0/+1
|
* [emacs] define-derived-mode calls set-syntax-table automaticallySteve Purcell2014-12-131-1/+0
|
* [emacs] Add syntax table so that ";" comments are handledSteve Purcell2014-12-131-1/+8
| | | | | This allows things like goto-address-prog-mode to correctly highlight URLs inside comments.
* [emacs] Don't use setq-local, which only appeared in Emacs 24.4Steve Purcell2014-12-091-7/+7
| | | | /cc @enderw88
* [emacs] Simplify and tidy up ledger-occurSteve Purcell2014-12-091-1/+0
| | | | | Introducing a proper minor mode saves a lot of the hand-rolled fiddling about, like managing the overlay lifecycle and the modeline.
* [emacs] Fix byte compilation warningsSteve Purcell2014-12-091-0/+1
|
* [emacs] Set comment-start to ";" so that comment-dwim worksSteve Purcell2014-12-091-0/+1
|
* [emacs] Use markers instead of raw positions to make cleaning work betterSteve Purcell2014-12-091-11/+14
| | | | | | | Sometimes cleaning a buffer would leave the end of the buffer uncleaned, because the end position would be moved along the way. This commit makes the corresponding code use markers instead, which track the changes in the buffer, and therefore ensure that the entire buffer is acted upon.
* Make reconcile more robust to empty or bad account entries at the prompt.Craig Earls2014-12-051-1/+1
|
* Tweak ledger-clean-up to attempt to find the exact you were at when you ↵Craig Earls2014-12-051-5/+12
| | | | ordered the clean.
* Fix effective date command.Craig Earls2014-12-011-12/+15
|
* Cleaned up commodities and completion code.Craig Earls2014-11-301-3/+1
|
* Fix minor navigation bugs. Prev and next act now properly handle directives ↵Craig Earls2014-11-151-1/+1
| | | | and empty lines
* Fix navigate bug keeping prev-xact key binding from working.Craig Earls2014-11-091-5/+5
|
* All navigation functions moved to ledger-navigate.Craig Earls2014-09-131-2/+3
| | | | Reduce several overlapping functions.
* everything appears to work with no empty lines between xacts.Craig Earls2014-09-131-2/+2
|
* Minor refactoring and code cleanupCraig Earls2014-09-101-2/+2
|
* New fortification is working.Craig Earls2014-09-081-39/+0
| | | | Code pruned.
* Solved the fight between jit-lock. But for some reason it isn't calling it ↵Craig Earls2014-09-051-3/+4
| | | | for all regions in the buffer.
* jit-lock is now calling ledger-fontify-buffer-part, but ↵Craig Earls2014-09-051-12/+46
| | | | font-lock-fontify-region is still being called and fighting with it.
* meh. Still chugging along.Craig Earls2014-09-051-3/+4
|
* not much progress here.Craig Earls2014-09-041-1/+2
|
* no messageCraig Earls2014-08-261-13/+10
|
* Not working well, try something else on new-fontification-scheme-2Craig Earls2014-08-261-4/+8
|
* Set up fontification independent of font-lock.Craig Earls2014-08-241-22/+6
| | | | Basic functionality in place. need to test further and expand detail fortification.
* make leder-mode-dump-configuration interactiveCraig Earls2014-07-131-0/+1
|
* ledger-redo added as after-save-hookCraig Earls2014-07-121-0/+1
|
* Code cleanupCraig Earls2014-07-121-5/+6
|
* ledger reconcile will recommend the account in the posting, even if point ↵Craig Earls2014-06-291-2/+1
| | | | isn't in it.
* Fix bug 1052 ledger-mode mangles transactions with tabs.Craig Earls2014-06-251-0/+1
|
* Indent & untabifythdox2014-05-171-95/+95
| | | | | | | M-x mark-whole-buffer M-x indent-region M-x mark-whole-buffer M-x untabify
* Update old FSF addressJamie Nguyen2014-03-231-2/+2
|
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* ledger-mode: only modify completion-at-point-functions locallySteve Purcell2014-01-071-1/+1
| | | | | | | Without this patch, the addition of pcomplete-completions-at-point leaks into the global value of completion-at-point-functions. See #227
* `ledger-read-date': Use `ledger-minibuffer-history'.Moritz Ulrich2014-01-021-1/+2
|
* `ledger-insert-effective-date': use `ledger-read-date'.Moritz Ulrich2014-01-021-9/+8
| | | | | | | Running `ledger-insert-effective-date' will now prompt for a date with a pre-filled value of the `(ledger-year-and-month)' ("2014/01/"). Just pressing RET without inserting the 'day'-portion will insert the date of today.
* Add `ledger-read-date' - Read date & default to today.Moritz Ulrich2014-01-021-0/+11
|
* Plugging ledger pcomplete into completion-at-point.4ourbit2014-01-011-0/+1
| | | | Added documentation on how to use pcomplete transparently via completion-at-point.
* Context-aware pcomplete rules.4ourbit2013-12-311-3/+7
| | | | | | | | | Provide completions based on information retrieved with 'ledger-context-at-point'. To support step-by-step completion of transactions some more patterns were added to 'ledger-line-config'. The actual completion rules mostly reuse some of the convenient input commands that are buried in ledger-mode. Using the standard pcomplete termination string (" ") to allow a "context switch" at the end of each completion step.
* ledger-mode: Introduce `ledger-default-date-format'.Moritz Ulrich2013-12-301-3/+5
| | | | | | Some elisp functions depend on a date-format supplied in ~/.ledgerrc. Change these by introducing a default ("%Y/%m/%d"). Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
* Improve `ledger-insert-effective-date'.Moritz Ulrich2013-12-301-10/+27
| | | | | | | | | The function now replaces already existing effective dates in the same line. With a prefix (C-u C-c C-t), remove the current effective date. Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
* ledger-mode: Add `ledger-remove-effective-date'.Moritz Ulrich2013-12-301-0/+23
| | | | Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
* 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-111-1/+0
| | | | | make-variable-buffer-local is a top-level form: this commit moves that call from ledger-mode to next to the variable's declaration.