From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24563: kill-region fails while dragging a selection Date: Thu, 29 Sep 2016 18:35:46 +0300 Message-ID: <8360peoh0t.fsf@gnu.org> References: <1475087444.2530471.739981057.71960B2F@webmail.messagingengine.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1475163380 25026 195.159.176.226 (29 Sep 2016 15:36:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 29 Sep 2016 15:36:20 +0000 (UTC) Cc: 24563@debbugs.gnu.org To: Phil Ruffwind Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 29 17:36:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpdNe-0005ml-U5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Sep 2016 17:36:15 +0200 Original-Received: from localhost ([::1]:38824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpdNd-0004kW-9S for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Sep 2016 11:36:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpdNU-0004kO-1j for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2016 11:36:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpdNS-0000iR-BN for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2016 11:36:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpdNS-0000iN-7g for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2016 11:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bpdNS-0006Yq-3e for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2016 11:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Sep 2016 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24563 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24563-submit@debbugs.gnu.org id=B24563.147516335625203 (code B ref 24563); Thu, 29 Sep 2016 15:36:02 +0000 Original-Received: (at 24563) by debbugs.gnu.org; 29 Sep 2016 15:35:56 +0000 Original-Received: from localhost ([127.0.0.1]:38929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpdNM-0006YR-KC for submit@debbugs.gnu.org; Thu, 29 Sep 2016 11:35:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpdNK-0006YB-Le for 24563@debbugs.gnu.org; Thu, 29 Sep 2016 11:35:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpdNB-0000gW-LK for 24563@debbugs.gnu.org; Thu, 29 Sep 2016 11:35:49 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpdNB-0000gK-DD; Thu, 29 Sep 2016 11:35:45 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1964 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bpdN9-0003Jq-96; Thu, 29 Sep 2016 11:35:43 -0400 In-reply-to: <1475087444.2530471.739981057.71960B2F@webmail.messagingengine.com> (message from Phil Ruffwind on Wed, 28 Sep 2016 14:30:44 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:123763 Archived-At: > From: Phil Ruffwind > Date: Wed, 28 Sep 2016 14:30:44 -0400 > > Emacs 25.1 seems to have changed the behavior of doing kill-region (C-w) > while dragging a selection in GUI mode. Here are the steps to > reproduce: > > 1. Run Emacs in GUI mode via: emacs -Q > 2. Type: M-x set-variable mark-even-if-inactive nil > 3. Open a file containing some text. > 4. Make a selection using the mouse, but do NOT release the mouse > button. > 5. Type: C-w. > > In Emacs 24.5, this would initially do nothing, but pressing C-w a > second time will kill the selected region correctly. > > In Emacs 25.1, this fails with "The mark is not active now" and > deselects the region. Why is this a bug? Neither of the two behaviors is AFAIK documented, so either could be correct. I agree that the behavior changed, most probably because both the implementation of region highlight and the binding of commands to the mouse have changed in Emacs 25.1. But is there a reason not to get along with the new behavior? Thanks for reporting this.