GNU bug report logs - #22421
25.0.5; Comments confuse checkdoc in defconst

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Thu, 21 Jan 2016 06:01:02 UTC

Severity: minor

Found in version 25.0.5

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 22421 in the body.
You can then email your comments to 22421 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#22421; Package emacs. (Thu, 21 Jan 2016 06:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Clément Pit--Claudel <clement.pitclaudel <at> live.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 21 Jan 2016 06:01:02 GMT) Full text and rfc822 format available.

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

From: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.5; Comments confuse checkdoc in defconst
Date: Thu, 21 Jan 2016 00:59:53 -0500
[Message part 1 (text/plain, inline)]
Hi all,

The following bit of code raises a checkdoc warning about "a" missing a final dot, and being improperly capitalized. Is this expected?

(defconst a
  ;; comment
  "a"
  "Docs for a")

It seems that checkdoc is picking up "a" as the docstring.

Clément.

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22421; Package emacs. (Thu, 21 Jan 2016 12:07:01 GMT) Full text and rfc822 format available.

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

From: Alexis <flexibeast <at> gmail.com>
To: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
Cc: 22421 <at> debbugs.gnu.org
Subject: Re: bug#22421: 25.0.5; Comments confuse checkdoc in defconst
Date: Thu, 21 Jan 2016 23:06:14 +1100
Clément Pit--Claudel <clement.pitclaudel <at> live.com> writes:

> The following bit of code raises a checkdoc warning about "a" 
> missing a final dot, and being improperly capitalized. Is this 
> expected?
>
> (defconst a 
>   ;; comment "a" "Docs for a")
>
> It seems that checkdoc is picking up "a" as the docstring.

i can't reproduce this from emacs -Q compiled from the emacs-25 
branch at commit 5293d1bd; can you please try a more recent build?


Alexis.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22421; Package emacs. (Tue, 01 Mar 2016 05:58:02 GMT) Full text and rfc822 format available.

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

From: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
To: Alexis <flexibeast <at> gmail.com>
Cc: 22421 <at> debbugs.gnu.org
Subject: Re: bug#22421: 25.0.5; Comments confuse checkdoc in defconst
Date: Mon, 29 Feb 2016 21:25:40 -0500
[Message part 1 (text/plain, inline)]
On 01/21/2016 07:06 AM, Alexis wrote:
> 
> Clément Pit--Claudel <clement.pitclaudel <at> live.com> writes:
> 
>> The following bit of code raises a checkdoc warning about "a" missing a final dot, and being improperly capitalized. Is this expected?
>>
>> (defconst a   ;; comment "a" "Docs for a")
>>
>> It seems that checkdoc is picking up "a" as the docstring.
> 
> i can't reproduce this from emacs -Q compiled from the emacs-25 branch at commit 5293d1bd; can you please try a more recent build?

Indeed; sorry for the incorrect report. This bug can be closed :)

[signature.asc (application/pgp-signature, attachment)]

bug closed, send any further explanations to 22421 <at> debbugs.gnu.org and Clément Pit--Claudel <clement.pitclaudel <at> live.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 01 Mar 2016 14:18:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22421; Package emacs. (Fri, 04 Mar 2016 12:49:02 GMT) Full text and rfc822 format available.

Message #16 received at 22421-done <at> debbugs.gnu.org (full text, mbox):

From: Alexis <flexibeast <at> gmail.com>
To: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
Cc: 22421-done <at> debbugs.gnu.org
Subject: Re: bug#22421: 25.0.5; Comments confuse checkdoc in defconst
Date: Fri, 04 Mar 2016 23:48:26 +1100
Clément Pit--Claudel <clement.pitclaudel <at> live.com> writes:

> Indeed; sorry for the incorrect report. This bug can be closed 
> :)

No worries! Closed - thanks. :-)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 02 Apr 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 83 days ago.

Previous Next


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