[Top][All Lists]

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

Re: Removing prog-indentation-context

From: Dmitry Gutov
Subject: Re: Removing prog-indentation-context
Date: Tue, 29 Mar 2016 01:55:59 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 03/29/2016 01:08 AM, Stefan Monnier wrote:
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?

reply via email to

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