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#21466: [PATCH] Avoid defining (temporarily) vars and functions Date: Fri, 25 Mar 2022 21:09:11 +0000 Message-ID: References: <87eeeestgu.fsf@gnus.org> <87y2105swg.fsf@gnus.org> 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="3636"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , 21466@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 25 22:10:48 2022 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 1nXrCp-0000ll-WB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Mar 2022 22:10:48 +0100 Original-Received: from localhost ([::1]:51872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXrCo-0007bw-GV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Mar 2022 17:10:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXrC7-0007Xl-8r for bug-gnu-emacs@gnu.org; Fri, 25 Mar 2022 17:10:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXrC6-0002af-L4; Fri, 25 Mar 2022 17:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXrC6-0003RQ-GG; Fri, 25 Mar 2022 17:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 25 Mar 2022 21:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21466 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: patch Original-Received: via spool by 21466-submit@debbugs.gnu.org id=B21466.164824256213171 (code B ref 21466); Fri, 25 Mar 2022 21:10:02 +0000 Original-Received: (at 21466) by debbugs.gnu.org; 25 Mar 2022 21:09:22 +0000 Original-Received: from localhost ([127.0.0.1]:52638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXrBR-0003QI-O5 for submit@debbugs.gnu.org; Fri, 25 Mar 2022 17:09:22 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:25628 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1nXrBP-0003Pw-C3 for 21466@debbugs.gnu.org; Fri, 25 Mar 2022 17:09:20 -0400 Original-Received: (qmail 5525 invoked by uid 3782); 25 Mar 2022 21:09:12 -0000 Original-Received: from acm.muc.de (p4fe15c1e.dip0.t-ipconnect.de [79.225.92.30]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 25 Mar 2022 22:09:12 +0100 Original-Received: (qmail 15788 invoked by uid 1000); 25 Mar 2022 21:09:11 -0000 Content-Disposition: inline In-Reply-To: <87y2105swg.fsf@gnus.org> 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" Xref: news.gmane.io gmane.emacs.bugs:228958 Archived-At: Hello, Lars. On Wed, Mar 23, 2022 at 21:13:35 +0100, Lars Ingebrigtsen wrote: > Alan Mackenzie writes: > > So, I don't object on principle to the principle of the patch, just > > there are these little irritations about it, and it will need me to > > study it more closely to check nothing subtle would get lost (I doubt it > > would). > The patch no longer applied to Emacs 29, so I've respun it. [ .... ] I'll take a look at it, hopefully over the weekend. > However, it leads to a number of warnings when compiling, so either my > respin is faulty, or something's changed to make it not work any more? > In c-fontify-recorded-types-and-refs: > progmodes/cc-fonts.el:491:8: Warning: function `c-fontify-recorded-types-and-refs' defined multiple times in this file > ELC progmodes/cc-styles.elc > In c-font-lock-declarators: > progmodes/cc-fonts.el:1063:8: Warning: function `c-font-lock-declarators' defined multiple times in this file > progmodes/cc-fonts.el:2300:35: Warning: reference to free variable `c-preprocessor-face-name' > progmodes/cc-fonts.el:2300:35: Warning: reference to free variable `c-preprocessor-face-name' > progmodes/cc-fonts.el:2496:37: Warning: reference to free variable `c-preprocessor-face-name' > progmodes/cc-fonts.el:2496:37: Warning: reference to free variable `c-preprocessor-face-name' > progmodes/cc-fonts.el:2501:37: Warning: reference to free variable `c-reference-face-name' > In c-font-lock-objc-method: > progmodes/cc-fonts.el:2527:8: Warning: function `c-font-lock-objc-method' defined multiple times in this file > progmodes/cc-fonts.el:2602:38: Warning: reference to free variable `c-preprocessor-face-name' > progmodes/cc-fonts.el:2602:38: Warning: reference to free variable `c-preprocessor-face-name' > progmodes/cc-fonts.el:2650:38: Warning: reference to free variable `c-reference-face-name' > progmodes/cc-fonts.el:2678:37: Warning: reference to free variable `c-preprocessor-face-name' > progmodes/cc-fonts.el:2678:37: Warning: reference to free variable `c-preprocessor-face-name' > progmodes/cc-fonts.el:2683:37: Warning: reference to free variable `c-reference-face-name' > progmodes/cc-fonts.el:2711:38: Warning: reference to free variable `c-preprocessor-face-name' > progmodes/cc-fonts.el:2711:38: Warning: reference to free variable `c-preprocessor-face-name' > progmodes/cc-fonts.el:2716:38: Warning: reference to free variable `c-reference-face-name' -- Alan Mackenzie (Nuremberg, Germany).