summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Purcell <steve@sanityinc.com>2014-12-10 16:24:16 +0000
committerSteve Purcell <steve@sanityinc.com>2014-12-10 16:24:16 +0000
commit78a2bb08235200ac605c37495bd90ba6b7bf518c (patch)
treea68891f97bb2ba55335e465cb4dd571483db9cc8
parente16e6014351383d8d7e2b6e6fb3a557a7c439d6e (diff)
downloadledger-78a2bb08235200ac605c37495bd90ba6b7bf518c.tar.gz
ledger-78a2bb08235200ac605c37495bd90ba6b7bf518c.tar.bz2
ledger-78a2bb08235200ac605c37495bd90ba6b7bf518c.zip
Document changes to the narrowing functionality in ledger-occur
-rw-r--r--doc/ledger-mode.texi9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/ledger-mode.texi b/doc/ledger-mode.texi
index 4c2a8e98..ca91d178 100644
--- a/doc/ledger-mode.texi
+++ b/doc/ledger-mode.texi
@@ -238,13 +238,15 @@ will be shown.
@node Narrowing, , Reports, Quick Demo
@subsection Narrowing
@kindex C-c C-f
+@kindex C-c C-g
A ledger file can get very large. It can be helpful to collapse the
buffer to display only the transactions you are interested in.
Ledger-mode copies the @command{occur} mode functionality. Typing
@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
-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
@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
@section Narrowing Transactions
@kindex C-c C-f
+@kindex C-c C-g
@cindex transaction, narrowing
@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
@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
@chapter The Reconcile Buffer