-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 06.01.2011 18:01, schrieb Barry Warsaw: > On Jan 06, 2011, at 09:00 AM, Georg Brandl wrote: > >>Okay, I'll have a look at the customization issue. > > It doesn't appear to affect behavior and I have no idea how to fix it, so I > think it shouldn't block your branch.
OK, it is now merged. >>The problem is that after applying this patch, I see larger files >>mis-highlighted when I open them and jump to somewhere in the middle of the >>buffer (or when the point is placed there automatically on openening, because >>that was my last editing position). > >>Basically, I guess some string boundary isn't recognized, and the highlighting >>string <-> code is reversed: code is highlighted as string, and vice versa. >>It can be "fixed" by moving point into a correctly highlighted region and >>calling `font-lock-fontify-buffer'. > > But with no change to the buffer other than that? Sounds like possibly a bug > in Emacs, though I also vaguely recall that font-lock did or does have some > maximum limit of buffer size on which it operated. I think this was put in at > the time where then-modern machines really couldn't keep up with on-the-fly > highlighting. Meanwhile, I found the bug -- I was trying to do too much at once. But please do test the solution as well. cheers, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk0m9+AACgkQN9GcIYhpnLDTmQCffXCW3F0RA9zwNfzTNQ9fCjch 4tsAn0lQOVYJdSr9jWumRMYZKmPI1gnj =XzXn -----END PGP SIGNATURE----- _______________________________________________ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode