[ sorry if you get this twice; I think I got my `reply' commands in a twist. ]
Craig Earls <[email protected]> writes: > OK, I have gotten all of these. I will look into handling block > comments as blocks. Right now it only honors them as line when > overlaying the highlight. Thank you! It's getting much better. The issues below are more minor, at least for my use, but still suboptimal... * with the attached file, navigate to the line with ";;;;; 2006" in it, move to the next line (C-n), hit RET to create a blank line, and start typing a transaction, for example "2006/01/01 Foo". Until the `F' of `Foo' is typed, the text is in comment-face. Similarly, when adding posts, for example " Assets:Bar $1" RET " Assets:Baz $-1" RET, the first account name is in comment-face until the double-space, and the second is in the same face as the amount. * having typed in a complete transaction (preceding the two price directive lines), everything should be in an appropriate face; thank you! If I now try navigating between transactions and directives, using M-p / M-n, there are a couple of odd bits of behaviour: - if I use M-n to go to the end of the buffer, I end up on the last line with no transaction highlighted. At that point, if I hit M-p, I don't go back to the last transaction in the file, but the penultimate one. I think that's odd. It's a general problem; when point is between transactions, it seems to be counted as being within the last transaction. - relatedly, if I add a couple of blank lines between the "Opening balance" and "Interest" transactions, and then navigate to the line "2006/03/10 Opening balance", I see the transaction overlay covering all but one of the blank lines as well as the posting lines. If I then go past the postings to the first blank line, the transaction overlay shows just that line. - with the new complete transaction before the price directive lines, I can navigate forward through transactions and directives with M-n. M-p, which I would expect to be the inverse of M-n, skips directive lines -- so I can navigate forward through price directives, but if I go one too far and try to do the inverse operation with M-p, I end up at the previous transaction. (This is actually substantially worse if I put price directives between the opening balance and the interest lines; if I do that, have point on the price directive line, and hit M-p, the cursor is moved to the new Foo transaction. Best wishes, Christophe -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
;;;;; Examples ;; ;; Monthly income/expense totals, excluding exceptional income: ;; ledger -BEMn register \( Income or Expenses \) and not \( Trust or Income:Gifts \) ;; ;; Sums for household reconciliation: ;; ledger -BE --begin 2011/05/03 --end 2011/06/02 register Expenses:Household: ;; ledger -BEMn register Expenses:Household ;; ;; Oyster topups: ;; ledger -BEMn register Expenses:Transport and payee TfL ;; ;; Normal income/expenses for unpaid Teclo period: ;; ledger -BER --begin 2010/09/01 --end 2011/07/31 bal \( Income or Expenses \) and not \( Trust or Income:Gifts or Income:.*:Interest \) ;; ;; Teclo expenses register report: ;; ledger -BR register Reimbursements:Teclo ;; ;; Yearly summaries: ;; ledger -BR --begin 2011-04-06 --end 2012-04-05 bal Income:Taxable ;; ledger -BR --begin 2011-04-06 --end 2012-04-05 --by-payee reg Income:Taxable ;; ledger -BR --begin 2011-04-06 --end 2012-04-05 print @Halifax and Interest | ledger -f - bal ;; ledger -BR --begin 2011-04-06 --end 2012-04-05 print @Halifax and Reward | ledger -f - bal ;; ledger -BR --begin 2011-04-06 --end 2012-04-05 print @Halifax and Income | ledger -f - bal ;; ledger -BR --begin 2011-04-06 --end 2012-04-05 print @Goldsmiths and Income | ledger -f - bal ;; ledger -BR --begin 2011-04-06 --end 2012-04-05 print @Teclo and Income | ledger -f - bal ;; ledger -BR --begin 2011-04-06 --end 2012-04-05 print @University\ of\ London and Income | ledger -f - bal ;;;;; 2006 P 2006/03/04 $ £1.99 P 2006/03/04 € £1.89 2006/03/10 Opening balance Assets:54945/23481 £4000 Equity:Opening Balance 2006/05/15 Interest Income:Taxable:Interest £-28.75 Expenses:Tax:Income Tax £5.75 Assets:54945/23481 -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
