emacs-devel
[Top][All Lists]
Advanced

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

Re: font-lock-extend-region-multiline: Args out of range: 0, 0


From: an0
Subject: Re: font-lock-extend-region-multiline: Args out of range: 0, 0
Date: Tue, 8 Apr 2008 21:10:28 +0800

Yes, it occurs in trunk head.
And it seems you've figure out the cause so that I'm not giving any
more detailed information here.
Hope you and Stefan could fix this asap.
Thanks.

On Tue, Apr 8, 2008 at 9:11 PM, Alan Mackenzie <address@hidden> wrote:
> Hi, Stefan and Emacs!
>
>
>  > On Tue, Apr 08, 2008 at 10:35:57AM +0800, an0 wrote:
>  >> I met this error [font-lock-extend-region-multiline: Args out of
>  >> range: 0, 0] when I use `smart-compile' on a cpp file.
>
>  This error happens in very recent CVS Emacsen because CC Mode has just
>  started using font-lock-after-change-extend-region-function.  This
>  variable is not buffer local, and it thus fouled up the compilation log
>  buffer.
>
>  Stefan, this variable was originally buffer local.  When you moved it
>  from font-core.el V1.41 to font-lock.el V1.299 on 2006-08-01, you
>  removed the buffer locality (modifying the doc string to indicate this).
>  Can you remember why?
>
>  I can't see any reason why it would ever be useful for
>  font-lock-after-change-extend-region-function not to be buffer local.  I
>  think it would be best to make it buffer local in font-lock.el.
>
>  --
>  Alan Mackenzie (Nuremberg, Germany).
>




reply via email to

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