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: Fri, 1 Nov 2019 14:23:03 +0100 Message-ID: References: <83lft0m3ug.fsf@gnu.org> <3541E0E8-9E33-4FBD-B0D9-DFF77C241F6F@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="236220"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38013@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 01 14:24:31 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 1iQWui-000z8y-4d for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 14:24:28 +0100 Original-Received: from localhost ([::1]:39222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQWug-0006vV-Md for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Nov 2019 09:24:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52362) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQWuJ-0006t6-A1 for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 09:24:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQWuI-0004oZ-BJ for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 09:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46379) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQWuI-0004oU-82 for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 09:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iQWuI-0006lg-34 for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2019 09:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2019 13:24: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.157261460025948 (code B ref 38013); Fri, 01 Nov 2019 13:24:02 +0000 Original-Received: (at 38013) by debbugs.gnu.org; 1 Nov 2019 13:23:20 +0000 Original-Received: from localhost ([127.0.0.1]:55200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQWtc-0006kR-12 for submit@debbugs.gnu.org; Fri, 01 Nov 2019 09:23:20 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:35113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQWtZ-0006kC-G2 for 38013@debbugs.gnu.org; Fri, 01 Nov 2019 09:23:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1572614584; bh=L/FsPhVCgcGTQFLgJ2YjIwHC/UmyHdb3BSvcEAzD160=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=VI1hYNSapWbHGWpipIArQsuAS4UqSqYc9IaAkM7nMaIBIDfo+0qm+tUffQJJTRjUW iAz6h2D+LHz/oDguXoMci5rpyd5S2ACb1POaVLoM6dFjjXYAVcX9BjNRW0bbjwmXx0 IDe6d/8XjuUG9ga+3afmPVOmSg469nBI12ENhsEo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.102] ([212.95.5.32]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MJmKX-1igHQH0LjF-00K8pa; Fri, 01 Nov 2019 14:23:04 +0100 In-Reply-To: <3541E0E8-9E33-4FBD-B0D9-DFF77C241F6F@acm.org> Content-Language: de-AT X-Provags-ID: V03:K1:J+AcfryTn2ialkeUcygqQ8jDZavlNbgpAqTK+9pq/Iozhu1/C/K 9d1TIwLkCS04L2pZSr3cRULWRLpcrbFJKUZ0zoo8lIEUuG51NacFYLpGc8/d9o6I6m4r0D6 j6K/RCNur9sU+qnquyztRiblgK84tHZ1iEiyRkqHTj6KI2n1P1KaTXLS6SfSyc8gNUzwxqS XL8f4p0EcEU4w9y51WkSA== X-UI-Out-Filterresults: notjunk:1;V03:K0:zDZ16rWjEBI=:+xtI5JZDuGxV+Pi68kzd8p x+W8EQJ9Lzf8HvrA6SHBNAFjbBTG0nY5Yjhlxr/Egyb6tcKVCcha8VypQbWQ9cg6LRs0VIVFU Dy9OB3UHbnz4jvxtUWrikXeNin0TnzIHNCA9D8mCNMZy+9TSqvRpbk70C8hAgID0hBTTqKOPZ GeTLkwod+40kUGjTQKJ8HasE8PFDYw8NLQcqgg4jpBCePekWgN/XPSUw8klA8JDCs78mY4irn TgADRJ+DryX9ZtpqBZhFTmpJgxfJfrD7wIlbGn20Z/m4F/WGiiRFsXgkNU6gy/EWfsK7RpIEu ALCXnOCKbSiqhE0v8E9BJwfp1FZj+l3Pj02J6xkxgZPIw8sSL88yW1cCBFltwULquh0AVy5Nh K3MlRhx/x1EEsBuGWc2wvKbrz0/aP4Hz6OH/RoQn/pm8AgU/0SA9Mdn08i3Jp/Ab8oSX1XNZH Ng1sH34yHm6SkVaTgidTiPto4gOon1RoBxKszK8PA1SibkixBXL1O5PNE18V4rTLbRB7ezUNc iLPp4CRYlnb8/59rpOBEjt/dacPBvrutE1eUE0Hpyzxnvb34IFzoqId8mGOZpGcOQbQUSEOx0 d+b5ef8fI8aV3dC+JnEWB7+b3ve5bGkXJqnLXIbiRRmiVOWNDuEkvmWAjB9xIsdFcuy9wVmEB NiSLzvturJmZcw36wqugKBMTe2c0XHTZcqMiTsjezL7Pe0cHDp4lUM/fg9QpEJY2doznqTMJp Nm9F8ow0+KoGQGZxMWSl4UyO70IzyrTg7OMzmk+rQBKok5G/WOe0FZaHUaE72dk2bYwt157g 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:170607 Archived-At: 9> Competing mouse bindings are: > > Meta: secondary selection The meta combinations are bound to the secondary selection in a very elaborate fashion and should be left alone. > Shift: mouse-appearance-menu (mouse-save-then-kill for NS) > Control: mouse-buffer-menu I have no idea why these are bound to down events in the first place. I would reserve S-down-mouse-1 for extending an existing selection and provide C-down-mouse-1 for rectangular selection. Some programs allow C-down-mouse-1 to provide non-contiguous selections which we then could accommodate easily by checking initially whether a selection is already active. > B. Combined modifiers (Shift-Meta etc). Less ergonomic; there may be platform restrictions. I'd consider these as viable alternatives. martin