GNU bug report logs -
#69402
28.3; checkdoc does not check for docstrings wider than 80 characters
Previous Next
Reported by: Tim Landscheidt <tim <at> tim-landscheidt.de>
Date: Mon, 26 Feb 2024 08:13:02 UTC
Severity: wishlist
Tags: wontfix
Found in version 28.3
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 69402 in the body.
You can then email your comments to 69402 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#69402
; Package
emacs
.
(Mon, 26 Feb 2024 08:13:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tim Landscheidt <tim <at> tim-landscheidt.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 26 Feb 2024 08:13:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
(I am not sure whether this is a bug or a missing feature;
the reference to byte-compile-docstring-max-column in
lisp/emacs-lisp/checkdoc.el made me assume this should
work.)
With Emacs 28.3 and a test-checkdoc.el:
| ;;; test-checkdoc.el --- Tests
| ;;; Commentary:
| ;;
| ;;; Code:
| (defcustom my-test-configuration
| nil
| "This docstring is longer than xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx characters."
| :group 'does-not-matter
| :type 'string)
| (defvar my-test-variable
| nil
| "This docstring is longer than xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx characters.")
| (defun my-test-function
| nil
| "This docstring is longer than xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx characters.")
| (provide 'test-checkdoc)
| ;;; test-checkdoc.el ends here
M-x checkdoc RET reports:
| Buffer comments and tags: Ok
| Documentation style: Ok
| Message/Query text style: Ok
| Unwanted Spaces: Ok
However, byte-compile-file complains:
| ^L
| Compiling file /tmp/test-checkdoc.el at Mon Feb 26 08:10:04 2024
| test-checkdoc.el:8:1: Warning: custom-declare-variable `my-test-configuration'
| docstring wider than 80 characters
| test-checkdoc.el:14:1: Warning: defvar `my-test-variable' docstring wider than
| 80 characters
| In my-test-function:
| test-checkdoc.el:18:8: Warning: docstring wider than 80 characters
IMHO, checkdoc should check that docstrings are no longer
than 80 (or byte-compile-docstring-max-column) characters.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#69402
; Package
emacs
.
(Mon, 26 Feb 2024 12:55:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 69402 <at> debbugs.gnu.org (full text, mbox):
> From: Tim Landscheidt <tim <at> tim-landscheidt.de>
> Date: Mon, 26 Feb 2024 08:12:17 +0000
>
> IMHO, checkdoc should check that docstrings are no longer
> than 80 (or byte-compile-docstring-max-column) characters.
It does. Add one more long line to the doc string, and you will see
it.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#69402
; Package
emacs
.
(Wed, 08 Jan 2025 06:45:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 69402 <at> debbugs.gnu.org (full text, mbox):
severity 69402 wishlist
tags 69402 wontfix
close 69402
thanks
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Tim Landscheidt <tim <at> tim-landscheidt.de>
>> Date: Mon, 26 Feb 2024 08:12:17 +0000
>>
>> IMHO, checkdoc should check that docstrings are no longer
>> than 80 (or byte-compile-docstring-max-column) characters.
>
> It does. Add one more long line to the doc string, and you will see
> it.
I think we would take a patch to fix this minor inconsistency, but it's
not something that we will invest any time in fixing.
I'm therefore closing this bug report now. Sorry.
Severity set to 'wishlist' from 'normal'
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 08 Jan 2025 06:45:03 GMT)
Full text and
rfc822 format available.
Added tag(s) wontfix.
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 08 Jan 2025 06:45:03 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
69402 <at> debbugs.gnu.org and Tim Landscheidt <tim <at> tim-landscheidt.de>
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 08 Jan 2025 06:45:03 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
.
(Wed, 05 Feb 2025 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 135 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.