unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22421: 25.0.5; Comments confuse checkdoc in defconst
@ 2016-01-21  5:59 Clément Pit--Claudel
  2016-01-21 12:06 ` Alexis
  0 siblings, 1 reply; 4+ messages in thread
From: Clément Pit--Claudel @ 2016-01-21  5:59 UTC (permalink / raw)
  To: 22421

[-- Attachment #1: Type: text/plain, Size: 277 bytes --]

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.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22421: 25.0.5; Comments confuse checkdoc in defconst
  2016-01-21  5:59 bug#22421: 25.0.5; Comments confuse checkdoc in defconst Clément Pit--Claudel
@ 2016-01-21 12:06 ` Alexis
  2016-03-01  2:25   ` Clément Pit--Claudel
  0 siblings, 1 reply; 4+ messages in thread
From: Alexis @ 2016-01-21 12:06 UTC (permalink / raw)
  To: Clément Pit--Claudel; +Cc: 22421


Clément Pit--Claudel <clement.pitclaudel@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22421: 25.0.5; Comments confuse checkdoc in defconst
  2016-01-21 12:06 ` Alexis
@ 2016-03-01  2:25   ` Clément Pit--Claudel
  2016-03-04 12:48     ` Alexis
  0 siblings, 1 reply; 4+ messages in thread
From: Clément Pit--Claudel @ 2016-03-01  2:25 UTC (permalink / raw)
  To: Alexis; +Cc: 22421


[-- Attachment #1.1: Type: text/plain, Size: 576 bytes --]

On 01/21/2016 07:06 AM, Alexis wrote:
> 
> Clément Pit--Claudel <clement.pitclaudel@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 :)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22421: 25.0.5; Comments confuse checkdoc in defconst
  2016-03-01  2:25   ` Clément Pit--Claudel
@ 2016-03-04 12:48     ` Alexis
  0 siblings, 0 replies; 4+ messages in thread
From: Alexis @ 2016-03-04 12:48 UTC (permalink / raw)
  To: Clément Pit--Claudel; +Cc: 22421-done


Clément Pit--Claudel <clement.pitclaudel@live.com> writes:

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

No worries! Closed - thanks. :-)





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-04 12:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-21  5:59 bug#22421: 25.0.5; Comments confuse checkdoc in defconst Clément Pit--Claudel
2016-01-21 12:06 ` Alexis
2016-03-01  2:25   ` Clément Pit--Claudel
2016-03-04 12:48     ` Alexis

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).