From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mats Palmgren Newsgroups: gmane.emacs.bugs Subject: bug#24755: 25.1; Selection continues with no mouse button pressed Date: Wed, 26 Oct 2016 23:25:01 +0200 Message-ID: <4c8fd84a-4d04-ca09-d033-c1cf1fdbf5db@gmail.com> References: <4bcf2767-b3e7-05dd-8ef5-80b8af60ca7a@gmail.com> <83inskrbz5.fsf@gnu.org> <83oa26ubu8.fsf@gnu.org> <00613eef-12d2-3272-4e36-da5cd4a1bc21@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1477517205 3844 195.159.176.226 (26 Oct 2016 21:26:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2016 21:26:45 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Thunderbird/49.0 Cc: 24755@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 26 23:26:41 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 1bzViD-0006QD-3n for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Oct 2016 23:26:17 +0200 Original-Received: from localhost ([::1]:37483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzViF-0000WU-KI for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Oct 2016 17:26:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzVi2-0000P9-1M for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 17:26:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzVhy-0001V4-UQ for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 17:26:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzVhy-0001Uv-RR for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 17:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bzVhy-0000Sv-Is for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 17:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mats Palmgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Oct 2016 21:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24755-submit@debbugs.gnu.org id=B24755.14775171131727 (code B ref 24755); Wed, 26 Oct 2016 21:26:02 +0000 Original-Received: (at 24755) by debbugs.gnu.org; 26 Oct 2016 21:25:13 +0000 Original-Received: from localhost ([127.0.0.1]:57949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzVhA-0000Rm-Ox for submit@debbugs.gnu.org; Wed, 26 Oct 2016 17:25:12 -0400 Original-Received: from mail-lf0-f54.google.com ([209.85.215.54]:34316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzVh8-0000Ra-Kp for 24755@debbugs.gnu.org; Wed, 26 Oct 2016 17:25:11 -0400 Original-Received: by mail-lf0-f54.google.com with SMTP id b81so15742521lfe.1 for <24755@debbugs.gnu.org>; Wed, 26 Oct 2016 14:25:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=uTGROLJ+6oQbIIyWpQSzrAFZqIeClmuPRm+Z299iZWw=; b=xTHz6OI4nuxuWym5pLdZFz3QUw+ThOB/wy3gXqsSMkfz/yS+Bx7nuCrPNOyv6rnuC+ T/0CcrEsbCGs9yiH4UYCWwGw/ppYkSn/wXaC/gNoNBM4UAAYDNLAA7fr8cevzJ0+isxh tRiG16+DIjcrSAeClffpMVWxwvwdEZEKoryVFE7wsnfAsJgz14Zln4NNJOe2bY8JsdNL 02nNzQtz1jkX0LtC6+SFx4Q831B3Ry6p5wd4nSNURBSI2roa1uXsF6KQ2zMeIrg2tJei etZXMZXRy1wypcmHNx+SX3wYLSZt5qfX8cWfyxz24jk2Hr8EB9yasbzQV3cyis0sN/ly 2LiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=uTGROLJ+6oQbIIyWpQSzrAFZqIeClmuPRm+Z299iZWw=; b=k7CdNUkbRyL2EIzTS5EdmL1PG7JCqKLkKEXgSdcP0VxK1jc4o/W1xO48odWbns5kmL mCPzCD5K6BpgHJ/TALbYW+jyCYBWDOdeED4kU5tJj5R6IbXWGEbd9ZzE02QMP6U0wWQ/ 07OTidyjUVbcVY7SoDskZrSJ+feeuvkfWIHMY25f3fLiPaxqaKF30IVodIiFk7Wdr8a/ TgaNwTHdXh/RhyXSQwqG8fMwZObw92D2VyP+UVtYCuuPHS9CpgQhjCf3iMBWERPC86w1 JgQVCwzNrraQzmdP0v7x1aOPlIUGyPA52TnaN2RPesMsDjOND44XM3K4WOdI+OBNYa+c kxog== X-Gm-Message-State: ABUngvfn+Z9FGFXlp+GlmeY0PhEAUbzz5M40XO88yvQX3tyHFfbqDHx1LqfSP9K1O+9TIg== X-Received: by 10.25.127.216 with SMTP id a207mr3242431lfd.62.1477517104585; Wed, 26 Oct 2016 14:25:04 -0700 (PDT) Original-Received: from [192.168.88.2] (h-235-34.a149.priv.bahnhof.se. [85.24.235.34]) by smtp.gmail.com with ESMTPSA id h99sm701023lji.39.2016.10.26.14.25.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Oct 2016 14:25:03 -0700 (PDT) In-Reply-To: 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:125053 Archived-At: On 10/26/2016 10:27 PM, Stefan Monnier wrote: >> Fwiw, losing the selection in this situation isn't acceptable to me. >> I'll certainly stay on emacs < 25 until this is fixed to behave as >> it used to. > > Could you explain a bit more of the background for your use-case. > E.g. how/why do you end up pressing `control` on the mouse-release? Sure. While I'm drag-selecting the region I want, I'm unconsciously preparing for the operation I intend to do on that region, mostly C-w to delete it or C-c C-c to comment it out etc, so more often than not I've already pressed Ctrl before I've finished the selection. It's a convenient behavior to not have to time the Ctrl-press exactly, and it also saves me a fraction of a second to do what I intended. :-) > E.g. Is it only/always `control` or are there other modifiers > involved sometimes? Only Control as far as I'm aware. I'm on Linux though, so perhaps there are other modifiers that are frequently used on other platforms, e.g. OSX (Fn, Option, Cmd) that I'm unaware of. > As for a workaround, you should be able to get back the old behavior for > that specific case with > > (global-set-key [C-drag-mouse-1] 'mouse-set-region) Yes, that seems to work, thanks. /Mats