[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: |
Fri, 14 Feb 2014 20:38:45 +0200 |
> From: Helmut Eller <eller.helmut@gmail.com>
> Date: Fri, 14 Feb 2014 19:27:30 +0100
>
> On Fri, Feb 14 2014, Eli Zaretskii wrote:
>
> >> From: Stefan Monnier <monnier@iro.umontreal.ca>
> >> Date: Fri, 14 Feb 2014 12:42:25 -0500
> >> Cc: 16752@debbugs.gnu.org
> >>
> >> 1- let-bind deactivate-mark in functions like pp-to-string so as to
> >> eliminate those spurious deactivations. But there can be many of
> >> them, and it doesn't solve the problem where the buffer-modification
> >> is done in a non-temporary buffer.
> >> 2- make deactivate-mark buffer-local. This is "The Right Way" but
> >> might introduce new problems.
> >> E.g. we really should deactivate the mark in all the buffers that
> >> have their deactivate-mark set.
> >
> > 3- Save and restore deactivate-mark inside with-temp-buffer, which
> > will probably solve 99.99% of these unexpected side effects.
>
> 4- Introduce something like buffer-disable-undo that disables this
> automatic deactivate-mark updating.
I thought about such a possibility as well, but it sounds less
attractive, because it places the burden on users and Lisp programs.
bug#16752: 24.3.50; pp-to-string deactivates mark, Stefan Monnier, 2014/02/14
- bug#16752: 24.3.50; pp-to-string deactivates mark, Eli Zaretskii, 2014/02/14
- bug#16752: 24.3.50; pp-to-string deactivates mark, Stefan Monnier, 2014/02/14
- bug#16752: 24.3.50; pp-to-string deactivates mark, Eli Zaretskii, 2014/02/15
- bug#16752: 24.3.50; pp-to-string deactivates mark, Stefan Monnier, 2014/02/16
- bug#16752: 24.3.50; pp-to-string deactivates mark, Eli Zaretskii, 2014/02/17
- bug#16752: 24.3.50; pp-to-string deactivates mark, Stefan Monnier, 2014/02/17
- bug#16752: 24.3.50; pp-to-string deactivates mark, Eli Zaretskii, 2014/02/17
- bug#16752: 24.3.50; pp-to-string deactivates mark, Stefan Monnier, 2014/02/17
bug#16752: 24.3.50; pp-to-string deactivates mark, Helmut Eller, 2014/02/18
bug#16752: 24.3.50; pp-to-string deactivates mark, Eli Zaretskii, 2014/02/18
bug#16752: 24.3.50; pp-to-string deactivates mark, Helmut Eller, 2014/02/18