On Apr 6, 2005 8:46 AM, Lute Kamstra <[EMAIL PROTECTED]> wrote: > I've got a sneaky suspicion that something goes awry with the > interaction between font-locking and the code in > grep-mode-font-lock-keywords that removes the escape sequences.
That sounds likely. The technique that grep.el uses (deleting characters inside a font-lock expr) seems highly dodgy to me -- it seems obvious that it will fail sometimes unless it's guaranteed that the text to be matched only gets inserted in a controlled manner, and there seems to be no attempt to do so. [I suppose there may also be some uncertainty due to the vagaries of jit-lock.] It would seem much safer to do the translation of escape sequences to text-properties in the process filter (maybe it could add a `font-lock-face' property, so that the displayed result would honor font-lock-mode). -Miles -- Do not taunt Happy Fun Ball. _______________________________________________ Emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
