summaryrefslogtreecommitdiff
path: root/lisp/ledger-xact.el
Commit message (Collapse)AuthorAgeFilesLines
* Globally changed set-text-properties to use 'font-lock-face vice 'face. ↵Craig Earls2016-02-281-1/+1
| | | | This was a compatibility problem with spacemacs.
* Merge branch 'fix-warnings' of https://github.com/ecraven/ledger into ↵Craig Earls2016-01-111-0/+9
|\ | | | | | | | | | | | | | | | | | | ecraven-fix-warning # Conflicts: # lisp/ledger-occur.el # lisp/ledger-report.el # lisp/ledger-schedule.el # lisp/ledger-sort.el
| * cleaning up elisp byte compiler warnings [emacs] [ci skip]Peter Feigl2015-02-051-0/+1
| |
| * cleaning up elisp byte compiler warningsPeter Feigl2015-02-051-0/+4
| |
| * cleaning up elisp byte compiler warningsPeter Feigl2015-02-051-0/+4
| |
* | Fix highlight of the transaction under pointDaniele Nicolodi2016-01-081-4/+6
| | | | | | | | | | | | When a transaction is being added the previous one is highlighted. Solve the problem checking that the highlighted region contains the point.
* | Fix highlight of the transaction under pointDaniele Nicolodi2016-01-081-12/+15
| | | | | | | | | | Extend the highlighting of the last line in the transaction to the right margin of the buffer. Do not highlight empty lines.
* | [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | | | | | [ci skip]
* | Fix xact-find-slot at end of bufferAndrew Schwartzmeyer2015-08-221-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using `ledger-add-transaction` to add a transaction with a date that places it at the end of the buffer will "forget" to insert the newline between it and the previous transaction. This error occurs in `ledger-xact-find-slot` where the `(when (and (eobp) last-xact-start)` is entered, but subsequently the `(if (eobp))` is false because the point has been moved to the end of the prior exact, which is not the end of the buffer. The `if` expression is superfluous because the `when` expression has already been entered, and it is broken becase the point gets moved. Removing it fixes the behavior for transactions added at the end of the buffer, and does not break the behavior for transactions added elsewhere. This was observed with Emacs 24.5.50.1 and Ledger 3.1.0-20141005. [ci skip]
* | [emacs] C-x h M-x untabify RETthdox2015-02-101-2/+2
|/ | | | | | C-x h M-x indent-region RET [ci skip]
* [emacs] fix copyMarco Wahl2015-01-181-0/+1
| | | ledger-xact.el:ledger-copy-transaction-at-point (C-c C-k) led to a confusing change in the ledger file for the case when the target date was smaller than last date in the ledger.
* 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] Fix more byte compilation and other layout issuesSteve Purcell2014-12-101-1/+6
|
* Fixes act having higher priority than regionPaul Rankin2014-11-271-1/+1
|
* Fix navigate bug keeping prev-xact key binding from working.Craig Earls2014-11-091-1/+1
|
* All navigation functions moved to ledger-navigate.Craig Earls2014-09-131-37/+5
| | | | Reduce several overlapping functions.
* everything appears to work with no empty lines between xacts.Craig Earls2014-09-131-35/+3
|
* Minor refactoring and code cleanupCraig Earls2014-09-101-8/+25
|
* improved xact iteration so fontify-whole-buffer doesn't miss xact separated ↵Craig Earls2014-09-041-0/+26
| | | | by more than a single empty line
* Set up fontification independent of font-lock.Craig Earls2014-08-241-3/+2
| | | | Basic functionality in place. need to test further and expand detail fortification.
* For ledger-post-align-postings to run on xacts added with ledger-addCraig Earls2014-07-151-1/+2
|
* Code cleanupCraig Earls2014-07-121-3/+3
|
* Indent & untabifythdox2014-05-171-53/+53
| | | | | | | M-x mark-whole-buffer M-x indent-region M-x mark-whole-buffer M-x untabify
* improve C-c C-a (ledger-xact-insert-transaction) behaviourChristophe Rhodes2014-04-231-6/+14
| | | | | | | When the right place to add a transaction is after all existing transactions, add it just after the last transaction rather than at the end of the buffer. (Otherwise the transactions get added after Local Variables blocks and any other endmatter.)
* Update old FSF addressJamie Nguyen2014-03-231-2/+2
|
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Use `ledger-read-date' where applicable.Moritz Ulrich2014-01-021-3/+4
|
* ledger-mode: Add namespace prefix to highlight-overlaySteve Purcell2013-12-111-4/+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.
* Merge branch 'master' into ledger-mode-automatic-transactionsCraig Earls2013-09-201-1/+3
|\
| * 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
| |
* | Merge branch 'master' into ledger-mode-automatic-transactionsCraig Earls2013-07-021-55/+55
|/ | | | | | | | Conflicts: lisp/ledger-init.el lisp/ledger-mode.el lisp/ledger-reconcile.el lisp/ledger-schedule.el
* Finished changing name to ledger-*Craig Earls2013-07-021-0/+200
All files and references changed ldg-* to ledger-*