This could cause error when reconciling transaction that are included.
Some message should be shown to explain why nothing happen when
interactively call ledger-occur.
Well, we still deactivate it when regex is nil, but the function
should not look at previous value of ledger-occur-mode:
- the interactive function (ledger-occur) already do it, we don't need
to do it there,
- caller that want to deactivate the occur stuff only have to call
ledger-occur with a nil regex
- the old behavior make ledger-reconcile to turn off occur stuff if it
was already turn on, when what we do want is that the occur stuff
change to the new account.
ledger-add-entry now checks to see if more than the date was given at the prompt. If there is only a date it inserts the dat at the correct place in the ledger and puts the point at the end of the line for entering transaction details
* reconcile mode now places its window at the bottom of the ledger window it was called form and minimizes its height to the size of the recon buffer.
* It all specifically informs the user if there are no uncleared items.
* When reconcile mode is entered it sets the ledger-occur mode and scrolls the bottom of the visible buffer to the bottom of the ledger window ensuring transactions are visible.
Most of the files have been touched several times and the indentation structure
was wrong. I ran all the files through the emacs indent region function to get back to
a baseline
Based on loccur. Hides everything but the xacts that match a regex. Linked to reconcile mode so that when you reconcile an account on xacts with that account are shown. Documentation updated
Altered menu creation so that menu functions are disable if there is no ledger executable available
command keys will also warn if ledger isn't working
remove a debug message from leg-sort
C-c C-s now bound to ledger-sort-region. ledger-sort-region is smart and
find the beginning of the first xact within the region and the beginning of
the first xact AFTER the region so that it can keep posing structure intact
copied ledger-iterate-entries, ledger-set-year and ledger-set-month
from the old ledger.el. Changed ledger-add-entry to use
ledger-exec-ledger vice the old ledger-run-ledger.