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: Stefan Monnier
Subject: bug#16752: 24.3.50; pp-to-string deactivates mark
Date: Sun, 16 Feb 2014 22:11:33 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> My suggestion would free implementors of pp-to-string etc. from doing
> that in every place where they use temporary buffers, which is a very
> frequent paradigm in Emacs.

But it'll break code like

   (let ((buf (current-buffer)))
     (with-temp-buffer
       ...
       (with-current-buffer buf
         (insert "toto"))
       ...))


-- Stefan





reply via email to

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