GNU bug report logs - #25747
25.1.91; hideshow binding C-c @ C-h overrides help

Previous Next

Package: emacs;

Reported by: Allen Li <vianchielfaura <at> gmail.com>

Date: Wed, 15 Feb 2017 22:31:02 UTC

Severity: minor

Tags: wontfix

Found in version 25.1.91

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Allen Li <vianchielfaura <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 25747 <at> debbugs.gnu.org
Subject: bug#25747: 25.1.91; hideshow binding C-c @ C-h overrides help
Date: Thu, 16 Feb 2017 00:54:34 -0800
On Wed, Feb 15, 2017 at 9:57 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> You can type "C-c @ ?" instead, i.e. use the question-mark '?' instead
> of C-h.

Ah, that's embarrassing.  Rereading the manual I see this
important bit that I have forgotten:

    You can get a list of subcommands for a particular prefix key by
    typing C-h, ?, or F1 (describe-prefix-bindings) after the prefix
    key. (There are a few prefix keys for which not all of these keys
    work—those that provide their own bindings for that key. One of
    these prefix keys is ESC, because ESC C-h is actually C-M-h,
    which marks a defun. However, ESC F1 and ESC ? work fine.)

I guess this is working as intended, then?  I was thinking of the
recommendation in the style guide, which I have read many times more
than the manual:

    Don’t bind C-h following any prefix character (including
    C-c). If you don’t bind C-h, it is automatically available as
    a help character for listing the subcommands of the prefix
    character.




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

Previous Next


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