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: Tue, 18 Feb 2014 09:31:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

On Mon, Feb 17 2014, Stefan Monnier wrote:

> After thinking some more about it, I wonder, tho: why don't we just make
> deactivate-mark buffer-local?

After adding (make-variable-buffer-local 'deactivate-mark) to my .emacs
I didn't see any problems.

I noticed that mark is no longer deactivated by C-x C-e or M-C-x in the
*scratch* buffer.  Presumably because prin1 now only modifies the
deactivate-mark variable in the *Messages* buffer.

I also discovered that add-text-properties doesn't deactivate mark. That
was surprising to me because usually changing text properties counts as
modifying the buffer and supposedly "all the primitives that change the
buffer set `deactivate-mark'".

Helmut





reply via email to

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