From unknown Mon Aug 18 08:54:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#343 <343@debbugs.gnu.org> To: bug#343 <343@debbugs.gnu.org> Subject: Status: C mode asks twice about local variables Reply-To: bug#343 <343@debbugs.gnu.org> Date: Mon, 18 Aug 2025 15:54:27 +0000 retitle 343 C mode asks twice about local variables reassign 343 emacs,cc-mode submitter 343 Glenn Morris severity 343 normal thanks From rgm@gnu.org Sat May 31 15:53:29 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.1 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW,UNRESOLVED_TEMPLATE autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 31 May 2008 22:53:29 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4VMrPec002516 for ; Sat, 31 May 2008 15:53:27 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2Zwz-0001a0-KO for bug-gnu-emacs@gnu.org; Sat, 31 May 2008 18:53:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2Zwz-0001Zo-64 for bug-gnu-emacs@gnu.org; Sat, 31 May 2008 18:53:25 -0400 Received: from [199.232.76.173] (port=51655 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2Zwz-0001Zl-3U for bug-gnu-emacs@gnu.org; Sat, 31 May 2008 18:53:25 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:33591) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K2Zwy-0002DB-Vq for bug-gnu-emacs@gnu.org; Sat, 31 May 2008 18:53:25 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1K2ZvE-0005IS-10; Sat, 31 May 2008 18:51:36 -0400 From: Glenn Morris To: bug-gnu-emacs@gnu.org Cc: bug-cc-mode@gnu.org Subject: C mode asks twice about local variables X-Spook: broadside Europol AFSPC Belknap Roswell domestic X-Ran: %P\3o{Wk[hf.#?VMtJL`FNvn{Cj5@2FR]n[F-!0XGoL~Zdp<5WZrrlb/A=%ZM_Vk(\BKC8 X-Hue: blue X-Attribution: GM Date: Sat, 31 May 2008 18:51:35 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) This applies in Emacs 22.2 and CVS trunk. emacs -Q lib-src/etags.c The local variables list in etags.c contains values that may not be safe (*). Do you want to apply it? You can type y -- to apply the local variables list. n -- to ignore the local variables list. ! -- to apply the local variables list, and permanently mark these values (*) as safe (in the future, they will be set automatically.) indent-tabs-mode: t tab-width: 8 fill-column: 79 * c-font-lock-extra-types: ("FILE" "bool" "language" "linebuffer" "fdesc" "node" "regexp") c-file-style: "gnu" If I answer `y', nothing happens. I have to press `y' a second time. From rgm@gnu.org Mon Jun 2 00:56:19 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.5 required=4.0 tests=AWL,BAYES_00,ONEWORD, RCVD_IN_DNSWL_MED,VALID_BTS_CONTROL autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 2 Jun 2008 07:56:19 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m527uGMp004850 for ; Mon, 2 Jun 2008 00:56:17 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1K34s2-000242-Sf; Mon, 02 Jun 2008 03:54:22 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18499.42798.793720.866533@fencepost.gnu.org> Date: Mon, 2 Jun 2008 03:54:22 -0400 From: Glenn Morris To: control Subject: #347 X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: black X-Ran: }Y}RX}7f|'XX[Y>)6VZ8D@Vzc!8G5Z\nF)O3UOZ_M[:W&"uU7<|Z$_T|!f\iQD[cVXO(=2 merge 343 347 From rgm@gnu.org Mon Jun 30 17:57:34 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.8 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, NOSUBJECT,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 1 Jul 2008 00:57:34 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m610vTvE032072 for ; Mon, 30 Jun 2008 17:57:30 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KDUBF-0008DR-Sr; Mon, 30 Jun 2008 20:57:13 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18537.33001.831109.48725@fencepost.gnu.org> Date: Mon, 30 Jun 2008 20:57:13 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: black X-Ran: v;?(b4pp]t{=,w_+9HM*^78%x_(pE^g\/WUl}d-,bzi|U4E=t1U`#j.5bY|[3o_,#";.'L close 239 tags 253 moreinfo severity 267 wishlist tags 284 unreproducible owner 341 Alan Mackenzie owner 343 Alan Mackenzie merge 364 365 tags 366 moreinfo severity 385 minor close 387 tags 390 unreproducible moreinfo tags 393 unreproducible moreinfo close 398 close 405 tags 443 moreinfo From cyd@stupidchicken.com Thu Jul 31 07:14:56 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.2 required=4.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 343-done) by emacsbugs.donarmstrong.com; 31 Jul 2008 14:14:56 +0000 Received: from furry (c-24-63-201-57.hsd1.ma.comcast.net [24.63.201.57]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6VEEmEP018359; Thu, 31 Jul 2008 07:14:49 -0700 Received: by furry (Postfix, from userid 1000) id CF51AC05A; Thu, 31 Jul 2008 10:14:42 -0400 (EDT) From: Chong Yidong To: 343-done@debbugs.gnu.org, 347-done@debbugs.gnu.org Subject: Re: C mode asks twice about local variables Date: Thu, 31 Jul 2008 10:14:42 -0400 Message-ID: <871w1aywbx.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-CrossAssassin-Score: 2 I believe this is now fixed in the trunk. We'll leave it unfixed in the branch, since the fix involves the hack-local-variables code and needs to be tested thoroughly. From unknown Mon Aug 18 08:54:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 28 Aug 2008 14:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 29 14:06:48 2010 Received: (at control) by debbugs.gnu.org; 29 Jan 2010 19:06:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NawB6-0006Th-CT for submit@debbugs.gnu.org; Fri, 29 Jan 2010 14:06:48 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NawB3-0006TR-9S for control@debbugs.gnu.org; Fri, 29 Jan 2010 14:06:47 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NawAz-0008CX-1L; Fri, 29 Jan 2010 14:06:41 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19299.12736.832508.282592@fencepost.gnu.org> Date: Fri, 29 Jan 2010 14:06:40 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: blue X-Ran: VO&ud[`?6f;MPwH!mdZU0Da5EQb;q|^:M@[G'\N`mS1c#>^/W4D}F4Lh'i,;0o1zMzi=T& X-Debbugs-No-Ack: yes X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) noowner 644 noowner 193 noowner 341 noowner 523 noowner 299 noowner 50 unarchive 113 noowner 113 reassign 113 emacs,cc-mode unarchive 512 noowner 512 unarchive 13 noowner 13 reassign 13 emacs,cc-mode unarchive 17 unmerge 17 noowner 16 unarchive 343 noowner 343 reassign 343 emacs,cc-mode unarchive 145 noowner 145 unarchive 45 noowner 45 unarchive 53 noowner 53 From unknown Mon Aug 18 08:54:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 27 Feb 2010 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator