emacs-devel
[Top][All Lists]
Advanced

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

Re: Lisp primitives and their calling of the change hooks


From: Stefan Monnier
Subject: Re: Lisp primitives and their calling of the change hooks
Date: Wed, 10 Jan 2018 14:30:12 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> It's debatable whether it's within the rules or not.  The rules, which
> we so carefully crafted a few days ago, say, in part; "The arguments to
> `before-change-functions' will enclose a region in which the individual
> changes are made, ...".  There will never be any changes made in the
> quasi-deleted region, so to leave it without a balanceing a-c-f call
> could be construed as against the rules.

If so we should clarify the rules to allow for it.  `upcase-region` will
call b-c-f before knowing whether any char will be upcased, and I think
we do want to allow that kind of behavior.


        Stefan



reply via email to

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