* Why is C-d not bound to `delete-forward-char'?
@ 2015-01-16 22:17 Karl Fogel
2015-01-16 23:39 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: Karl Fogel @ 2015-01-16 22:17 UTC (permalink / raw)
To: Emacs Development
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-17 0:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-16 22:17 Why is C-d not bound to `delete-forward-char'? Karl Fogel
2015-01-16 23:39 ` Stefan Monnier
2015-01-17 0:06 ` Karl Fogel
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.