| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This was a compatibility problem with spacemacs.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ecraven-fix-warning
# Conflicts:
# lisp/ledger-occur.el
# lisp/ledger-report.el
# lisp/ledger-schedule.el
# lisp/ledger-sort.el
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
When a transaction is being added the previous one is highlighted.
Solve the problem checking that the highlighted region contains the
point.
|
| |
| |
| |
| |
| | |
Extend the highlighting of the last line in the transaction to the
right margin of the buffer. Do not highlight empty lines.
|
| |
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
|/
|
|
|
|
| |
C-x h M-x indent-region RET
[ci skip]
|
|
|
| |
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.
|
|
|
|
|
|
| |
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}/"
|
| |
|
| |
|
| |
|
|
|
|
| |
Reduce several overlapping functions.
|
| |
|
| |
|
|
|
|
| |
by more than a single empty line
|
|
|
|
| |
Basic functionality in place. need to test further and expand detail fortification.
|
| |
|
| |
|
|
|
|
|
|
|
| |
M-x mark-whole-buffer
M-x indent-region
M-x mark-whole-buffer
M-x untabify
|
|
|
|
|
|
|
| |
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.)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
make-variable-buffer-local is a top-level form: this commit moves that
call from ledger-mode to next to the variable's declaration.
|
|\ |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
| |
Conflicts:
lisp/ledger-init.el
lisp/ledger-mode.el
lisp/ledger-reconcile.el
lisp/ledger-schedule.el
|
|
All files and references changed ldg-* to ledger-*
|