[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#2449: 23.0.90; Disabling transient-mark-mode doesn't work well in an
From: |
Chong Yidong |
Subject: |
bug#2449: 23.0.90; Disabling transient-mark-mode doesn't work well in ansi-term |
Date: |
Sun, 08 Mar 2009 14:53:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Dan Nicolaescu <dann@ics.uci.edu> writes:
> I think we are miscommunicating here. The problem in this case happens
> when transient-mark-mode is NOT active.
>
> Has something changed in the way the transient mark is handled even when
> transient-mark-mode is inactive?
That's what I'm trying to explain. Mouse selection now uses the
(only. OLDVAL) mechanism implemented part of the shift-selection changes
installed many months ago:
*** If a command sets `transient-mark-mode' to (only . OLDVAL), that
means to activate transient-mark-mode temporarily, until the next
unshifted point motion command or mark deactivation. Afterwards,
reset transient-mark-mode to the value OLDVAL. The values `only' and
`identity', introduced in Emacs 22, are now deprecated.
Mouse-selection is now a little "stickier", and this behavior is good in
most cases. But the way ansi-term is set up, the mark never gets
deactivated. That's why this bug occurs.