all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Stephen Leake <stephen_leake@stephe-leake.org>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: Lifting all buffer restrictions in indentation functions
Date: Sat, 9 Dec 2017 00:49:09 +0200	[thread overview]
Message-ID: <33f36be5-fd79-7a19-718b-b68a798f602f@yandex.ru> (raw)
In-Reply-To: <86609g9738.fsf@stephe-leake.org>

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	other threads:[~2017-12-08 22:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-08 16:51 Lifting all buffer restrictions in indentation functions Eli Zaretskii
2017-12-08 17:03 ` Stefan Monnier
2017-12-08 20:02   ` Eli Zaretskii
2017-12-08 20:47     ` Stefan Monnier
2017-12-09  8:24       ` Eli Zaretskii
2017-12-09 15:19         ` Stefan Monnier
2017-12-08 17:38 ` Robert Weiner
2017-12-08 17:50   ` Stefan Monnier
2017-12-08 22:40 ` Stephen Leake
2017-12-08 22:49   ` Dmitry Gutov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33f36be5-fd79-7a19-718b-b68a798f602f@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=stephen_leake@stephe-leake.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.