From: Karl Fogel <kfogel@red-bean.com>
To: Emacs Development <emacs-devel@gnu.org>
Subject: Why is C-d not bound to `delete-forward-char'?
Date: Fri, 16 Jan 2015 16:17:20 -0600 [thread overview]
Message-ID: <87a91i1ibz.fsf@red-bean.com> (raw)
Does anyone know why C-d is bound to `delete-char' instead of
'delete-forward-char'?
If I run "C-h k C-d", I get the help for `delete-char', which says:
| C-d runs the command delete-char (found in global-map), which is an
| interactive built-in function in `C source code'.
|
| It is bound to C-d.
|
| (delete-char N &optional KILLFLAG)
|
| Delete the following N characters (previous if N is negative).
| Optional second arg KILLFLAG non-nil means kill instead (save in
| kill ring). Interactively, N is the prefix arg, and KILLFLAG is set
| if N was explicitly specified.
|
| The command `delete-forward-char' is preferable for interactive use,
| e.g. because it respects values of `delete-active-region' and
| `overwrite-mode'.
According to that last paragraph, `delete-forward-char' would be preferable for interactive use, which implies that it should be on C-d instead, no?
Best,
-Karl
next reply other threads:[~2015-01-16 22:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 22:17 Karl Fogel [this message]
2015-01-16 23:39 ` Why is C-d not bound to `delete-forward-char'? Stefan Monnier
2015-01-17 0:06 ` Karl Fogel
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=87a91i1ibz.fsf@red-bean.com \
--to=kfogel@red-bean.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 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.