From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#71840: 30.0.60; Reference to non-existent variable in c-opt-extra-label-key docstring Date: Sun, 30 Jun 2024 20:33:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37561"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 71840@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 30 22:34:34 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sO1Fp-0009c0-Q7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Jun 2024 22:34:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sO1FR-0005uD-SV; Sun, 30 Jun 2024 16:34:10 -0400 Original-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 ) id 1sO1FM-0005th-3U for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 16:34:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sO1FK-00070q-DY for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 16:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sO1FK-0004g6-F6 for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 16:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jun 2024 20:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71840 X-GNU-PR-Package: emacs Original-Received: via spool by 71840-submit@debbugs.gnu.org id=B71840.171977961517942 (code B ref 71840); Sun, 30 Jun 2024 20:34:02 +0000 Original-Received: (at 71840) by debbugs.gnu.org; 30 Jun 2024 20:33:35 +0000 Original-Received: from localhost ([127.0.0.1]:59247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sO1Et-0004fK-7A for submit@debbugs.gnu.org; Sun, 30 Jun 2024 16:33:35 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:62284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sO1Er-0004f7-RX for 71840@debbugs.gnu.org; Sun, 30 Jun 2024 16:33:34 -0400 Original-Received: (qmail 4765 invoked by uid 3782); 30 Jun 2024 22:33:26 +0200 Original-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 Original-Received: (qmail 14461 invoked by uid 1000); 30 Jun 2024 20:33:25 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288222 Archived-At: 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).