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

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

bug#20260: 24.4.1; Triple-clicking selects and deselects the line in wei


From: Stefan Monnier
Subject: bug#20260: 24.4.1; Triple-clicking selects and deselects the line in weird situations
Date: Wed, 08 Apr 2015 10:26:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> The patch does indeed fix the test case for me, but the real use case
> stays unchanged.

Hmm... Can you provide another recipe that still isn't fixed with the patch?

> Meanwhile, I've found a way to make the test case pass on 24.4,
> let-binding `deactivate-mark`:

Yes, that works around the problem, but it shouldn't be necessary in Emacs-25.

The workaround you use was needed in many places: deactivate-mark was
global, so modifying one buffer could end up deactivating the mark in
some unrelated buffer.  In Emacs-25, we've changed it to be
buffer-local, so modifications in one buffer should not affect the
activation of the mark in another any more.

> Why it is needed in 24.4, but not in 24.3 is beyond my
> understanding of Emacs.

I don't know either, actually.


        Stefan





reply via email to

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