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: Clément Pit-Claudel
Subject: Re: Lisp primitives and their calling of the change hooks
Date: Wed, 10 Jan 2018 17:06:57 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On 2018-01-10 14:48, Alan Mackenzie wrote:
> At the moment, non-balancing b/a-c-f are used only in primitives which
> can't change the length of the buffer - things like
> translate-region-internal and upcase-region.

Sorry if I missed previous parts of the discussion that make the following 
irrelevant: in a buffer containing "Straße" a call to (buffer-size) returns 6, 
and a call to (buffer-size) after C-x h M-x upcase-region returns 7 (because 
the text becomes STRASSE).  Does this contradict your assertion above? Does it 
matter?

(Additionally, and likely unrelatedly, the region boundaries after running 
upcase-region on that example seem wrong — they don't include the 'E').

Clément.





reply via email to

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