From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#38013: [PATCH] Rectangular region selection with mouse Date: Mon, 4 Nov 2019 10:07:17 +0100 Message-ID: <9b9222ad-ead7-d0a0-0602-780d0680f070@gmx.at> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="26473"; mail-complaints-to="usenet@blaine.gmane.org" To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 38013@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 04 10:09:22 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 1iRYMT-0006lO-QW for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Nov 2019 10:09:21 +0100 Original-Received: from localhost ([::1]:58664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRYMS-0005om-AK for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Nov 2019 04:09:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35722) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRYLD-0004rb-Ie for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 04:08:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRYLC-0005ht-7E for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 04:08:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55242) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iRYLC-0005hj-3i for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 04:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iRYLB-0008Ti-QP for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 04:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2019 09:08:01 +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.157285845032547 (code B ref 38013); Mon, 04 Nov 2019 09:08:01 +0000 Original-Received: (at 38013) by debbugs.gnu.org; 4 Nov 2019 09:07:30 +0000 Original-Received: from localhost ([127.0.0.1]:35830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRYKf-0008St-T8 for submit@debbugs.gnu.org; Mon, 04 Nov 2019 04:07:30 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:41781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRYKe-0008Sd-1w for 38013@debbugs.gnu.org; Mon, 04 Nov 2019 04:07:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1572858434; bh=SL7cbZwrVW/xuiFJP9N2UN/k6noai6DeRS9MauFpEMU=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Lw7PCchLOLGYLJfu2OKmZ/dzytdO8TdTHcUcjNBf1GP3mw4PshQnmsI1gtr7+ViNB gS4AROst09mtByZkJDOea3ErOLgLUhDOq+61/qtae6eneiKoDPpVdQeBObKGUtTRSv 43gpZGtjJN8+jLOm4VN98/0qm0TYn/SSQK+p1KS4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.102] ([212.95.5.23]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MpUYu-1hbhKI10ma-00pr9t; Mon, 04 Nov 2019 10:07:14 +0100 In-Reply-To: <75EC4FBC-F636-4D75-BAC4-982D85188794@acm.org> Content-Language: de-AT X-Provags-ID: V03:K1:TiWAPe+w3JWKM4PniA9yhpZuOfmekPn+heY6HPGhF6JOximmsPc WXq7Bgo8IS2lfcbFRAMxz/pQKFLs7UAX852XUMDal8YaKf1dzT9qKRL2CLp3iySRj68/Tzs HpvJrcAyZMv51JjSDHkU2iYopvZDVPwcOaHHZoNqr2ko0aubSXDKkcXvzHg578KrD6WoBWc RqLRLah4QC+quLSb+fA+g== X-UI-Out-Filterresults: notjunk:1;V03:K0:CtqM4IrkkF8=:SSoHr64wAq4V4mg94mwy6o 4GhEzF1c0fMsozxfPMgf+f02AOUO9KuHOYJFpp99SLBHgCpZOHo5URHXMi9dh2dSfUgMrtF3D v0MTxnlVVy5PrKSD2n0odJ/E+eaoszpre7mFLDh+xPP/3K6eqIaim6T2XPq/wIKj//VNuhFpD 1Fugos6z3m3SS3s8bT9zJX9z9JyCn8rpoHlJbqziPVRNMNVGjsUuq64lXi2TH/PlaVghjdaWT 8q+31426hO2kGppUCgSAC3xSOV/z3/abpjHN+0yRQ/eB6ZpB1eehMkDhzqWdRwOGmH3mdGbZ9 golzMrpsrLxbtWX0cp5A+jV9a31+4xoDXGmScn/Ezqr45Tm8GR2TCe4ZTsshc8odDd/6eAsiS GcLbKESDilBg262IEroG6kKqxL/RAA3y9WbGDD/86wHlQw5H6O/8iGR8vSW3ETpFjIWMCZ2H3 8jO0Hu3oKKc5kG2J6EUGoN4OeB7WFRTjPwxtx8UfVkDy6ZaQ6JJvAUHZOdXHgN85C6RGZHVzl 5In+ekqEz/Ej25ew/fO0VUPtFl87Y+IYbuXLvU0X8JeJyKigS7aN7GMzFdKdWv38wJxrsloXE PVfqnV1MycOkxWUJRDMWcGwIKou8zHcno5Y/cstau/kVWlMJRGui+FTKb9OJid4LT7KMJgMjr /6Nh11NNziPzyVV30HnwLb/z0rxXK7mMDOnJwhrvjBGiGDaGZ2MLW5B0xnAxQnVhH1ieORiw0 tzP/rm7mDiAAM7/84v5GTvX3bG0uNv0wSrdxg1ptbFiORd0CbnV71Sl6ZPoyRwe+jKQKzHuA 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:170919 Archived-At: >> The meta combinations are bound to the secondary selection in a very >> elaborate fashion and should be left alone. > > Abstracting the modifiers for the secondary selection seemed > straightforward to me. Did I miss anything? I meant that the code for working with the secondary selection has been set up in a quite meticulous way so I would never mess with it (including the modifiers it uses). > Picking some free multi-key modifier like shift-control would > have nobody complain, but isn't necessarily optimal. I usually shift-control with my pinkie alone so I would consider it optimal and use it for many key combinations all the time. > You seem to believe that mouse-buffer-menu and mouse-appearance-menu > don't deserve their bindings. I'm neutral, but would be interested > in what other people have to say about it. These deserve their bindings though I would not pop up a menu from a mouse-down event alone. What I am obviously assuming is that the rectangular region selection code is based on mouse-dragging from one corner of the rectangle to the opposite one, so a mouse-drag is easily distinguishable from a click for a pop-up-menu. If this assumption is wrong, my rebinding proposal is clearly void. martin