emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I predict which regions xdisp will present me for font-locki


From: Stefan Monnier
Subject: Re: How can I predict which regions xdisp will present me for font-locking?
Date: Mon, 12 Mar 2012 15:25:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

> I hope this isn't one of these "send complete details" questions, but:

> In a file.hpp, inside a 3355 line macro (I kid you not), I type a single
> character.  xdisp responds by presenting jit-lock, successively, with
> four areas to fontify.  (This was determined by
> trace-function-background on `font-lock-fontify-region').

While "complete details" would be nice, just showing the actual four
areas, plus the corresponding position of point (and maybe also the
position of beginning and end of the macro) might be a good starting
point,


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]