unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Amin Bandali <bandali@gnu.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: 40916@debbugs.gnu.org
Subject: bug#40916: [PATCH] Add "p" and "n" convenience bindings to help-mode-map
Date: Wed, 29 Apr 2020 01:15:33 -0400	[thread overview]
Message-ID: <87r1w6lvnu.fsf@gnu.org> (raw)
In-Reply-To: <87blnb7bx4.fsf@stefankangas.se>

[-- Attachment #1: Type: text/plain, Size: 1809 bytes --]

Hi Stefan,

Stefan Kangas <stefan@marxist.se> writes:

> Hi Amin,
>
> Amin Bandali <bandali@gnu.org> writes:
>
>> The following binds "p" to backward-button, and "n" to forward-button in
>> help-mode-map for more conveniently jumping between buttons in *Help*
>> buffers.  I have found myself constantly reaching for these in *Help*
>> buffers after using helpful [0] for a while.
>
> Thanks, I like the idea.  I tried it, and it seems useful.
>

Thank you.

>
> But I have one concern.  Is there anything else we could use those
> keys for?  For example, what about navigating sections in the file, or
> even (next|previous)-line?
>
> Let's say we introduce a "foldable" help buffer, such that minor mode
> documentation would be collapsed by default.  (Sorry, I can't find the
> feature request now, but it's in the bug tracker somewhere.)
>
> Will this key binding still be the one we want?
>

That's indeed a valid question/criticism.  And my answer is that I'm not
quite sure.  As of now, I think having this behaviour makes sense; but I
can't say for sure it would remain the best use for p/n in the future.
Especially considering the "foldable" help idea you mentioned, which I
had not heard of or considered prior to writing this reply. :-)

>
>> The patch is against emacs-27, since it's a trivial and hopefully
>> completely harmless change.
>
> I think we should do this on master to let people test the change and
> get used to it.  Maybe we will want to change it before release.
>
> Best regards,
> Stefan Kangas
>

That's a good argument for doing this on master at least at first.

Best,

-- 
Amin Bandali
Free Software activist | GNU maintainer & webmaster
GPG: BE62 7373 8E61 6D6D 1B3A  08E8 A21A 0202 4881 6103
https://bandali.eu.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 857 bytes --]

  reply	other threads:[~2020-04-29  5:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-28  0:26 bug#40916: [PATCH] Add "p" and "n" convenience bindings to help-mode-map Amin Bandali
2020-04-28 17:02 ` Drew Adams
2020-04-29  5:23   ` Amin Bandali
2020-04-28 17:33 ` Stefan Kangas
2020-04-29  5:15   ` Amin Bandali [this message]
2020-05-01  0:36     ` Stefan Kangas
2020-08-08 12:08 ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87r1w6lvnu.fsf@gnu.org \
    --to=bandali@gnu.org \
    --cc=40916@debbugs.gnu.org \
    --cc=stefan@marxist.se \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).