GNU bug report logs - #5668
23.1.93; comint-mode-map key definitions for [delete] and [kp-delete]

Previous Next

Package: emacs;

Reported by: "Gallagher, Kevin" <Kevin.Gallagher <at> boeing.com>

Date: Mon, 1 Mar 2010 22:37:02 UTC

Severity: minor

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Gallagher\, Kevin" <Kevin.Gallagher <at> boeing.com>
Cc: 5668 <at> debbugs.gnu.org
Subject: bug#5668: 23.1.93; comint-mode-map key definitions for [delete] and [kp-delete]
Date: Wed, 13 Jul 2011 18:51:09 +0200
"Gallagher, Kevin" <Kevin.Gallagher <at> boeing.com> writes:

>     ;; The following two are standardly aliased to C-d,
>     ;; but they should never do EOF, just delete.
>     (define-key map [delete]           'delete-char)
>     (define-key map [kp-delete]       'delete-char)

[...]

> Now, I understand the motivation here BUT, typically, one only defines
> mode-specific C-c bindings and mode-specific pull-down menu bindings
> in mode maps. In my case, I have delete and kp-delete assigned to
> perform an entirely different function.

Yes, binding [kp-delete] seems rather gratuitous, but many modes bind
[delete].  If you want to rebind them to something else, you can use the
mode hooks to alter their definitions.  So I don't really think this is
a bug.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 14 years and 1 day ago.

Previous Next


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