bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#66006: 30.0.50; (setf (buffer-string) "text") doesn't respect narrow


From: Stefan Monnier
Subject: bug#66006: 30.0.50; (setf (buffer-string) "text") doesn't respect narrowing
Date: Fri, 15 Sep 2023 15:00:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

>> (buffer-string) behaves different in a call vs setf-ing.
>> In the former case, it respects narrowing, but when using setf, it
>> replaces the entire buffer. To be honest, I don't know if it should set
>> only the narrowed region (from a correctness point of view, maybe it is
>> expected for setf to do the whole thing). But if it won't, the
>> difference in behaviour should probably be documented.
> Adding Stefan.

I think we don't want to fix this because:

    (make-obsolete-generalized-variable 'buffer-string nil "29.1")


-- Stefan






reply via email to

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