From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: proposal: bind C-x r DEL to #'delete-rectangle Date: Sun, 9 Oct 2016 22:03:09 -0700 (PDT) Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1476075818 30308 195.159.176.226 (10 Oct 2016 05:03:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2016 05:03:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Zachary Kanfer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 10 07:03:34 2016 Return-path: Envelope-to: ged-emacs-devel@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 1btSkJ-0006b6-TF for ged-emacs-devel@m.gmane.org; Mon, 10 Oct 2016 07:03:28 +0200 Original-Received: from localhost ([::1]:47469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btSkI-0005l5-7r for ged-emacs-devel@m.gmane.org; Mon, 10 Oct 2016 01:03:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btSkC-0005ke-H3 for emacs-devel@gnu.org; Mon, 10 Oct 2016 01:03:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btSk6-00042z-FQ for emacs-devel@gnu.org; Mon, 10 Oct 2016 01:03:19 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:21276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btSk6-00042e-7m for emacs-devel@gnu.org; Mon, 10 Oct 2016 01:03:14 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u9A53B5o016482 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Oct 2016 05:03:12 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u9A53BuQ021649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Oct 2016 05:03:11 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u9A53AKB003184; Mon, 10 Oct 2016 05:03:10 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208136 Archived-At: > >> Rectangle bindings are off `C-x r`. Currently, #'delete-rectangle can > >> be ran with `C-x r d`. I think it's intuitive to bind `C-x r DEL` to > >> #'delete-rectangle also. This patch does not touch `C-x r d`; that > >> keybinding still calls #'delete-rectangle. > > > > I'd say no. `C-x r' has a mix of different kinds of commands > > (bookmarks, registers, rectangles), and it has had such a mix > > since about forever. `C-x r' is not the place to be defining > > alternative keys for the same command, IMHO. ... > > Well, fair enough. I'll just keep it in my init file, then. Just to be sure you know: I was giving my opinion - one opinion only. I don't speak for Emacs development, at all. You need not give up on your suggestion just because of my opinion. :-) Sorry if my reply gave you an impression that your suggestion was being shot down. --- FWIW, I think it might be a good idea to split the key bindings that are currently on prefix `C-x r'. In my library Bookmark+, I support the usual bookmark keys on `C-x r', but I also put keymap `bookmark-map' on prefix key `C-x p', by default. For example, these standard bookmark commands also have `C-x p' bindings in Bookmark+, by default: C-x p I bookmark-insert-location C-x p d bookmark-delete C-x p e edit-bookmarks C-x p g bookmark-jump C-x p l bookmark-load C-x p o bookmark-jump-other-window C-x p q bookmark-jump-other-window C-x p s bookmark-save C-x p w bookmark-write C-x p c M bookmark-set (By default, `C-x p c' is a prefix key for bookmark create/set commands, and `C-x p t' is a prefix key for bookmark tagging commands.) Emacs could do reasonably do something similar. And it could similarly choose to move the register (alternatively, rectangle) commands to a different prefix key from `C-x r'. It really makes little sense at this point (except for habit) to put such different things on the same prefix key (IMO).