I will look into these. M-p and M-n are really next and previous xact, not directive. But it should be consistent.
On Sat, Nov 15, 2014 at 2:37 PM, Christophe Rhodes <[email protected]> wrote: > [ 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. > -- Craig, Corona De Tucson, AZ enderw88.wordpress.com -- --- 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.
