From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kelly Dean Newsgroups: gmane.emacs.bugs Subject: bug#19513: shift-select-mode fails to be fully buffer-local Date: Sun, 25 Jan 2015 08:50:35 +0000 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422175932 7549 80.91.229.3 (25 Jan 2015 08:52:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2015 08:52:12 +0000 (UTC) To: 19513@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 09:52:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YFIvR-00080x-Ay for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2015 09:52:09 +0100 Original-Received: from localhost ([::1]:37151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFIvQ-0000Kb-Iv for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2015 03:52:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFIvN-0000KC-HO for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 03:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFIvK-0003yw-Ar for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 03:52:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFIvK-0003yq-7I for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 03:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YFIvJ-00044U-JT for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 03:52:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Kelly Dean Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jan 2015 08:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19513 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19513-submit@debbugs.gnu.org id=B19513.142217590915631 (code B ref 19513); Sun, 25 Jan 2015 08:52:01 +0000 Original-Received: (at 19513) by debbugs.gnu.org; 25 Jan 2015 08:51:49 +0000 Original-Received: from localhost ([127.0.0.1]:55586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YFIv6-000443-Jq for submit@debbugs.gnu.org; Sun, 25 Jan 2015 03:51:48 -0500 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:35831) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YFIv4-00043t-2T for 19513@debbugs.gnu.org; Sun, 25 Jan 2015 03:51:46 -0500 Original-Received: from mfilter34-d.gandi.net (mfilter34-d.gandi.net [217.70.178.165]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 088C041C064 for <19513@debbugs.gnu.org>; Sun, 25 Jan 2015 09:51:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter34-d.gandi.net Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter34-d.gandi.net (mfilter34-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 2imI8DurgKzL for <19513@debbugs.gnu.org>; Sun, 25 Jan 2015 09:51:43 +0100 (CET) X-Originating-IP: 66.220.3.179 Original-Received: from localhost (gm179.geneticmail.com [66.220.3.179]) (Authenticated sender: kelly@prtime.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id C2B8641C053 for <19513@debbugs.gnu.org>; Sun, 25 Jan 2015 09:51:42 +0100 (CET) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98697 Archived-At: The bug was caused because handle-shift-selection sets transient-mark-mode globally to a cons with 'only as the car, then when the motion command occurs in the other buffer, handle-shift-selection sets transient-mark-mode globally to remove that cons, so back in the first buffer, when handle-shift-selection is called again, the cons is gone, so there's no trigger to deactivate the mark. Setting transient-mark-mode buffer-locally instead of globally fixes the bug. I was about to send a patch, but when I checked to make sure it applied to trunk, I discovered Stefan already fixed this bug in commit 5d2638bd in June 2014--more than three months before 24.4 was released.