bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8947: 24.0.50; `describe-mode': `help-mode-map' pollutes minor mode


From: Lars Ingebrigtsen
Subject: bug#8947: 24.0.50; `describe-mode': `help-mode-map' pollutes minor mode descriptions
Date: Thu, 28 Apr 2016 13:04:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> "Drew Adams" <drew.adams@oracle.com> writes:
>
>> Visit any *.el file, hit `C-h m', then search for `Transient' in *Help*.
>> The help for `transient-mark-mode' says this:
>>
>> "...for example, incremental search, <, and >."
>>
>> `<' and `>' here should be `M-<' and `M->'.  The bug happens because
>> `help-mode-map' is being used to interpret `\\[beginning-of-buffer]'
>> and `\\[end-of-buffer]'.  In the *Help* buffer, where the text is
>> used, the current keymap is being picked up, where these commands
>> are bound to `<' and `>'.
>
> This bug still exists in Emacs 24.3.

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 '>'.

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]