From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#38013: [PATCH] Rectangular region selection with mouse Date: Thu, 7 Nov 2019 12:46:22 -0800 (PST) Message-ID: References: <83lft0m3ug.fsf@gnu.org> <3541E0E8-9E33-4FBD-B0D9-DFF77C241F6F@acm.org> <83y2wzlorw.fsf@gnu.org> <83v9s3lo5f.fsf@gnu.org> <75EC4FBC-F636-4D75-BAC4-982D85188794@acm.org> <9b9222ad-ead7-d0a0-0602-780d0680f070@gmx.at> <6bf229f4-c22f-c3c2-5158-5235f908de3c@gmx.at> <8ec84837-172c-1ce5-cab0-b4c96a86274e@gmx.at> <411EAB4E-B666-4263-8514-5F47391268B1@acm.org> <2df02c1f-fea4-f764-eba6-fd67de581755@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="270108"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38013@debbugs.gnu.org To: martin rudalics , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 07 21:47:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iSogT-00188i-AC for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Nov 2019 21:47:13 +0100 Original-Received: from localhost ([::1]:48028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSogR-0008DY-UT for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Nov 2019 15:47:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48104) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSogK-0008DJ-9A for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 15:47:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSogI-0004DH-EC for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 15:47:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35157) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSogI-0004Ct-9X for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 15:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSogI-0000L9-2r for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2019 15:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Nov 2019 20:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38013 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 38013-submit@debbugs.gnu.org id=B38013.15731596031281 (code B ref 38013); Thu, 07 Nov 2019 20:47:02 +0000 Original-Received: (at 38013) by debbugs.gnu.org; 7 Nov 2019 20:46:43 +0000 Original-Received: from localhost ([127.0.0.1]:43978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSofy-0000Kb-Tv for submit@debbugs.gnu.org; Thu, 07 Nov 2019 15:46:43 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:54948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSofp-0000KF-2M for 38013@debbugs.gnu.org; Thu, 07 Nov 2019 15:46:33 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xA7KiBBc160220; Thu, 7 Nov 2019 20:46:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=m4sbZKzpC6Iv6D2zCPiztyA9efjVV+MQ5/sYR3/2pRc=; b=By9JL/QByS51vwWOtP17NNn7aGbv13zT/mELLFXMRubbQkfFWHvAR2xH6uSC4ThtfAtH G0zA7WVsX6QHXcoNY82DWIp0XEOMsX/3C7T5WzXM+kJBHR1cOTkAEQRYG6jCDQyla4ap bwVgtvhPpHbXwiL9wzHrJ4RLisw07i8EHH1LlC1jm9X7AwHMqHXXjTbHndztksWKqHkc YNo+iMCJ+j9sfuDvFFUODd7Q3U4shryOgYAIqa5Tq6k7nhoevKFUKtm5ojCoDx7A06aY GZ83svqMwaXkam3YmikF/+jJII6QUN0xySROMiYfZxOGNKU8qkSt6rxnM3111fmaVc0I ug== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2w41w10xwj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Nov 2019 20:46:25 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xA7KheQa137479; Thu, 7 Nov 2019 20:46:24 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 2w41wj539h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Nov 2019 20:46:24 +0000 Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id xA7KkNeN014485; Thu, 7 Nov 2019 20:46:23 GMT In-Reply-To: <2df02c1f-fea4-f764-eba6-fd67de581755@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4900.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9434 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=849 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1910280000 definitions=main-1911070194 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9434 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=927 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1910280000 definitions=main-1911070195 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: 209.51.188.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:171110 Archived-At: > For me mouse-3 is the preferred button to pop up a menu. I never use > mouse-3 to extend the selection because I'm not used to switch mouse > buttons during one and the same action. (Replying just about this: mouse-3.) Vanilla Emacs hard-wires the behavior to kill or delete the region (depending on the value of `mouse-drag-copy-region'). That action can be handy, but it's sometimes inappropriate (e.g., in a read-only buffer). In any case, it is only one possible action; there are often other actions on the selected text that you might want to take. See `mouse3.el'. You can use mouse-3 for both a contextual pop-up menu and for extending the selection. https://www.emacswiki.org/emacs/Mouse3