From f2dd9a6003e0e762e628b3fcff0a07cc43020810 Mon Sep 17 00:00:00 2001 From: thdox Date: Thu, 26 Feb 2015 16:43:37 +0100 Subject: [doc] Improve documentation about C-c C-c to clear a transaction. [ci skip] --- doc/ledger-mode.texi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/ledger-mode.texi b/doc/ledger-mode.texi index 4fe56d6b..74bb1c91 100644 --- a/doc/ledger-mode.texi +++ b/doc/ledger-mode.texi @@ -383,13 +383,15 @@ transaction. @end itemize -@kindex C-c C-e @kindex C-c C-c +@kindex C-c C-e -Clearing complete transactions is done by typing @kbd{C-c C-e} with -point in a transaction. This places an asterisk @samp{*} after the -date. Clearing individual postings is done by typing @kbd{C-c C-c} -while in a posting. This places an asterisk prior to the posting. +Typing @kbd{C-c C-c}, depending where is the point, will clear the +complete transaction, or an individual posting. This places an asterisk +@samp{*} prior to the payee for the complete transaction, or prior to +the account for an individual posting. When point is inside +a transaction, specifically on an individual posting, you can still +clear the complete transaction by typing @kbd{C-c C-e}. @node Formatting Transactions, Deleting Transactions, Marking Transactions, The Ledger Buffer @section Formatting Transactions -- cgit v1.2.3 From 1e3def2bb5d8a1dc65431d10f692e0c46e9ed9a1 Mon Sep 17 00:00:00 2001 From: thdox Date: Thu, 26 Feb 2015 20:12:10 +0100 Subject: [doc] Small typo. [ci skip] --- doc/ledger-mode.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ledger-mode.texi b/doc/ledger-mode.texi index 74bb1c91..ddd29ce6 100644 --- a/doc/ledger-mode.texi +++ b/doc/ledger-mode.texi @@ -966,7 +966,7 @@ header will be displayed. Defaults to "Reconciling account %s\n\n". @item ledger-reconcile-buffer-line-format Format string for the ledger reconcile posting format. Available fields are date, status, code, payee, account, amount. The format for each -field is %WIDTH(FIELD), WIDTH can be preced by a minus sign which mean +field is %WIDTH(FIELD), WIDTH can be preceded by a minus sign which mean to left justify and pad the field. WIDTH is the minimum number of characters to display; if string is longer, it is not truncated unless ledger-reconcile-buffer-payee-max-chars or -- cgit v1.2.3 From 98d5d18993f82ccd0fe80e31e2a8b543fc3c7879 Mon Sep 17 00:00:00 2001 From: thdox Date: Thu, 26 Feb 2015 21:36:21 +0100 Subject: [doc] Use @option consistently. [ci skip] --- doc/ledger-mode.texi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/ledger-mode.texi b/doc/ledger-mode.texi index ddd29ce6..6daf7601 100644 --- a/doc/ledger-mode.texi +++ b/doc/ledger-mode.texi @@ -868,7 +868,7 @@ recurrence relation to be specified. The day names are two character codes that default to Mo, Tu, We, Th, Fr, Sa, Su, for Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday respectively. You can change the codes to something more convenient for your locale by -customizing the ledger @var{ledger-schedule-week-days}. They must be two +customizing the ledger @option{ledger-schedule-week-days}. They must be two characters long. @@ -953,7 +953,7 @@ false toggle between uncleared and cleared @samp{*}. @item ledger-reconcile-default-date-format Date format for the reconcile buffer. Defaults to -ledger-default-date-format. +@option{ledger-default-date-format}. @item ledger-reconcile-target-prompt-string Prompt for recon target. Defaults to "Target amount for reconciliation ". @@ -969,8 +969,8 @@ are date, status, code, payee, account, amount. The format for each field is %WIDTH(FIELD), WIDTH can be preceded by a minus sign which mean to left justify and pad the field. WIDTH is the minimum number of characters to display; if string is longer, it is not truncated unless -ledger-reconcile-buffer-payee-max-chars or -ledger-reconcile-buffer-account-max-chars is defined. Defaults to +@option{ledger-reconcile-buffer-payee-max-chars} or +@option{ledger-reconcile-buffer-account-max-chars} is defined. Defaults to "%(date)s %-4(code)s %-50(payee)s %-30(account)s %15(amount)s\n" @item ledger-reconcile-buffer-payee-max-chars -- cgit v1.2.3