GNU bug report logs - #68236
[PATCH] help.el: allow help-quick to use local commands/quick-sections

Previous Next

Package: emacs;

Reported by: JD Smith <jdtsmith <at> gmail.com>

Date: Thu, 4 Jan 2024 03:10:02 UTC

Severity: wishlist

Tags: patch

Full log


Message #8 received at 68236 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: JD Smith <jdtsmith <at> gmail.com>
Cc: 68236 <at> debbugs.gnu.org
Subject: Re: bug#68236: [PATCH] help.el: allow help-quick to use local
 commands/quick-sections
Date: Thu, 04 Jan 2024 09:39:17 +0200
> From: JD Smith <jdtsmith <at> gmail.com>
> Date: Wed, 3 Jan 2024 22:08:56 -0500
> 
> Someone came up with the great idea of using help.el’s `help-quick' command for a personal “scratch pad” of useful/hard-to-remember bindings, and then to bind `help-quick-sections' locally in various modes.  Unfortunately, `help-quick' first sets the buffer to *Quick Help* and then builds its list of command bindings and descriptions.  This means that only the default value of `help-quick-sections’ will ever be consulted, and no local key bindings can be expressed.  
> 
> The fix is simple; build the list of quick help information first in the current buffer (from which C-h C-q is called) and then displaying it in the *Quick Help* buffer.  With this, people can use quick help and its handy binding to prompt with their own personal hard-to-remember key bindings/command info.  What’s cool is that help-quick omits “empty” sections, so you could even add a variety of sections, and they will appear if and only if bindings are actually available in the buffer where quick help is invoked.

Please describe in more detail how would people use this for their
personal "quick help", because I don't think I understand well enough
what you have in mind.

In any case, such a change will need suitable changes for
documentation.

Thanks.




This bug report was last modified 1 year and 159 days ago.

Previous Next


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