GNU bug report logs - #58252
29.0.50; Docstrings generated by defclass may be to wide

Previous Next

Package: emacs;

Reported by: Jonas Bernoulli <jonas <at> bernoul.li>

Date: Sun, 2 Oct 2022 14:34:03 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Fixed in version 29.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Jonas Bernoulli <jonas <at> bernoul.li>, 58252 <at> debbugs.gnu.org
Subject: Re: bug#58252: 29.0.50;
 Docstrings generated by defclass may be to wide
Date: Sun, 2 Oct 2022 08:29:26 -0700
Jonas Bernoulli <jonas <at> bernoul.li> writes:

> The docstrings generated by helper functions of defclass are to wide
> if the name of the class is wide enough.  For example, the docstring
> for `emacsql-sqlite-builtin-connection--eieio-childp' is:
>
> ,----
> | emacsql-sqlite-builtin-connection--eieio-childp is a byte-compiled
> | Lisp function in `emacsql-sqlite-builtin.el'.
> |
> | (emacsql-sqlite-builtin-connection--eieio-childp OBJ)
> |
> | Return non-nil if OBJ is an object of type `emacsql-sqlite-builtin-connection' or a subclass.
> `----
>
> This affects at least the --eieio-childp, -child-p, -list-p and -p
> functions.

Thanks, I pushed a fix for this (commit 0a40120b40).  Could you please
test it?

If it's still not working, please give examples of docstrings where it
doesn't.




This bug report was last modified 2 years and 227 days ago.

Previous Next


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