[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font-lock in COMINT modes
From: |
JD Smith |
Subject: |
Re: Font-lock in COMINT modes |
Date: |
Mon, 11 Dec 2006 09:22:16 -0700 |
User-agent: |
Pan/0.14.2.91 (As She Crawled Across the Table) |
On Fri, 08 Dec 2006 23:02:29 -0500, Stefan Monnier wrote:
>> I haven't understood how a purely nil font-lock-defaults implicitly
>> prevents string+comment fontification independent of the keywords-only
>> setting, but it does.
>
> Because if it's nil font-lock-mode-internal is not activated at all. AFAIK
> nil and (nil t) are equivalent (i.e. don't highlight anything), except
> that (nil t) takes a lot more CPU to do nothing (it runs all the
> font-lock-foo-function hooks, enables jit-lock so as to do nothing
> just-in-time rather than eagerly, checks where nothing needs to be done,
> rounds up to a whole number of lines the region upon which inaction is
> requested, checks if there's a multiline entity and extends the region
> even more, so that nothing is done in a multiline awaer way, ...).
Classic ;).
My presumption is that '(nil) and nil must differ in some other
way (aside from the unintended side effect of changing the default
non-keyword fontification), since the original change from Sept.
explicitly bound f-l-defaults non-nil, which by inference suggests nil and
'(nil t) would exhibit this same difference, whatever it is.
- Font-lock in COMINT modes, JD Smith, 2006/12/06
- Re: Font-lock in COMINT modes, JD Smith, 2006/12/07
- Re: Font-lock in COMINT modes, JD Smith, 2006/12/07
- Re: Font-lock in COMINT modes, Richard Stallman, 2006/12/08
- Re: Font-lock in COMINT modes, JD Smith, 2006/12/08
- Re: Font-lock in COMINT modes, Stefan Monnier, 2006/12/08
- Re: Font-lock in COMINT modes,
JD Smith <=
- Re: Font-lock in COMINT modes, Richard Stallman, 2006/12/12
- Message not available
- Re: Font-lock in COMINT modes, Richard Stallman, 2006/12/18
- Re: Font-lock in COMINT modes, Chong Yidong, 2006/12/18
- Re: Font-lock in COMINT modes, Stefan Monnier, 2006/12/18
- Re: Font-lock in COMINT modes, Richard Stallman, 2006/12/20
- Re: Font-lock in COMINT modes, Stefan Monnier, 2006/12/20
- Re: Font-lock in COMINT modes, Richard Stallman, 2006/12/09