OK, I see what you are talking about. It is actually different from what I see on mine. But the font handling is going to get a thorough thrashing here soon (as soon as I can figure it out!). So that bug will probably gut replaced with a different one or five...
On Thu, Jan 31, 2013 at 12:52 PM, Christopher Allan Webber < [email protected]> wrote: > Okay, Glad to hear about the improved highlighting work. However I'm > not sure what you said is true... > > If you look at the PNG I sent, it's inconsistent: the first and second > transactions are *both* cleared, but they are not highlighted in the > same way. It seems to me that entry #2 shouldn't be blue on the line > that says "Another expense". But maybe I don't understand! > > I've noticed several things that affect the way highlighting work: > - whether there's a comment immediately before the entry > - whether or not I just typed the entry in or it was already there > - magical incantations from wizards > > Anyway... thanks for working on ledger's emacs mode! I do really > appreciate it. :) > > - Chris > > Craig Earls writes: > > > That is the current design for highlighting. It highlight transactions > > that haven't cleared. I am starting on a project to improve the font > lock > > capabilities that will allow everyone to have what they like. It will > take > > a bit of time. > > > > > > On Wed, Jan 30, 2013 at 2:53 PM, Christopher Allan Webber < > > [email protected]> wrote: > > > >> Heya, > >> > >> I don't know if there's something really goofy about my situation, but > >> on all computers I have this problem with font locking in ledger. > >> Things seem to behave right generally, but are highilighted incorrectly. > >> > >> (Never mind the nonsense "another expense" when I'm getting income in > >> the transactions, this is just a made-up file put together quickly) > >> > >> I've attached a screenshot. I've had this issue ever since the > >> ledger-mode rewrite a long while ago. My files run fine through ledger, > >> but the highlighting is always goofy, even if I load emacs with > >> "emacs -q" > >> > >> Is the highlighting just fine for everyone else somehow? > >> > >> Even goofier: If I hit enter a few times before a transaction, usuallly > >> it fixes itself. > >> > >> I have no idea why this happens. But it happens in all my files, and it > >> makes editing them kind of annoying on the eyes! Is it just me, or is > >> buggy syntax highlighting a known issue? > >> > >> -- > >> > >> --- > >> 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/groups/opt_out. > >> > >> > >> > > > > > > -- > > 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/groups/opt_out. > > > -- 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/groups/opt_out.
