From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Levels of font lock – Dired, Dired+ and Diredful
Date: Mon, 22 May 2017 23:22:22 -0400 [thread overview]
Message-ID: <jwvwp98b6u1.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: CAP_d_8UqsBbcZ8Xya0184c4ozRWpURpe25Zt2ooJpZDh6RTzrw@mail.gmail.com
> There is a concept of levels of font lock. A major mode sets up three
> lists of keywords in a buffer-local ‘font-lock-defaults’ variable.
Yes, but it's poorly supported, as you've seen.
Personally I find it to be misguided, anyway: it'd be better for the
"font-lock-keywords" to depend on config vars so you can affect the
various parts independently. But this requires a redesign of
font-lock-keywords and noone's been very interested in going down
that route. Such a redesign could be very useful, tho, e.g. allowing
better debugging (or even edebug-ing).
Stefan
prev parent reply other threads:[~2017-05-23 3:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-22 9:48 Levels of font lock – Dired, Dired+ and Diredful Yuri Khan
2017-05-23 3:22 ` Stefan Monnier [this message]
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=jwvwp98b6u1.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/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.