* bug#1775: [Terran Lane] meta-delete has wrong default binding; should be "kill-word"
@ 2009-01-03 12:51 Sven Joachim
2019-09-30 7:37 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Sven Joachim @ 2009-01-03 12:51 UTC (permalink / raw)
To: bug-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 457 bytes --]
Another old bug in Debian's BTS. While the report is not too informing,
I wonder why M-delete is not bound to kill-word:
,---- C-h k M-delete
| M-DEL (translated from <M-delete>) runs the command
| backward-kill-word, which is an interactive compiled Lisp function in
| `simple.el'.
|
| It is bound to <C-backspace>, M-DEL.
`----
,---- C-h w kill-word
| kill-word is on <C-delete>, M-d
`----
Would it not be consistent to bind M-delete to kill-word?
[-- Attachment #2: Type: message/rfc822, Size: 4368 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 2417 bytes --]
Package: emacs21
Version: n/a
Severity: normal
On Wed, May 14, 2003 at 01:23:29PM -0600, Terran Lane wrote:
> I had to go back and look at my emacs config to remember what was
> messed up.
>
> It's not backspace and delete _directly_ that are the problems. On my
> work debian box, the "backspace" key produces the "DEL" emacs
> keybinding symbol, while the "delete" key produces the "^D" symbol.
> (As you say, I don't care what symbol it produces _internally_ so long
> as it _does_the_right_thing_. But it _is_ mystifying why the
> "backspace" key doesn't just produce the "BACKSPACE" symbol and let
> the "delete" key produce the "DEL" symbol.)
>
> At _any_ rate, the real brokenness comes in when you hit
> meta-backspace or meta-delete, which _both_ produce the "M-DEL"
> symbol. The default binding of this symbol is "backward-kill-word",
> which makes sense for the "meta-backspace" key combo, but _not_ for
> the "meta-delete" key combo (which should, by symmetry, invoke
> "kill-word", the forward-going equivalent). I haven't gotten around
> to trying to fix this key mapping myself yet, but I'm annoyed that I
> should have to. <shrug>
>
> Anyway, just my rant for today. ;-)
On Wed, May 14, 2003 at 02:10:47PM -0600, Terran Lane wrote:
> Behold: on that day, 14 of May in the year 2003,
> Branden Robinson spake unto me, saying:
>
> > Okay. I'm going to file a bug report using the above, and set you
> > to be the submitter, if you don't mind. :)
>
> Sure, go right ahead. If I wasn't such a lazy, grumbly bastard, I
> would do it myself. ;-) You might tack on to the report the following:
>
> "General principle for emacs keybindings: all distinct keypress
> combinations should yield distinct internal symbols. The only
> exception are aliased keycaps -- e.g., left and right ALT should do
> the same thing, left and right CTRL, etc. In the PC keyboard world,
> it's also acceptable for both ESC key and ALT to do the same thing.
> But DELETE/BACKSPACE should be distinct under all modifier combos.
> (As should HOME/END/PAGE UP/MENU KEY, etc.)"
--
G. Branden Robinson | "There is no gravity in space."
Free Software Developer | "Then how could astronauts walk
branden@deadbeast.net | around on the Moon?"
http://deadbeast.net/~branden/ | "Because they wore heavy boots."
[-- Attachment #2.1.2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#1775: [Terran Lane] meta-delete has wrong default binding; should be "kill-word"
2009-01-03 12:51 bug#1775: [Terran Lane] meta-delete has wrong default binding; should be "kill-word" Sven Joachim
@ 2019-09-30 7:37 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-09-30 7:37 UTC (permalink / raw)
To: Sven Joachim; +Cc: 1775
Sven Joachim <svenjoac@gmx.de> writes:
> Another old bug in Debian's BTS. While the report is not too informing,
> I wonder why M-delete is not bound to kill-word:
>
> ,---- C-h k M-delete
> | M-DEL (translated from <M-delete>) runs the command
> | backward-kill-word, which is an interactive compiled Lisp function in
> | `simple.el'.
> |
> | It is bound to <C-backspace>, M-DEL.
> `----
>
> ,---- C-h w kill-word
> | kill-word is on <C-delete>, M-d
> `----
>
> Would it not be consistent to bind M-delete to kill-word?
It might be a bit more consistent, but Emacs has had this key binding
since forever, and we can't change the behaviour of basic keys like
that.
So I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-30 7:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-03 12:51 bug#1775: [Terran Lane] meta-delete has wrong default binding; should be "kill-word" Sven Joachim
2019-09-30 7:37 ` Lars Ingebrigtsen
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).