GNU bug report logs - #2179
23.0.60; define-key vs define-key-after key syntax

Previous Next

Package: emacs;

Reported by: Gerard Brunick <gbrunick <at> math.utexas.edu>

Date: Tue, 3 Feb 2009 07:40:04 UTC

Severity: minor

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

Bug is archived. No further changes may be made.

Full log


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

From: Glenn Morris <rgm <at> gnu.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 2179 <at> debbugs.gnu.org, Gerard Brunick <gbrunick <at> math.utexas.edu>,
	Andreas Schwab <schwab <at> linux-m68k.org>
Subject: Re: bug#2179: 23.0.60; define-key vs define-key-after key syntax
Date: Wed, 05 Oct 2011 01:08:13 -0400
Lars Magne Ingebrigtsen wrote:

>>> The doc string of `define-key-after' doesn't say that it's only for
>>> menu-bar bindings.
>>
>> define-key-after is a compiled Lisp function in `subr.el'.
>> [...]
>> The order of bindings in a keymap matters when it is used as a menu.
>
> So?

Perhaps the point was supposed to be that the order of the elements in a
keymap ONLY matters in a menu, therefore there is no point to use
define-key-after with anything other then menu entries, therefore
define-key-after does not need to be extended to handle the same range
of key syntax that define-key can, therefore this is just a
documentation bug for define-key-after.




This bug report was last modified 13 years and 314 days ago.

Previous Next


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