GNU bug report logs -
#58252
29.0.50; Docstrings generated by defclass may be to wide
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58252 in the body.
You can then email your comments to 58252 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58252
; Package
emacs
.
(Sun, 02 Oct 2022 14:34:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jonas Bernoulli <jonas <at> bernoul.li>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 02 Oct 2022 14:34:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58252
; Package
emacs
.
(Sun, 02 Oct 2022 15:30:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 58252 <at> debbugs.gnu.org (full text, mbox):
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.
Added tag(s) moreinfo.
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sun, 02 Oct 2022 17:03:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58252
; Package
emacs
.
(Sun, 02 Oct 2022 21:18:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 58252 <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefankangas <at> gmail.com> writes:
> 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.
The docstrings of these functions are no longer to wide, but I still get
the same warning,
,----
| In toplevel form:
| emacsql-sqlite-builtin.el:28:5: Warning: docstring wider than 80
| characters
`----
M-x apropos RET emacsql-sqlite-builtin-connection RET gives me
,----
| emacsql-sqlite-builtin-connection
| Function: Create a new object of class type
| Variable: (not documented)
| Value: emacsql-sqlite-builtin-connection
| Properties: cl-deftype-satisfies compiler-macro
| byte-obsolete-variable cl--class variable-documentation
| emacsql-sqlite-builtin-connection--anon-cmacro
| Function: (not documented)
| Properties: function-history
| emacsql-sqlite-builtin-connection--eieio-childp
| Function: Return non-nil if OBJ is an object of type
| emacsql-sqlite-builtin-connection-child-p
| Function: Return non-nil if OBJ is an object of type
| Properties: byte-obsolete-info
| emacsql-sqlite-builtin-connection-list-p
| Function: Test OBJ to see if it a list of objects which are a child
| of type
| Properties: byte-obsolete-info
| emacsql-sqlite-builtin-connection-p
| Function: Return non-nil if OBJ is an object of type
`----
The information that is shown when following the various "Properties"
links is wider than 80 characters, but I wouldn't expect any warning
about that.
Maybe the warning should include information about which docstring(s)
are too wide?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58252
; Package
emacs
.
(Sun, 02 Oct 2022 22:07:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 58252 <at> debbugs.gnu.org (full text, mbox):
Jonas Bernoulli <jonas <at> bernoul.li> writes:
> The docstrings of these functions are no longer to wide, but I still get
> the same warning,
>
> ,----
> | In toplevel form:
> | emacsql-sqlite-builtin.el:28:5: Warning: docstring wider than 80
> | characters
> `----
OK, I think I found the remaining ones (commit 655c92ce4a).
I've tested with the file emacsql-sqlite-builtin.el, dated
;; Package-Version: 20220422.1605
;; Package-Commit: c6f66f2a94a0c520d5c1028858adc2ab0f959f96
and I can't see any warnings. Please verify this on your end.
> Maybe the warning should include information about which docstring(s)
> are too wide?
Yes, that would be good. It's a bit more work though.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58252
; Package
emacs
.
(Mon, 03 Oct 2022 12:29:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 58252 <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefankangas <at> gmail.com> writes:
> Jonas Bernoulli <jonas <at> bernoul.li> writes:
>
>> The docstrings of these functions are no longer to wide, but I still get
>> the same warning,
>>
>> ,----
>> | In toplevel form:
>> | emacsql-sqlite-builtin.el:28:5: Warning: docstring wider than 80
>> | characters
>> `----
>
> OK, I think I found the remaining ones (commit 655c92ce4a).
Thanks, that fixed the issue for me.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58252
; Package
emacs
.
(Mon, 03 Oct 2022 12:37:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 58252 <at> debbugs.gnu.org (full text, mbox):
close 58252 29.1
thanks
Jonas Bernoulli <jonas <at> bernoul.li> writes:
> Thanks, that fixed the issue for me.
Thanks for testing. I'm therefore closing this bug report.
bug marked as fixed in version 29.1, send any further explanations to
58252 <at> debbugs.gnu.org and Jonas Bernoulli <jonas <at> bernoul.li>
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Mon, 03 Oct 2022 12:37:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 01 Nov 2022 11:24:05 GMT)
Full text and
rfc822 format available.
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.