all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Stefan Kangas <stefan@marxist.se>, Eli Zaretskii <eliz@gnu.org>
Cc: Allen Li <vianchielfaura@gmail.com>, 25747@debbugs.gnu.org
Subject: bug#25747: 25.1.91; hideshow binding C-c @ C-h overrides help
Date: Sat, 14 Nov 2020 17:47:32 -0800 (PST)	[thread overview]
Message-ID: <21a400a6-6497-4445-bd4b-ecc0830058da@default> (raw)
In-Reply-To: <CADwFkmks4dnWXy=vpe0vGWmH1YTjc7KGDbbB4dHa93hVFHR9og@mail.gmail.com>

> I also think that "C-c @ C-h" is a very unfortunate keybinding, even if
> it is mnemonic for "hide".

I agree.  There are other *hide* commands that don't use `C-h'
in their bindings.  There are even other hideshow hide commands
that don't use it:

C-c @ C-M-h
C-c @ C-l
C-c @ C-t
C-c @ C-d

There's anyway redundancy: C-c @ C-h is the same as C-c @ C-d.
(And C-c @ C-M-h is the same as C-c @ C-t.)  Are all of the
default bindings really necessary/useful?

(If you think it's important to have something that fits with
the `C-c @ C-M-h' of `hs-hide-all' then use `C-c @ M-h'.)

My guess is that the author just didn't know about using `C-h'
after a prefix arg.  And the more exceptions to that working,
the more people will do likewise: mistakenly (in ignorance)
bind `C-h' after a prefix key, preventing it from that use.

> But it seems much too late to do anything about that now.

Why is it too late?  Just drop `C-c @ C-h' - that's my suggestion.





  reply	other threads:[~2020-11-15  1:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-15 22:30 bug#25747: 25.1.91; hideshow binding C-c @ C-h overrides help Allen Li
2017-02-16  5:57 ` Eli Zaretskii
2017-02-16  8:54   ` Allen Li
2017-02-16 16:11     ` Eli Zaretskii
2020-11-15  1:14       ` Stefan Kangas
2020-11-15  1:47         ` Drew Adams [this message]
2021-12-01 19:18         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21a400a6-6497-4445-bd4b-ecc0830058da@default \
    --to=drew.adams@oracle.com \
    --cc=25747@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=stefan@marxist.se \
    --cc=vianchielfaura@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.