all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Zachary Kanfer <zkanfer@gmail.com>, emacs-devel@gnu.org
Subject: RE: proposal: bind C-x r DEL to #'delete-rectangle
Date: Thu, 6 Oct 2016 09:18:20 -0700 (PDT)	[thread overview]
Message-ID: <e11f78be-52dc-48b4-9ce8-e0cae3f7877f@default> (raw)
In-Reply-To: <CAFXT+RMmiAGX_OVz0E4FM1JgEV_tJae7qowSZm5Ny2bZPxVtuA@mail.gmail.com>

> 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



  reply	other threads:[~2016-10-06 16:18 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 [this message]
2016-10-10  4:20   ` Zachary Kanfer
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e11f78be-52dc-48b4-9ce8-e0cae3f7877f@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=zkanfer@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.