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: Thu, 6 Oct 2016 09:18:20 -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 1475773144 14000 195.159.176.226 (6 Oct 2016 16:59:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2016 16:59:04 +0000 (UTC) To: Zachary Kanfer , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 06 18:59:00 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 1bsC0F-0000aA-9J for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2016 18:58:39 +0200 Original-Received: from localhost ([::1]:58127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsC0D-00079f-VV for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2016 12:58:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsBNb-0001ek-KM for emacs-devel@gnu.org; Thu, 06 Oct 2016 12:18:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsBNX-0007lw-BB for emacs-devel@gnu.org; Thu, 06 Oct 2016 12:18:42 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:26765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsBNX-0007hY-0w for emacs-devel@gnu.org; Thu, 06 Oct 2016 12:18:39 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u96GINC4005994 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Oct 2016 16:18:23 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id u96GIMu4031482 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Oct 2016 16:18:22 GMT Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u96GIMN2024531; Thu, 6 Oct 2016 16:18:22 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: userv0022.oracle.com [156.151.31.74] 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:208033 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. (It's bad enough that we have three keys for `point-to-register'. But those alternative `point-to-register' keys have been there since at least Emacs 20.) This is what `C-x r C-h' shows: C-x r C-@=09point-to-register C-x r ESC=09Prefix Command C-x r SPC=09point-to-register C-x r +=09=09increment-register C-x r M=09=09bookmark-set-no-overwrite C-x r N=09=09rectangle-number-lines C-x r b=09=09bookmark-jump C-x r c=09=09clear-rectangle C-x r d=09=09delete-rectangle C-x r f=09=09frameset-to-register C-x r g=09=09insert-register C-x r i=09=09insert-register C-x r j=09=09jump-to-register C-x r k=09=09kill-rectangle C-x r l=09=09bookmark-bmenu-list C-x r m=09=09bookmark-set C-x r n=09=09number-to-register C-x r o=09=09open-rectangle C-x r r=09=09copy-rectangle-to-register C-x r s=09=09copy-to-register C-x r t=09=09string-rectangle C-x r w=09=09window-configuration-to-register C-x r x=09=09copy-to-register C-x r y=09=09yank-rectangle C-x r C-SPC=09point-to-register C-x r M-w=09copy-rectangle-as-kill