bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eli Zaretskii
Subject: 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@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]