Add description for menu items related to Sort

This commit is contained in:
thdox 2013-05-01 16:00:28 +02:00
parent ae69ae5c64
commit 81ca614ec6

View file

@ -369,17 +369,17 @@ transaction operation is in the undo buffer.
As you operating on the Ledger files, they may become disorganized. For As you operating on the Ledger files, they may become disorganized. For
the most part, Ledger doesn't care, but our human brains prefer a bit of the most part, Ledger doesn't care, but our human brains prefer a bit of
order. Sorting the transactions in a buffer into chronological order order. Sorting the transactions in a buffer into chronological order
can help bring order to chaos. Ledger sort @kbd{C-c C-s} will sort all can help bring order to chaos. Either using @samp{Sort Region} menu
of the transactions in a region by date. Ledger-mode isn't particularly entry or typing @kbd{C-c C-s} will sort all of the transactions in
smart about handling dates and it simply sorts the transactions using a region by date. Ledger-mode isn't particularly smart about handling
the string at the beginning of the transaction. So, you should use the dates and it simply sorts the transactions using the string at the
preferred ISO 8601 standard date format @samp{YYYY/MM/DD} which easily beginning of the transaction. So, you should use the preferred ISO 8601
sorts. standard date format @samp{YYYY/MM/DD} which easily sorts.
Note, there is a menu entry to sort the entire buffer. Special Note, there is a menu entry @samp{Sort Buffer} to sort the entire
transactions like automated transaction, will be moved in the sorting buffer. Special transactions like automated transaction, will be moved
process and may not function correctly afterwards. For this reason in the sorting process and may not function correctly afterwards. For
there is no key sequence. this reason there is no key sequence.
You can limit the allowed sort region by using embedded Ledger-mode You can limit the allowed sort region by using embedded Ledger-mode
markup within your ledger. For example: markup within your ledger. For example:
@ -396,9 +396,9 @@ markup within your ledger. For example:
<<< information to not sort >>> <<< information to not sort >>>
@end example @end example
You can use menu entries to insert start and end markers. These You can use menu entries @samp{Mark Sort Beginning} to insert start and
functions will automatically delete old markers and put new new marker @samp{Mark Sort End} to insert end markers. These functions will
at point. 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