[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functi
From: |
Stefan Monnier |
Subject: |
Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions |
Date: |
Sun, 04 Jan 2015 20:49:16 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> My version is more complicated: in some cases we might want derived modes to
> be affected, in others not. A graphical interface for picking the modes and
> modifiers might turn out to be more confusing than editing the Lisp form.
I don't think we want that level of control in this kind of simple UI,
because it complexifies it for a very rare case anyway: it's not worth
the trouble.
>> That's no worse than the current font-lock-global-modes.
> It makes no pretence of solving that problem, though. Often that's
> better than solving a problem halfway (no misconceptions for the
> user).
I didn't mean to claim that it solves this problem. I only meant it as
a way to add elements to major-mode modes hooks, but seen from the point
of the view of "the element versus all the modes on which it can apply"
(and then remove the things you added this way).
It shouldn't try to recognize elements added via some other way
than Custom.
Stefan
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, (continued)
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Michal Nazarewicz, 2015/01/04
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Stefan Monnier, 2015/01/04
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Dmitry Gutov, 2015/01/04
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Michal Nazarewicz, 2015/01/04
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Dmitry Gutov, 2015/01/04
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Stefan Monnier, 2015/01/04
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Dmitry Gutov, 2015/01/04
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Stefan Monnier, 2015/01/04
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Dmitry Gutov, 2015/01/04
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Dmitry Gutov, 2015/01/04
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions,
Stefan Monnier <=