GNU bug report logs - #8947
24.0.50; `describe-mode': `help-mode-map' pollutes minor mode descriptions

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 27 Jun 2011 22:43:01 UTC

Severity: normal

Tags: confirmed, unreproducible

Found in version 24.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 8947 <at> debbugs.gnu.org
Subject: bug#8947: 24.0.50; `describe-mode': `help-mode-map' pollutes minor mode descriptions
Date: Sun, 01 May 2016 20:32:00 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Here's a shorter test case:
>
> (progn
>   (describe-function 'transient-mark-mode)
>   (with-current-buffer (get-buffer "*Help*")
>     (revert-buffer)))
>
> After answering "y", the `M-'s will go missing before the `<' and '>'.

Hm...  well, after fiddling with this a bit more, I see that it's
describing all these minor mode bindings in the context of the buffer
you were in when you called the description command.  I think that's
correct.  If you have these commands bound to `<' etc in that mode, then
that is what the help command will say.

So the form above will give different results when run from, say,
*scratch* and from a special mode, and that's fine.  Closing.

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




This bug report was last modified 3 years and 217 days ago.

Previous Next


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