[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: |
Michal Nazarewicz |
Subject: |
Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions |
Date: |
Sun, 04 Jan 2015 15:43:59 +0100 |
User-agent: |
Notmuch/0.19~rc1+1~g03aea4f (http://notmuchmail.org) Emacs/25.0.50.1 (x86_64-unknown-linux-gnu) |
On Sun, Jan 04 2015, Dmitry Gutov <address@hidden> wrote:
> On 01/04/2015 04:39 PM, Stefan Monnier wrote:
>>>> (add-hook 'compilation-mode-hook (lambda () (font-lock-mode -1)))
>>> So what is font-lock-global-modes for anyway?
>>
>> I don't know.
>
> For centralized user customization, I believe.
>
> It's a nice pattern: you see all the major modes font-lock-mode won't be
> enabled in. I've copied it in company-mode when users asked for this
> capability.
It doesn't work with derived modes though, does it?
Also, if that's a pattern that's going to be repeated, should there be
some centralised code for handling it?
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał “mina86” Nazarewicz (o o)
ooo +--<address@hidden>--<xmpp:address@hidden>--ooO--(_)--Ooo--
- [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Michal Nazarewicz, 2015/01/03
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Stefan Monnier, 2015/01/03
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Michal Nazarewicz, 2015/01/03
- Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions, Stefan Monnier, 2015/01/03
- 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 <=
- 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, 2015/01/04