Document changes to the narrowing functionality in ledger-occur

This commit is contained in:
Steve Purcell 2014-12-10 16:24:16 +00:00
parent e16e601435
commit 78a2bb0823

View file

@ -238,13 +238,15 @@ will be shown.
@node Narrowing, , Reports, Quick Demo @node Narrowing, , Reports, Quick Demo
@subsection Narrowing @subsection Narrowing
@kindex C-c C-f @kindex C-c C-f
@kindex C-c C-g
A ledger file can get very large. It can be helpful to collapse the A ledger file can get very large. It can be helpful to collapse the
buffer to display only the transactions you are interested in. buffer to display only the transactions you are interested in.
Ledger-mode copies the @command{occur} mode functionality. Typing Ledger-mode copies the @command{occur} mode functionality. Typing
@kbd{C-c C-f} and entering any regex in the Minibuffer will show only @kbd{C-c C-f} and entering any regex in the Minibuffer will show only
transactions that match the regex. The regex can be on any field, or transactions that match the regex. The regex can be on any field, or
amount. amount. Use @kbd{C-c C-g} after editing transactions to re-apply the
current regex. Cancel the narrowing by typing @kbd{C-c C-f} again.
@node The Ledger Buffer, The Reconcile Buffer, Introduction to Ledger-mode, Top @node The Ledger Buffer, The Reconcile Buffer, Introduction to Ledger-mode, Top
@chapter The Ledger Buffer @chapter The Ledger Buffer
@ -449,6 +451,7 @@ automatically delete old markers and put new new marker at point.
@node Narrowing Transactions, , Sorting Transactions, The Ledger Buffer @node Narrowing Transactions, , Sorting Transactions, The Ledger Buffer
@section Narrowing Transactions @section Narrowing Transactions
@kindex C-c C-f @kindex C-c C-f
@kindex C-c C-g
@cindex transaction, narrowing @cindex transaction, narrowing
@cindex transaction, display filtering @cindex transaction, display filtering
@ -494,6 +497,10 @@ Show only transactions with any line ending with @samp{harley}.
To show back all transactions simply invoke @samp{Narrow to Regex} or To show back all transactions simply invoke @samp{Narrow to Regex} or
@kbd{C-c C-f} again. @kbd{C-c C-f} again.
If you've edited some transactions after narrowing such that they would
no longer match the regular expression, you can refresh the narrowed
view using @kbd{C-c C-g}.
@node The Reconcile Buffer, The Report Buffer, The Ledger Buffer, Top @node The Reconcile Buffer, The Report Buffer, The Ledger Buffer, Top
@chapter The Reconcile Buffer @chapter The Reconcile Buffer