From: Zachary Kanfer <zkanfer@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: proposal: bind C-x r DEL to #'delete-rectangle
Date: Mon, 10 Oct 2016 00:20:27 -0400 [thread overview]
Message-ID: <CAFXT+ROqrUEvFodYT1rHpnf5Zypqoh_4tMkSzxY6Jf0AcLu9ag@mail.gmail.com> (raw)
In-Reply-To: <e11f78be-52dc-48b4-9ce8-e0cae3f7877f@default>
Well, fair enough. I'll just keep it in my init file, then.
On Thu, Oct 6, 2016 at 12:18 PM, Drew Adams <drew.adams@oracle.com> 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
next prev parent reply other threads:[~2016-10-10 4:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-06 5:02 proposal: bind C-x r DEL to #'delete-rectangle Zachary Kanfer
2016-10-06 16:18 ` Drew Adams
2016-10-10 4:20 ` Zachary Kanfer [this message]
2016-10-10 5:03 ` Drew Adams
2016-10-10 5:17 ` John Wiegley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFXT+ROqrUEvFodYT1rHpnf5Zypqoh_4tMkSzxY6Jf0AcLu9ag@mail.gmail.com \
--to=zkanfer@gmail.com \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).