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 #23 received at 61877 <at> debbugs.gnu.org (full text, mbox):
> From: Daniel Martín <mardani29 <at> yahoo.es>
> Cc: 61877 <at> debbugs.gnu.org
> Date: Sun, 12 Mar 2023 13:55:49 +0100
>
> > Btw, something seems amiss: "C-h f" for string-fill, which has 2
> > examples in shortdoc, still says "Example:", not "Examples:", as I'd
> > expect. Can you take a look?
>
> That is because some functions have more than one example per group (for
> example, string-lessp is documented in the "comparison" and "string"
> groups), but the "s" is added when a function is documented in _more
> than one group_.
>
> I think a more accurate logic to add the "s" is to count the number of
> "arrow characters" that separate the form from the example.
>
> Could you give a try to the attached patch, and install it for me if all
> works correctly? Thanks.
It works here; I installed it.
Thanks.
This bug report was last modified 1 year and 310 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.