GNU bug report logs -
#68236
[PATCH] help.el: allow help-quick to use local commands/quick-sections
Previous Next
Full log
Message #14 received at 68236 <at> debbugs.gnu.org (full text, mbox):
> From: JD Smith <jdtsmith <at> gmail.com>
> Date: Thu, 4 Jan 2024 08:45:50 -0500
> Cc: 68236 <at> debbugs.gnu.org
>
> On Jan 4, 2024, at 2:39 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> 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.
>
> For example, an org user may
>
> (add-to-list 'help-quick-sections
> '("Org"
> (org-ctrl-c-star . "Compute table/change heading ")
> (org-ctrl-c-ret . "Table hline/insert heading")))
>
> so that from org-buffers, C-h C-q adds a new section:
>
> Org
> C-c * Compute table/change heading
> C-c RET Table hline/insert heading
>
> Most likely users willing to customize `help-quick-sections’ would remove existing sections with
> commands they know well.
>
> In any case, such a change will need suitable changes for
> documentation.
>
> Do you mean documentation for the `help-quick-sections' variable? How about turning this into a
> defcustom? This would allow more advanced users to fully customize what “quick help” they want.
If we are going to expose help-quick-sections as a defcustom, then I
don't understand why we need to change the code at all. Is the idea
that sections will depend on the current buffer? If so, then we just
need to add an element to the list members which will store the
major-mode for which the member is relevant.
Or what am I missing?
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.