From: Alan Mackenzie <acm@muc.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Cc: an0 <an00na@gmail.com>
Subject: Re: font-lock-extend-region-multiline: Args out of range: 0, 0
Date: Tue, 8 Apr 2008 13:11:12 +0000 [thread overview]
Message-ID: <20080408131112.GD2937@muc.de> (raw)
In-Reply-To: <877if8g03e.fsf@localhorst.mine.nu>
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).
next prev parent reply other threads:[~2008-04-08 13:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-08 2:35 font-lock-extend-region-multiline: Args out of range: 0, 0 an0
2008-04-08 6:04 ` David Hansen
2008-04-08 9:29 ` Alan Mackenzie
2008-04-08 9:36 ` David Hansen
2008-04-08 13:11 ` Alan Mackenzie [this message]
2008-04-08 13:10 ` an0
2008-04-08 22:12 ` Johan Bockgård
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080408131112.GD2937@muc.de \
--to=acm@muc.de \
--cc=an00na@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.