unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: JD Smith <jdtsmith@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Philip Kaludercic <philipk@posteo.net>,
	68236@debbugs.gnu.org, Stefan Kangas <stefankangas@gmail.com>
Subject: bug#68236: [PATCH] help.el: allow help-quick to use local commands/quick-sections
Date: Wed, 10 Jan 2024 17:49:24 -0500	[thread overview]
Message-ID: <4731097C-D870-439C-B012-98ADA2AEB330@gmail.com> (raw)
In-Reply-To: <83sf35mb8g.fsf@gnu.org>

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

With my original fix of just allowing buffer-local binding to appear in help-quick, I fully intended to disable most of the global bindings (I don’t need a reminder of C-x C-f) and expected it to be therefore  a smaller and easier to parse mode-specific list.  

Since the user has to take the initiative to modify `help-quick-sections’ in my simple approach, I do not see “loss of global bindings” as a concern; that’s a feature, not a bug, from my perspective.


> On Jan 10, 2024, at 10:58 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> From: JD Smith <jdtsmith@gmail.com>
>> Date: Wed, 10 Jan 2024 10:46:22 -0500
>> Cc: Eli Zaretskii <eliz@gnu.org>, 68236@debbugs.gnu.org,
>> Philip Kaludercic <philipk@posteo.net>
>> 
>> But what about instead of a separate command to remember, just creating an (optional) section in the existing help-quick popup, for local commands?  where-is-internal would consult the global keymap for the global commands, and the current buffer’s keymap for the locals.
> 
> I think we should be careful not to add too much to what these
> commands display, since otherwise we'd reinvent "C-h b" again.
> 
> The whole purpose of help-quick is to present a small list of the most
> useful commands and their bindings, and do it in a small window.  As
> soon as the buffer is long enough to require scrolling, I think we
> will have lost.


[-- Attachment #2: Type: text/html, Size: 1864 bytes --]

      reply	other threads:[~2024-01-10 22:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04  3:08 bug#68236: [PATCH] help.el: allow help-quick to use local commands/quick-sections JD Smith
2024-01-04  7:39 ` Eli Zaretskii
2024-01-04 13:45   ` JD Smith
2024-01-04 13:57     ` Eli Zaretskii
2024-01-05  1:28       ` JD Smith
2024-01-05  8:40         ` Eli Zaretskii
2024-01-05 17:00           ` JD Smith
2024-01-10 12:51           ` Stefan Kangas
2024-01-10 13:53             ` Eli Zaretskii
2024-01-10 15:46             ` JD Smith
2024-01-10 15:50               ` Stefan Kangas
2024-01-10 15:58               ` Eli Zaretskii
2024-01-10 22:49                 ` JD Smith [this message]

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=4731097C-D870-439C-B012-98ADA2AEB330@gmail.com \
    --to=jdtsmith@gmail.com \
    --cc=68236@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=philipk@posteo.net \
    --cc=stefankangas@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 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).