From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Zachary Kanfer Newsgroups: gmane.emacs.devel Subject: Re: proposal: bind C-x r DEL to #'delete-rectangle Date: Mon, 10 Oct 2016 00:20:27 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1476073268 27233 195.159.176.226 (10 Oct 2016 04:21:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2016 04:21:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 10 06:21:04 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 1btS5E-0006D1-IL for ged-emacs-devel@m.gmane.org; Mon, 10 Oct 2016 06:21:00 +0200 Original-Received: from localhost ([::1]:47373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btS5C-0005eQ-Sr for ged-emacs-devel@m.gmane.org; Mon, 10 Oct 2016 00:20:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btS56-0005e9-B1 for emacs-devel@gnu.org; Mon, 10 Oct 2016 00:20:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btS54-00010x-95 for emacs-devel@gnu.org; Mon, 10 Oct 2016 00:20:51 -0400 Original-Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]:33386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btS54-0000zw-4v for emacs-devel@gnu.org; Mon, 10 Oct 2016 00:20:50 -0400 Original-Received: by mail-io0-x22f.google.com with SMTP id q192so99742718iod.0 for ; Sun, 09 Oct 2016 21:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vQatMx+u1KWzDl+IBku0r1yLsiC94dZbj5Pp+bFJdoc=; b=iz520+87wu1j7cp4gTB2QFxlV44RAsRmB2tjUL0upTsshVzWfDyX0FyLt1wHmx+2xz ojz7Fh/L/z1WeXrOQmpW+YkS4/VrLBgLG8XUohS6O6qW6uDuioDJeXMQ9D8+tfKchO4y K3UTmt8ggr1XQvaig4iczgs2etgPYU6p5EUnnYl13rnMqZ/ypDO7Ww41My8mt7HzJyAJ VSacr3/56PU8aOiOOqrzhAWQINGC68nRBkh8ws1s1KGJlTwzMou0dakzImCy56G202/F X/3RqAp2suX+SZFs58UUkZNaR/5ig3PxbGeDLwNF6ulPe7RkgqSXg7FEOsKAQKGYkIDD 4B0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vQatMx+u1KWzDl+IBku0r1yLsiC94dZbj5Pp+bFJdoc=; b=DYgALugvMQ0DGgZR6z115a3LhBnkki4FKxJ0153Ad743AaJLDWhmPB4I6EnXlkGPQE +W2+QdtdQolTqtOAoiPoSah2JJg1HtP830uH/KtOTSRW2LldBsaS/aqLVOnJWn1YiFbo DFJucBDRJrN5v43ebjOALYcAOgTREE5D/zJoaROR/3Qi2+xL2nJwxWPdNV9dMOANvabR lz7sEzg2O63+U7p5iwOGc1pNSqeNhxPTVrecR2i3N4rroIumD9Fp+9V1VJKVE9hQ0AUu cTl1KvxyGyLpzr6E5on0m9e50Zc/fELIY3yeWMqoDOsahezXAvE+hnS/NuDQOs3WorkE 4tQQ== X-Gm-Message-State: AA6/9Rm2a7O+KRx01H0XM3Wg9G+PIXh5rKIDq+6QxsFYBx0+PnkHq7UF3Fy8JH59yl6f/FRJy33Zj3j/DCezPA== X-Received: by 10.107.138.160 with SMTP id c32mr16733627ioj.235.1476073248304; Sun, 09 Oct 2016 21:20:48 -0700 (PDT) Original-Received: by 10.107.41.139 with HTTP; Sun, 9 Oct 2016 21:20:27 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c06::22f 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:208134 Archived-At: Well, fair enough. I'll just keep it in my init file, then. On Thu, Oct 6, 2016 at 12:18 PM, Drew Adams wrote: >> 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-@ point-to-register > C-x r ESC Prefix Command > C-x r SPC point-to-register > C-x r + increment-register > C-x r M bookmark-set-no-overwrite > C-x r N rectangle-number-lines > C-x r b bookmark-jump > C-x r c clear-rectangle > C-x r d delete-rectangle > C-x r f frameset-to-register > C-x r g insert-register > C-x r i insert-register > C-x r j jump-to-register > C-x r k kill-rectangle > C-x r l bookmark-bmenu-list > C-x r m bookmark-set > C-x r n number-to-register > C-x r o open-rectangle > C-x r r copy-rectangle-to-register > C-x r s copy-to-register > C-x r t string-rectangle > C-x r w window-configuration-to-register > C-x r x copy-to-register > C-x r y yank-rectangle > C-x r C-SPC point-to-register > C-x r M-w copy-rectangle-as-kill