GNU bug report logs - #1775
[Terran Lane] meta-delete has wrong default binding; should be "kill-word"

Previous Next

Package: emacs;

Reported by: Sven Joachim <svenjoac <at> gmx.de>

Date: Sat, 3 Jan 2009 13:00:03 UTC

Severity: wishlist

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1775 in the body.
You can then email your comments to 1775 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1775; Package emacs. (Sat, 03 Jan 2009 13:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 03 Jan 2009 13:00:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: [Terran Lane] meta-delete has wrong default binding; should be "kill-word"
Date: Sat, 03 Jan 2009 13:51:18 +0100
[Message part 1 (text/plain, inline)]
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?


[Message part 2 (message/rfc822, inline)]
From: Terran Lane <terran <at> cs.unm.edu>
To: submit <at> bugs.debian.org
Cc: Terran Lane <terran <at> cs.unm.edu>
Subject: Bug#193483: emacs21: meta-delete has wrong default binding; should be "kill-word"
Date: Thu, 15 May 2003 17:34:44 -0500
[Message part 3 (text/plain, inline)]
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 <at> deadbeast.net          |         around on the Moon?"
http://deadbeast.net/~branden/ |        "Because they wore heavy boots."
[Message part 4 (application/pgp-signature, inline)]

Severity set to `wishlist' from `normal' Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Sun, 04 Jan 2009 03:20:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#1775; Package emacs. (Mon, 30 Sep 2019 07:38:01 GMT) Full text and rfc822 format available.

Message #10 received at 1775 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sven Joachim <svenjoac <at> gmx.de>
Cc: 1775 <at> debbugs.gnu.org
Subject: Re: bug#1775: [Terran Lane] meta-delete has wrong default binding;
 should be "kill-word"
Date: Mon, 30 Sep 2019 09:37:31 +0200
Sven Joachim <svenjoac <at> 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




bug closed, send any further explanations to 1775 <at> debbugs.gnu.org and Sven Joachim <svenjoac <at> gmx.de> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 30 Sep 2019 07:38:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 28 Oct 2019 11:24:16 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 178 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.