[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing prog-indentation-context

From: Stefan Monnier
Subject: Re: Removing prog-indentation-context
Date: Mon, 28 Mar 2016 19:24:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>>> In that case, we'd be saddled with (font-lock|syntax-ppss)-dont-widen, but
>> We really should fix this.  `font-lock-dont-widen' is fundamentally
>> broken (it's usually the major mode which tells font-lock not to widen
>> because the major mode has narrowed in a special way, but then the user
>> can re-narrow on top of that and this narrowing *should* be lifted
>> during font-lock, but font-lock-dont-widen prevents it).
> Wouldn't it also be fixed if font-lock and syntax-ppss used prog-widen
> instead of widen?

Probably, yes.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]