GNU bug report logs - #8325
24.0.50; info-mode help is missing reference to `b' command

Previous Next

Package: emacs;

Reported by: Christoph Scholtes <cschol2112 <at> googlemail.com>

Date: Tue, 22 Mar 2011 23:33:01 UTC

Severity: minor

Tags: fixed

Found in version 24.0.50

Fixed in version 24.1

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: Glenn Morris <rgm <at> gnu.org>
Cc: Christoph Scholtes <cschol2112 <at> googlemail.com>, 8325 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#8325: 24.0.50; info-mode help is missing reference to `b' command
Date: Tue, 19 Jul 2011 17:08:21 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> As an aside, strictly speaking neither solution seems to be _necessary_
> for this particular case, since the :advertised-binding stuff only has
> an effect if the command in question is actually bound to the advertised
> key, and beginning-of-buffer does not seem to be bound to "b" in any
> mode except Info-mode-map.

Yeah.  But the potential for clashes are there, if some other mode binds
`beginning-of-buffer' and tries putting :advertised-binding on it.

To implement :advertised-binding cleanly, it shouldn't be in the prop
list of the command, but be a function on the keymap, I think.

(make-advertised-binding keymap 'beginning-of-buffer "b")

or something.

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




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

Previous Next


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