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

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

bug#16752: 24.3.50; pp-to-string deactivates mark


From: Helmut Eller
Subject: bug#16752: 24.3.50; pp-to-string deactivates mark
Date: Fri, 14 Feb 2014 12:23:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

On Fri, Feb 14 2014, Eli Zaretskii wrote:

>> From: Helmut Eller <eller.helmut@gmail.com>
>> Cc: 16752@debbugs.gnu.org
>> Date: Fri, 14 Feb 2014 12:02:33 +0100
>> 
>> >> (list deactivate-mark
>> >>       (pp-to-string '1)
>> >>       deactivate-mark)
>> >> 
>> >> returns (nil "1" t).  Deactivating the mark is a surprising and
>> >> unnecessary side effect.
>> >
>> > _Any_ change to _any_ buffer will set deactivate-mark, which is a
>> > global variable.
>> 
>> What has that do to with pp-to-string?  I didn't ask for _any_ change to
>> _any_ buffer.
>
> See pp-buffer, which is called by pp-string.  You asked for pp-string,
> which does its job using a temporary buffer.

So you're saying that it's not a bug that pp-to-string modifies
deactivate-mark?

Helmut






reply via email to

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