From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>
Cc: 8626@debbugs.gnu.org
Subject: bug#8626: 24.0.50; (elisp) Region to Fontify after a Buffer Change - Why a child of Multiline Font Lock?
Date: Fri, 6 May 2011 07:01:25 -0700 [thread overview]
Message-ID: <078B0330CA3C43959F4638AC9055DB76@us.oracle.com> (raw)
In-Reply-To: <jwvipto2ba7.fsf-monnier+emacs@gnu.org>
> > This node says zero about multiline font lock. No apparent
> > relation between the two. If there is a relation,
> > then it needs to be pointed out.
>
> I'm not sure what more you need. It already says:
>
> When a buffer is changed, the region that Font Lock refontifies is
> by default the smallest sequence of whole lines that spans
> the change.
> While this works well most of the time, sometimes it doesn't---for
> example, when a change alters the syntactic meaning of text on an
> earlier line.
What limits the import of this node to multiline font-lock? Nothing that I can
see.
This text simply says that the refontification is for a set of (presumably
contiguous) whole lines. One can read between the lines to see that it might
not work well for - among other things - multiline font-lock. But there is
nothing about the text in this node that limits it to multiline font-lock.
This node is about refontification after buffer changes. It is not, logically,
a subnode of `Multiline Font Lock Constructs'.
The info here belongs in or under node `Change Hooks', or possibly somewhere
else in the font-lock section of the manual. You can link to this text from the
multiline font-lock section.
And I suggest adding explicitly, after the last line you quoted, that in
particular this is often the case for multiline font-lock.
next prev parent reply other threads:[~2011-05-06 14:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 22:21 bug#8626: 24.0.50; (elisp) Region to Fontify after a Buffer Change - Why a child of Multiline Font Lock? Drew Adams
2011-05-06 13:46 ` Stefan Monnier
2011-05-06 14:01 ` Drew Adams [this message]
2011-05-06 14:46 ` Stefan Monnier
2011-05-06 15:00 ` Drew Adams
2011-05-06 17:20 ` Stefan Monnier
2011-07-15 13:24 ` Lars Magne Ingebrigtsen
2011-07-15 14:30 ` Drew Adams
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=078B0330CA3C43959F4638AC9055DB76@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=8626@debbugs.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.