GNU bug report logs -
#71840
30.0.60; Reference to non-existent variable in c-opt-extra-label-key docstring
Previous Next
Reported by: Stefan Kangas <stefankangas <at> gmail.com>
Date: Sat, 29 Jun 2024 13:13:01 UTC
Severity: minor
Found in version 30.0.60
Done: Alan Mackenzie <acm <at> muc.de>
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 71840 in the body.
You can then email your comments to 71840 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
acm <at> muc.de, bug-gnu-emacs <at> gnu.org
:
bug#71840
; Package
emacs
.
(Sat, 29 Jun 2024 13:13:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Kangas <stefankangas <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
acm <at> muc.de, bug-gnu-emacs <at> gnu.org
.
(Sat, 29 Jun 2024 13:13:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Severity: minor
There is a reference to a variable `c-nonlabel-decl-prefix-re` in the
`c-opt-extra-label-key` docstring (cc-langs.el:4400), but I can't find
that variable anywhere in our tree.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#71840
; Package
emacs
.
(Sun, 30 Jun 2024 20:34:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 71840 <at> debbugs.gnu.org (full text, mbox):
Hello, Stefan.
On Sat, Jun 29, 2024 at 06:12:10 -0700, Stefan Kangas wrote:
> Severity: minor
> There is a reference to a variable `c-nonlabel-decl-prefix-re` in the
> `c-opt-extra-label-key` docstring (cc-langs.el:4400), but I can't find
> that variable anywhere in our tree.
How on Earth did you spot that? :-)
Yes, it's true, that variable doesn't exist. I've found the commit
where it came into the doc string (from 2003-11-21), and the variable
itself was not in that commit. I can only assume that Martin (my
predecessor on CC Mode) created it as part of the patch, documented it,
then before committing the change decided it wasn't needed, but forgot
to amend the documentation. Or something like that.
I'll fix the documentation in the next day or so.
Thanks!
--
Alan Mackenzie (Nuremberg, Germany).
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#71840
; Package
emacs
.
(Sun, 30 Jun 2024 23:33:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 71840 <at> debbugs.gnu.org (full text, mbox):
Alan Mackenzie <acm <at> muc.de> writes:
> Hello, Stefan.
>
> On Sat, Jun 29, 2024 at 06:12:10 -0700, Stefan Kangas wrote:
>> There is a reference to a variable `c-nonlabel-decl-prefix-re` in the
>> `c-opt-extra-label-key` docstring (cc-langs.el:4400), but I can't find
>> that variable anywhere in our tree.
>
> How on Earth did you spot that? :-)
I have a (very ugly and very slow) shell script that looks for symbols
that only show up once in our sources. Many of them turn out to be
typos, though there is also a long list of false positives that it
ignores.
> I'll fix the documentation in the next day or so.
Thanks!
Reply sent
to
Alan Mackenzie <acm <at> muc.de>
:
You have taken responsibility.
(Mon, 01 Jul 2024 20:46:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Stefan Kangas <stefankangas <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 01 Jul 2024 20:46:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 71840-done <at> debbugs.gnu.org (full text, mbox):
Hello, Stefan.
On Sun, Jun 30, 2024 at 16:31:02 -0700, Stefan Kangas wrote:
> Alan Mackenzie <acm <at> muc.de> writes:
> > On Sat, Jun 29, 2024 at 06:12:10 -0700, Stefan Kangas wrote:
> >> There is a reference to a variable `c-nonlabel-decl-prefix-re` in the
> >> `c-opt-extra-label-key` docstring (cc-langs.el:4400), but I can't find
> >> that variable anywhere in our tree.
> > How on Earth did you spot that? :-)
> I have a (very ugly and very slow) shell script that looks for symbols
> that only show up once in our sources. Many of them turn out to be
> typos, though there is also a long list of false positives that it
> ignores.
I'm impressed.
> > I'll fix the documentation in the next day or so.
The fix is now committed to the emacs-30 branch. I'm closing the bug
with this post.
> Thanks!
--
Alan Mackenzie (Nuremberg, Germany).
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 30 Jul 2024 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.