emacs-devel
[Top][All Lists]
Advanced

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

Re: Lifting all buffer restrictions in indentation functions


From: Dmitry Gutov
Subject: Re: Lifting all buffer restrictions in indentation functions
Date: Sat, 9 Dec 2017 00:49:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0

On 12/9/17 12:40 AM, Stephen Leake wrote:

Since MMM needs to change the buffer bounds, why can't it just disregard
the current bounds, instead of relying on the caller to widen first?

I does. But it'll have to rely on indent-line-function, subsequently, not calling widen.

So some other piece of code that runs earlier, has to call widen instead. That's not for MMM's benefit, but for the common user who narrows interactively.



reply via email to

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