Commit graph

40 commits

Author SHA1 Message Date
thdox
f5ba76442c [emacs] Fix bug 1060.
Set as an option to kill (or not) the reconcile buffer after
ledger-reconcile-finish.  The default is set to *not* kill the
buffer. This is justified as the facts that:

1. In old ledger mode (the one from Ledger 2.6), the default is to *not*
kill the buffer. Also for the ones who will migrate from 2.6 to 3 when
package will be available in their linux distribution, this will be the
path of least surprise.
2. The current documentation does state that the buffer is to be killed
with 'q' after 'C-c C-c'.

This has been made configurable, as killing buffer may already be part
of the workflow of some persons.

[ci skip]
2015-04-05 16:00:15 +02:00
thdox
8162cc783d [emacs] C-x h M-x untabify RET
C-x h M-x indent-region RET

[ci skip]
2015-02-10 21:42:50 +01:00
thdox
c278e91346 Add prefix ledger-reconcile- to s-functions to not conflict with
original s.el
2015-01-21 10:50:27 +01:00
thdox
12c563614c Add documentation for bugzilla #1105, and align documentation between
ledger-reconcile.el and ledger-mode.texi.
2015-01-21 10:50:24 +01:00
thdox
eb9672c550 Fix for bugzilla #1105.
You can now maximize the number of characters displayed for payee name
and account name in the reconcile buffer.
2015-01-21 10:50:20 +01:00
Alexis Hildebrandt
1dd9dcaab4 Bump copyright notice to 2015
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}/"
2014-12-27 11:24:55 +01:00
Steve Purcell
0fb064443d [emacs] Simplify and tidy up ledger-occur
Introducing a proper minor mode saves a lot of the hand-rolled fiddling
about, like managing the overlay lifecycle and the modeline.
2014-12-09 21:01:44 +00:00
Craig Earls
2f0dcec10e Make sure there is alive window to switch back to when quitting reconcile buffer 2014-12-07 12:15:15 -07:00
Craig Earls
a5d4d780dc Make reconcile more robust to empty or bad account entries at the prompt. 2014-12-05 21:30:29 -07:00
Craig Earls
f238d993fb Fix change I accidentally committed when trying to fix reconcile in frames. 2014-12-02 18:45:04 -07:00
Craig Earls
c844170aed Doc string cleanup. 2014-12-01 20:18:11 -07:00
Craig Earls
66d2e4fecd Doc string cleanup. 2014-12-01 20:07:46 -07:00
Craig Earls
a66001382c Force reconcile to use scrubbed values incase you are reconciling an account with lot values. 2014-10-10 22:02:44 -07:00
Craig Earls
7846e7c17a All navigation functions moved to ledger-navigate.
Reduce several overlapping functions.
2014-09-13 18:20:03 -07:00
Craig Earls
511b17a21f Make the reconcile balance status message more clear. 2014-07-13 10:37:38 -07:00
Rémi Vanicat
4a71dc05e6 ledger-reconcile.el: don't use flatten
The flatten function is not part of Emacs, so better not use it.
2014-07-09 14:34:46 +02:00
Craig Earls
0c8055a528 Finished configurable reconcile format line. 2014-07-03 21:49:48 -07:00
Craig Earls
fad7e307e7 ledger-reconcile-compile-format-string returns a lambda that is used to format the posting data 2014-07-02 20:50:47 -07:00
Craig Earls
ad31fb580a Refactor code to pull posting format into separate defun. Added reconcile buffer header and line configuration defcustom. 2014-07-02 02:48:08 -07:00
Craig Earls
0b8e79ec8b ledger-reconcile clean byte-compile 2014-06-28 14:04:57 -07:00
thdox
5cccadd070 Was introduced with commit 73f336a, which removed a functionality from
ledger.el old ledger mode.  I maintain a branch locally to always
restore C-x C-s keyboard shortcut that is so deeply inside my Emacs
muscle memory. I propose to restore this definitely.
2014-06-22 16:08:00 +02:00
Craig Earls
b5908bf541 Fix bug 1040 Saving in reconcile buffer doesn't stay in reconcile buffer 2014-05-18 19:43:39 -07:00
Craig Earls
8e6cdcc1d1 Merge branch 'master' of https://github.com/ledger/ledger 2014-05-18 08:25:30 -07:00
Craig Earls
d82c1b4b55 Fix bug 1039. Where the ledger buffer was incorrectly shown in the same frame as the reconcile buffer after a save. 2014-05-18 08:15:18 -07:00
thdox
5642eade57 Fix #986 and improve documentation. 2014-05-18 11:32:59 +02:00
thdox
d2db0f9102 Indent & untabify
M-x mark-whole-buffer
M-x indent-region
M-x mark-whole-buffer
M-x untabify
2014-05-17 16:52:06 +02:00
Craig Earls
3112851e97 Merge commit 'b9078dc93ffdb526efd0a859a73cc3076108f6b2' 2014-03-25 18:56:32 -07:00
Jamie Nguyen
33ce4a76a1 Update old FSF address 2014-03-23 23:42:21 +00:00
Craig Earls
bb8e000d5b Make reconcile window refresh xact locations after a delete operation 2014-02-24 14:16:46 -07:00
Alexis Hildebrandt
2b9208e850 Bump copyright information to 2014 2014-02-02 12:36:22 +01:00
Moritz Ulrich
09ef323a73 ledger-reconcile: Add option to insert an effective date when clearing transactions. 2014-01-02 18:44:15 +01:00
Moritz Ulrich
9f694169a8 ledger-mode: Introduce `ledger-default-date-format'.
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>
2013-12-30 01:41:31 +01:00
Moritz Ulrich
15b94e8f44 emacs-mode: Prefix every function/variable/macro with ledger-.
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>
2013-12-29 22:56:45 +01:00
Steve Purcell
12816a77e3 ledger-mode: Add missing argument to ledger-delete-current-transaction 2013-12-11 08:36:22 +00:00
Steve Purcell
aaf20ab07f ledger-mode: Use easymenu to remove boilerplate
Among other benefits, this lets us define the menu entries from top to
bottom, rather than in reverse.
2013-12-11 08:31:07 +00:00
Steve Purcell
c85643b04e ledger-mode: declare keymaps at the top level 2013-12-09 20:41:01 +00:00
Craig Earls
9f3afc26f5 Merge branch 'master' into ledger-mode-automatic-transactions
Conflicts:
	lisp/ledger-reconcile.el
2013-08-20 09:58:39 -07:00
Craig Earls
46bf142b2a Bug 986. Add file order to sorting options in the reconcile mode. 2013-08-20 09:51:11 -07:00
Craig Earls
0d4641acc2 Merge branch 'master' into ledger-mode-automatic-transactions
Conflicts:
	lisp/ledger-init.el
	lisp/ledger-mode.el
	lisp/ledger-reconcile.el
	lisp/ledger-schedule.el
2013-07-02 15:50:32 -07:00
Craig Earls
63ba45dbaa Finished changing name to ledger-*
All files and references changed ldg-* to ledger-*
2013-07-02 15:37:33 -07:00
Renamed from lisp/ldg-reconcile.el (Browse further)