GNU bug report logs - #71840
30.0.60; Reference to non-existent variable in c-opt-extra-label-key docstring

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Stefan Kangas <stefankangas@HIDDEN>; dated Sat, 29 Jun 2024 13:13:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 71840 <at> debbugs.gnu.org:


Received: (at 71840) by debbugs.gnu.org; 30 Jun 2024 20:33:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 30 16:33:35 2024
Received: from localhost ([127.0.0.1]:59247 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sO1Et-0004fK-7A
	for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 16:33:35 -0400
Received: from mail.muc.de ([193.149.48.3]:62284)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <acm@HIDDEN>) id 1sO1Er-0004f7-RX
 for 71840 <at> debbugs.gnu.org; Sun, 30 Jun 2024 16:33:34 -0400
Received: (qmail 4765 invoked by uid 3782); 30 Jun 2024 22:33:26 +0200
Received: from muc.de (p4fe1514a.dip0.t-ipconnect.de [79.225.81.74]) (using
 STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP;
 Sun, 30 Jun 2024 22:33:26 +0200
Received: (qmail 14461 invoked by uid 1000); 30 Jun 2024 20:33:25 -0000
Date: Sun, 30 Jun 2024 20:33:25 +0000
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#71840: 30.0.60; Reference to non-existent variable in
 c-opt-extra-label-key docstring
Message-ID: <ZoHBFcP73TXNMK0y@ACM>
References: <CADwFkmk-rKM1J1y=jcaG-WvXS015D=WXYskm8177LW2oS2dZ2Q@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CADwFkmk-rKM1J1y=jcaG-WvXS015D=WXYskm8177LW2oS2dZ2Q@HIDDEN>
X-Submission-Agent: TMDA/1.3.x (Ph3nix)
From: Alan Mackenzie <acm@HIDDEN>
X-Primary-Address: acm@HIDDEN
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71840
Cc: acm@HIDDEN, 71840 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

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@HIDDEN:
bug#71840; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Jun 2024 13:12:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 29 09:12:19 2024
Received: from localhost ([127.0.0.1]:37444 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sNXsJ-0007mM-Jo
	for submit <at> debbugs.gnu.org; Sat, 29 Jun 2024 09:12:19 -0400
Received: from lists.gnu.org ([209.51.188.17]:60502)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1sNXsH-0007mE-Ih
 for submit <at> debbugs.gnu.org; Sat, 29 Jun 2024 09:12:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <stefankangas@HIDDEN>)
 id 1sNXsG-00033d-Hr
 for bug-gnu-emacs@HIDDEN; Sat, 29 Jun 2024 09:12:17 -0400
Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <stefankangas@HIDDEN>)
 id 1sNXsD-0006Js-0I
 for bug-gnu-emacs@HIDDEN; Sat, 29 Jun 2024 09:12:15 -0400
Received: by mail-ej1-x632.google.com with SMTP id
 a640c23a62f3a-a6fe7a0cb58so77071566b.1
 for <bug-gnu-emacs@HIDDEN>; Sat, 29 Jun 2024 06:12:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719666731; x=1720271531; darn=gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=Yq3H0p6x9j/9R0DiP7EkCtE19RnnGvVjnPffpOCo1j4=;
 b=e+Ahm4hp5gTLj35z1siftL2jQC/K63J7AfLG+ywTL64Uple6WkMY+DuR8PdoYC4Vlx
 GV19ezVYcET6FiUjug7a8YXQrVCsSQkgygoku39t4H1YDFxhe3mFIpgr2rhC7ce7SxwG
 D1hKmHVSLdcXWDHhfyVmaHukWpyGT0ZjFk7LRqgzxJgJtURUPDeo+iw30e0bbyUum7ki
 jkjvoyQqfdwM6/LgINZIHEziOL7ZoQN338+Pg82h5CyPGpDZia6pxbmxuaSxAO8a9cL3
 s0t20dWY+C52/LSBW9b8tcT6ekTk+M1o3XJEiYhh1IVlkHHmuVVgi83AA4j8v9vNP2sp
 I82g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719666731; x=1720271531;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=Yq3H0p6x9j/9R0DiP7EkCtE19RnnGvVjnPffpOCo1j4=;
 b=biJ+2OA5PUiSsB12pmH0RCgoY6EF1YfT1WZxrlIkFYzzRAoLYMVyuxoOLcOKAsiwAM
 fU7dKsj0ONfJKJlyK26Gt++Oreia7xxyCkoFBP4uZ4uvsJtwEAKmxZPWm2hnLza7z0kY
 LGjByVEJKtQUl/e2EggbbfbM+9mnu8DFrDkSNql5C/KuoWqo34Bkm9quMmhYfWPpnjpH
 1v+aDyb8RWzO1bVMeo/jBfhcPeBRJZQ3O41BhkuVswrqb5VNYfDrRcpttr8g0BugJD0r
 DV3+5MPqzVtSFBLdAPrn9mwLfb1SqtbiXD1tLU6z+C5HOPXzXxc2mfpksEha4jFnBjLq
 qCFQ==
X-Gm-Message-State: AOJu0Yzjgy1gyIsMLBmU6J9wklUmK/sOoxm/E4eQk4mGX6x4hHtWNXn6
 7rCg6kapdYQqJPdXpV8gZmIH+zCqFfhy6+injh51/RCGmHCj4LfqCGOomqzcPCHQ9g0o/+MpVTQ
 zvRZu3VHfA/SXdP4Okk0IA1pHLxfrj1yO/Xo=
X-Google-Smtp-Source: AGHT+IF1RevbgJCaEq6/XwUcikYwz+qMKgPoW6oGBTJL30Euwaojl19jwaTWRYJmClhMbuEswsRh7zH5XJ5O7vpOFB4=
X-Received: by 2002:a05:6402:908:b0:57d:f84:11aa with SMTP id
 4fb4d7f45d1cf-587a0822c36mr799834a12.31.1719666731037; Sat, 29 Jun 2024
 06:12:11 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 29 Jun 2024 06:12:10 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
X-Debbugs-CC: Alan Mackenzie <acm@HIDDEN>
MIME-Version: 1.0
Date: Sat, 29 Jun 2024 06:12:10 -0700
Message-ID: <CADwFkmk-rKM1J1y=jcaG-WvXS015D=WXYskm8177LW2oS2dZ2Q@HIDDEN>
Subject: 30.0.60;
 Reference to non-existent variable in c-opt-extra-label-key docstring
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::632;
 envelope-from=stefankangas@HIDDEN; helo=mail-ej1-x632.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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.




Acknowledgement sent to Stefan Kangas <stefankangas@HIDDEN>:
New bug report received and forwarded. Copy sent to acm@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to acm@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#71840; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 30 Jun 2024 20:45:02 UTC

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