emacs-devel
[Top][All Lists]
Advanced

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

Re: [SUSPECTED SPAM] Re: [Emacs-diffs] scratch/widen-less a4ba846: Repla


From: Stefan Monnier
Subject: Re: [SUSPECTED SPAM] Re: [Emacs-diffs] scratch/widen-less a4ba846: Replace prog-widen with consolidating widen calls
Date: Mon, 11 Dec 2017 10:31:09 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> FWIW, I think I misunderstood the prog-indentation-context documentation
> when doing this work.  But also, narrowing in mhtml seems mildly more
> convenient; most likely the other approach would have been to narrow in
> each sub-mode's indent-line-function.

That's the idea: rather than have every indentation function do the
narrowing itself, it's done once and for all in the MMM (mhtml in this
case).  This way, most major modes will "magically" work without any
MMM-specific code.


        Stefan




reply via email to

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