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: Eli Zaretskii
Subject: bug#16752: 24.3.50; pp-to-string deactivates mark
Date: Sat, 15 Feb 2014 09:14:42 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: eller.helmut@gmail.com,  16752@debbugs.gnu.org
> Date: Fri, 14 Feb 2014 16:00:34 -0500
> 
> > 3- Save and restore deactivate-mark inside with-temp-buffer, which
> >    will probably solve 99.99% of these unexpected side effects.
> 
> While with-temp-buffer is not technically a function, I'd count it as
> covered by point number 1 ;-)

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.





reply via email to

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