GNU bug report logs -
#61877
[PATCH] Extract Lisp function examples from shortdoc information
Previous Next
Reported by: Daniel Martín <mardani29 <at> yahoo.es>
Date: Tue, 28 Feb 2023 22:37:01 UTC
Severity: normal
Tags: patch
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 61877 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 02 Mar 2023 22:38:42 +0100
> From: Daniel Martín via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> Daniel Martín <mardani29 <at> yahoo.es> writes:
>
> > Shortdoc contains a lot of useful examples about how to use common ELisp
> > functions. This patch explores a new Emacs feature where those examples
> > are identified and extracted so they can be displayed, perhaps, in
> > *Help* buffers (via an additional help-fns-describe-function-functions
> > hook).
> >
> > After you install the attached patch, take a look at the *Help* buffer
> > produced by C-h f assq RET, or C-h f match-string RET, etc.
> >
> > What do you think of having this new Lisp feature in Emacs 30? I can
> > send later another patch with tests, relevant NEWS entries and
> > documentation changes.
> >
> > Thanks.
>
> I attach a second version of the patch. I've confined the
> implementation to shortdoc.el, added a test, and documented the new
> functions.
Thanks. This no longer applies to the current master, so please
resubmit, and I will install.
> The NEWS entry explains how users could show this information in their
> *Help* buffers, if they want.
Maybe this part should be also in the user manual?
This bug report was last modified 1 year and 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.