From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs 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 Message-ID: <873adnq21x.fsf@cyd.mit.edu> References: <8763imney9.fsf@cyd.mit.edu> <200903070424.n274OUHr018900@rodan.ics.uci.edu> <871vt8ngsc.fsf@cyd.mit.edu> <200903081836.n28IafjE014299@rodan.ics.uci.edu> Reply-To: Chong Yidong , 2449@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236539100 29691 80.91.229.12 (8 Mar 2009 19:05:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Mar 2009 19:05:00 +0000 (UTC) Cc: 2449@emacsbugs.donarmstrong.com, Matthieu Moy To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 08 20:06:17 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LgOJT-0001xW-JR for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Mar 2009 20:05:52 +0100 Original-Received: from localhost ([127.0.0.1]:54870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgOI8-00060S-5d for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Mar 2009 15:04:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgOHr-0005sB-Ab for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2009 15:03:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgOHp-0005q5-Nb for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2009 15:03:46 -0400 Original-Received: from [199.232.76.173] (port=49728 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgOHo-0005po-VC for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2009 15:03:45 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60239) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LgOHo-0002uS-2M for bug-gnu-emacs@gnu.org; Sun, 08 Mar 2009 15:03:44 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n28J3exT028819; Sun, 8 Mar 2009 12:03:40 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n28J045f027718; Sun, 8 Mar 2009 12:00:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 08 Mar 2009 19:00:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2449 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2449-submit@emacsbugs.donarmstrong.com id=B2449.123653832526292 (code B ref 2449); Sun, 08 Mar 2009 19:00:04 +0000 Original-Received: (at 2449) by emacsbugs.donarmstrong.com; 8 Mar 2009 18:52:05 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n28Iq2Uf026281 for <2449@emacsbugs.donarmstrong.com>; Sun, 8 Mar 2009 11:52:03 -0700 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 1D37857E205; Sun, 8 Mar 2009 14:53:14 -0400 (EDT) In-Reply-To: <200903081836.n28IafjE014299@rodan.ics.uci.edu> (Dan Nicolaescu's message of "Sun, 8 Mar 2009 11:36:41 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 08 Mar 2009 15:03:46 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26143 Archived-At: Dan Nicolaescu 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.