From unknown Sat Jun 21 03:04:04 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#4146 <4146@debbugs.gnu.org> To: bug#4146 <4146@debbugs.gnu.org> Subject: Status: 23.1.50; c-file-style in buffer local variables does not work! Reply-To: bug#4146 <4146@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:04:04 +0000 retitle 4146 23.1.50; c-file-style in buffer local variables does not work! reassign 4146 emacs,cc-mode submitter 4146 Jamie Lokier severity 4146 normal thanks From jamie@shareable.org Fri Aug 14 20:41:21 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 15 Aug 2009 03:41:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7F3fJYH026348 for ; Fri, 14 Aug 2009 20:41:21 -0700 Received: from mx10.gnu.org ([199.232.76.166]:42710) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1McA8t-0002Sq-9g for emacs-pretest-bug@gnu.org; Fri, 14 Aug 2009 23:41:19 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1McA8r-0007bV-Cc for emacs-pretest-bug@gnu.org; Fri, 14 Aug 2009 23:41:18 -0400 Received: from mail2.shareable.org ([80.68.89.115]:56207) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1McA8r-0007b1-1Z for emacs-pretest-bug@gnu.org; Fri, 14 Aug 2009 23:41:17 -0400 Received: from jamie by mail2.shareable.org with local (Exim 4.63) (envelope-from ) id 1McA8m-00082N-CQ for emacs-pretest-bug@gnu.org; Sat, 15 Aug 2009 04:41:12 +0100 Date: Sat, 15 Aug 2009 04:41:12 +0100 From: Jamie Lokier To: emacs-pretest-bug@gnu.org Subject: 23.1.50; c-file-style in buffer local variables does not work! Message-ID: <20090815034112.GA30719@shareable.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Hi, In GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1) of 2009-07-31 on lansones, modified by Debian (emacs-snapshot package, version 1:20090730-1~jaunty1) (= the Ubuntu-PPA Jaunty package at the time of writing) In theory, if you put this at the top of a file, you'd expect C indentation style to be Linux style instead of the default GNU style (it's just an example): -*- c-file-style: "linux" -*- I have just opened a fresh new emacs-23.1.50.1 with "emacs -Q -nw" and then opened a file called foo.c containing that line. What I found is that the variable c-file-style is set to "linux" and is buffer-local, but it does not have the effect of setting the C indentation style. This is the output of C-h v c-file-style RET from that buffer: c-file-style is a variable defined in `cc-vars.el'. Its value is "linux" Local in buffer foo.c; global value is nil Automatically becomes buffer-local when set in any fashion. This variable is a file local variable. This variable is safe as a file local variable if its value satisfies the predicate `string-or-null-p'. The problem is that the variable is set correctly, but the intended effect of setting the C indentation style does not happen. I found this originally when I attempted to set a .dir-locals.el file for a project, exactly the way it is documented in the Emacs manual under "Per-Directory Local Variables": ((nil . ((indent-tabs-mode . t) (tab-width . 8) (fill-column . 79))) (c-mode . ((c-file-style . "linux")))) It turns out that doesn't work either, and then I confirmed it has the same problem when c-file-style is file-local. A bit of debugging reveals that this is called from cc-mode.el.gz, when the file-local variable is set: (c-set-style "GNU" t) (c-set-style "linux" t) So c-file-style does trigger a call to c-set-style. Trouble is, that third argument t means "don't override settings already set", and they were already set by the first call. The first call always happens, and it sets the default style. Fortunately I found a workaround in my .dir-locals.el file that does not ask questions: ((c-mode . ((eval . (c-set-style "linux"))))) Since the entire purpose of c-file-style is to do exactly this, and since it's documented in both the Emacs manual as well as the CC Mode manual, it's clear that it's broken. All this is with "emacs -Q": no customisations. Thanks, -- Jamie From dann@godzilla.ics.uci.edu Sat Aug 15 00:10:21 2009 Received: (at 4146) by emacsbugs.donarmstrong.com; 15 Aug 2009 07:10:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7F7AK5P030050 for <4146@emacsbugs.donarmstrong.com>; Sat, 15 Aug 2009 00:10:21 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n7F7A8pN022318; Sat, 15 Aug 2009 00:10:08 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n7F7A8el004126; Sat, 15 Aug 2009 00:10:08 -0700 (PDT) Date: Sat, 15 Aug 2009 00:10:08 -0700 (PDT) Message-Id: <200908150710.n7F7A8el004126@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Jamie Lokier Cc: 4146@debbugs.gnu.org, emacs-pretest-bug@gnu.org Subject: Re: bug#4146: 23.1.50; c-file-style in buffer local variables does not work! References: <20090815034112.GA30719@shareable.org> X-Debbugs-No-Ack: yes In-Reply-To: <20090815034112.GA30719@shareable.org> (Jamie Lokier's message of "Sat, 15 Aug 2009 04:41:12 +0100") Lines: 42 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n7F7A8pN022318 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Jamie Lokier writes: > Hi, > > > In GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1) > of 2009-07-31 on lansones, modified by Debian > (emacs-snapshot package, version 1:20090730-1~jaunty1) > (= the Ubuntu-PPA Jaunty package at the time of writing) > > In theory, if you put this at the top of a file, you'd expect C > indentation style to be Linux style instead of the default GNU style > (it's just an example): > > -*- c-file-style: "linux" -*- > > I have just opened a fresh new emacs-23.1.50.1 with "emacs -Q -nw" > and then opened a file called foo.c containing that line. > > What I found is that the variable c-file-style is set to "linux" and > is buffer-local, but it does not have the effect of setting the C > indentation style. > > This is the output of C-h v c-file-style RET from that buffer: > > c-file-style is a variable defined in `cc-vars.el'. > Its value is "linux" > Local in buffer foo.c; global value is nil > > Automatically becomes buffer-local when set in any fashion. > This variable is a file local variable. > This variable is safe as a file local variable if its value > satisfies the predicate `string-or-null-p'. > > The problem is that the variable is set correctly, but the intended > effect of setting the C indentation style does not happen. I can confirm this. This is a regression, it works as expected in emacs-22.3. IMO this is the type of bad bug that warrants making a dot release as soon as it's fixed. From dann@godzilla.ics.uci.edu Wed Aug 19 16:15:21 2009 Received: (at 4146) by emacsbugs.donarmstrong.com; 19 Aug 2009 23:15:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7JNFKM9012577 for <4146@emacsbugs.donarmstrong.com>; Wed, 19 Aug 2009 16:15:21 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n7JNF9WV007952; Wed, 19 Aug 2009 16:15:09 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n7JNF8sW003015; Wed, 19 Aug 2009 16:15:08 -0700 (PDT) Date: Wed, 19 Aug 2009 16:15:08 -0700 (PDT) Message-Id: <200908192315.n7JNF8sW003015@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Jamie Lokier Cc: 4146@debbugs.gnu.org Subject: Re: bug#4146: 23.1.50; c-file-style in buffer local variables does not work! References: <20090815034112.GA30719@shareable.org> X-Debbugs-No-Ack: yes In-Reply-To: <20090815034112.GA30719@shareable.org> (Jamie Lokier's message of "Sat, 15 Aug 2009 04:41:12 +0100") Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n7JNF9WV007952 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Jamie Lokier writes: > Hi, > > > In GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1) > of 2009-07-31 on lansones, modified by Debian > (emacs-snapshot package, version 1:20090730-1~jaunty1) > (= the Ubuntu-PPA Jaunty package at the time of writing) Please try the emacs-23.1 release, the bug does not occur there. The snapshot you are using is from the CVS trunk that still has the bug. Hopefully it will get fixed there soon. From rgm@gnu.org Thu Aug 20 18:09:19 2009 Received: (at control) by emacsbugs.donarmstrong.com; 21 Aug 2009 01:09:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.9 required=4.0 tests=AWL,ONEWORD,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7L19H7w000999 for ; Thu, 20 Aug 2009 18:09:19 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MeId3-0004Zc-5w; Thu, 20 Aug 2009 21:09:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19085.62397.105518.639079@fencepost.gnu.org> Date: Thu, 20 Aug 2009 21:09:17 -0400 From: Glenn Morris To: control Subject: control X-Debbugs-No-Ack: yes merge 4185 4202 merge 4186 4201 severity 4192 wishlist reassign 4192 emacs,cc-mode reassign 4143 emacs,ns reassign 4146 emacs,cc-mode severity 4164 minor reassign 4180 emacs,ns reassign 4187 emacs,cc-mode forcemerge 2868 4194 From kanru@anar.kanru.info Wed Dec 2 20:46:28 2009 Received: (at 4146) by emacsbugs.donarmstrong.com; 3 Dec 2009 04:46:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.6 required=4.0 tests=HAS_BUG_NUMBER,IMPRONONCABLE_2, SARE_RECV_IP_061228,SARE_RECV_SPAM_DOMN0b autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from msr11.hinet.net (msr11.hinet.net [168.95.4.111]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB34kPuD022547 for <4146@emacsbugs.donarmstrong.com>; Wed, 2 Dec 2009 20:46:27 -0800 Received: from anar.kanru.info (61-228-151-91.dynamic.hinet.net [61.228.151.91]) by msr11.hinet.net (8.9.3/8.9.3) with ESMTP id MAA03527 for <4146@emacsbugs.donarmstrong.com>; Thu, 3 Dec 2009 12:46:17 +0800 (CST) Received: from kanru (uid 1000) (envelope-from kanru@anar.kanru.info) id 27f1 by anar.kanru.info (DragonFly Mail Agent) Thu, 03 Dec 2009 12:46:02 +0800 From: Kan-Ru Chen To: 4146@debbugs.gnu.org Cc: Jamie Lokier , Dan Nicolaescu Subject: Re: bug#4146: 23.1.50; c-file-style in buffer local variables does not work! Date: Thu, 03 Dec 2009 12:46:02 +0800 Message-Id: <4b17428a.27f1.cd05132@anar.kanru.info> Dan Nicolaescu writes: > Please try the emacs-23.1 release, the bug does not occur there. > > The snapshot you are using is from the CVS trunk that still has the > bug. Hopefully it will get fixed there soon. Still same here. ,----[ *trace-output* ] | ====================================================================== | 1 -> c-set-style: stylename="gnu" dont-override=t | 1 <- c-set-style: nil | ====================================================================== | 1 -> c-set-style: stylename="bsd" dont-override=t | 1 <- c-set-style: nil `---- ,----[ emacs-version ] | GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.3) of 2009-12-03 on anar `---- Build from emacs-git EMACS_PRETEST_23_0_95-2741-ge02c08d -- Kan-Ru Chen | http://kanru.info Q: Why are my replies five sentences or less? A: http://five.sentenc.es/ From dann@godzilla.ics.uci.edu Wed Dec 2 21:56:20 2009 Received: (at 4146) by emacsbugs.donarmstrong.com; 3 Dec 2009 05:56:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from paul-mcgann-v0.ics.uci.edu (paul-mcgann-v0.ics.uci.edu [128.195.1.147]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB35uJc8028653 for <4146@emacsbugs.donarmstrong.com>; Wed, 2 Dec 2009 21:56:20 -0800 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nB35u9Ye012499 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Dec 2009 21:56:09 -0800 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nB35u8Q5021423; Wed, 2 Dec 2009 21:56:08 -0800 (PST) Date: Wed, 2 Dec 2009 21:56:08 -0800 (PST) Message-Id: <200912030556.nB35u8Q5021423@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Kan-Ru Chen Cc: 4146@debbugs.gnu.org, Jamie Lokier Subject: Re: bug#4146: 23.1.50; c-file-style in buffer local variables does not work! References: <4b17428a.27f1.cd05132@anar.kanru.info> X-Debbugs-No-Ack: yes In-Reply-To: <4b17428a.27f1.cd05132@anar.kanru.info> (Kan-Ru Chen's message of "Thu, 03 Dec 2009 12:46:02 +0800") Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nB35u9Ye012499 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Kan-Ru Chen writes: > Dan Nicolaescu writes: > > > Please try the emacs-23.1 release, the bug does not occur there. > > > > The snapshot you are using is from the CVS trunk that still has the > > bug. Hopefully it will get fixed there soon. > > Still same here. > > ,----[ *trace-output* ] > | ====================================================================== > | 1 -> c-set-style: stylename="gnu" dont-override=t > | 1 <- c-set-style: nil > | ====================================================================== > | 1 -> c-set-style: stylename="bsd" dont-override=t > | 1 <- c-set-style: nil > `---- > > ,----[ emacs-version ] > | GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.3) of 2009-12-03 on anar > `---- Indeed, I can reproduce the problem here with an up to date CVS tree. It works fine though in the 23.1 release... From kanru@kanru.info Fri Dec 4 08:10:51 2009 Received: (at 4146) by emacsbugs.donarmstrong.com; 4 Dec 2009 16:10:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.6 required=4.0 tests=AWL,FOURLA,SARE_RECV_IP_061228, SARE_RECV_SPAM_DOMN0b autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from msr1.hinet.net (msr1.hinet.net [168.95.4.101]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB4GAnfx031352 for <4146@emacsbugs.donarmstrong.com>; Fri, 4 Dec 2009 08:10:50 -0800 Received: from anar.kanru.info (61-228-152-221.dynamic.hinet.net [61.228.152.221]) by msr1.hinet.net (8.9.3/8.9.3) with ESMTP id AAA08814 for <4146@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 00:10:46 +0800 (CST) Received: from kanru (uid 1000) (envelope-from kanru@kanru.info) id 29 by anar.kanru.info (DragonFly Mail Agent) Sat, 05 Dec 2009 00:10:29 +0800 From: Kan-Ru Chen To: emacs-devel Cc: bug-cc-mode , 4146@debbugs.gnu.org Subject: c-file-style in buffer local variables does not work Date: Sat, 05 Dec 2009 00:10:29 +0800 Message-ID: <87aaxyzpmy.fsf@anar.kanru.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii http://debbugs.gnu.org/4146 Seems introduced by a commit on MAIN branch and later fixed in the EMACS_23_1_RC branch. But the fix did not merge back to cvs head, c-file-style is still broken. -- Kan-Ru Chen | http://kanru.info Q: Why are my replies five sentences or less? A: http://five.sentenc.es/ From acm@muc.de Sat Dec 5 03:22:21 2009 Received: (at 4146) by emacsbugs.donarmstrong.com; 5 Dec 2009 11:22:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.muc.de (qmailr@colin.muc.de [193.149.48.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB5BMIeQ006437 for <4146@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 03:22:21 -0800 Received: (qmail 8574 invoked by uid 3782); 5 Dec 2009 11:22:17 -0000 Received: from acm.muc.de (pD9E53057.dip.t-dialin.net [217.229.48.87]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sat, 05 Dec 2009 12:22:15 +0100 Received: (qmail 5430 invoked by uid 1000); 5 Dec 2009 11:27:45 -0000 Date: Sat, 5 Dec 2009 11:27:45 +0000 To: Kan-Ru Chen , 4146@debbugs.gnu.org Cc: emacs-devel , bug-cc-mode Subject: Re: bug#4146: c-file-style in buffer local variables does not work Message-ID: <20091205112745.GB2399@muc.de> References: <87aaxyzpmy.fsf@anar.kanru.info> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87aaxyzpmy.fsf@anar.kanru.info> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de Hi, all, On Sat, Dec 05, 2009 at 12:10:29AM +0800, Kan-Ru Chen wrote: > http://debbugs.gnu.org/4146 > Seems introduced by a commit on MAIN branch and later fixed in the > EMACS_23_1_RC branch. But the fix did not merge back to cvs head, > c-file-style is still broken. I have just reverted it in the CVS HEAD. It should be "OK", now. > -- > Kan-Ru Chen | http://kanru.info > Q: Why are my replies five sentences or less? > A: http://five.sentenc.es/ -- Alan Mackenzie (Nuremberg, Germany). From rgm@gnu.org Sat Dec 5 12:22:06 2009 Received: (at 4146) by emacsbugs.donarmstrong.com; 5 Dec 2009 20:22:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.6 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB5KM4EQ026348 for <4146@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 12:22:06 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NH18l-00009n-RF; Sat, 05 Dec 2009 15:22:03 -0500 From: Glenn Morris To: Alan Mackenzie Cc: Kan-Ru Chen , 4146@debbugs.gnu.org, bug-cc-mode , emacs-devel@gnu.org Subject: Re: bug#4146: c-file-style in buffer local variables does not work References: <87aaxyzpmy.fsf@anar.kanru.info> <20091205112745.GB2399@muc.de> X-Spook: Firefly plutonium high security Armani illuminati New X-Ran: 29meEVl]CJ5ht8weTtp;'KO4L-=}O?oQ$f#,r|`5nm7?$.b8&Z"1>7?,l:ei7\V_rb#h#@ X-Hue: green X-Attribution: GM Date: Sat, 05 Dec 2009 15:22:03 -0500 In-Reply-To: <20091205112745.GB2399@muc.de> (Alan Mackenzie's message of "Sat, 5 Dec 2009 11:27:45 +0000") Message-ID: <8id42tqihg.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Alan Mackenzie wrote: > I have just reverted it in the CVS HEAD. It should be "OK", now. Looks like you forgot to make a ChangeLog entry. Also, I guess the issue that you made this change to solve is now back, though I haven't tested it: http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg01011.html From acm@muc.de Sat Dec 5 12:55:26 2009 Received: (at 4146) by emacsbugs.donarmstrong.com; 5 Dec 2009 20:55:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.4 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.muc.de (qmailr@colin.muc.de [193.149.48.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB5KtOOx030124 for <4146@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 12:55:26 -0800 Received: (qmail 26555 invoked by uid 3782); 5 Dec 2009 20:55:23 -0000 Received: from acm.muc.de (pD9E22A1F.dip.t-dialin.net [217.226.42.31]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sat, 05 Dec 2009 21:55:22 +0100 Received: (qmail 4509 invoked by uid 1000); 5 Dec 2009 21:00:51 -0000 Date: Sat, 5 Dec 2009 21:00:51 +0000 To: Glenn Morris Cc: bug-cc-mode , 4146@debbugs.gnu.org, Kan-Ru Chen , emacs-devel@gnu.org Subject: Re: bug#4146: c-file-style in buffer local variables does not work Message-ID: <20091205210051.GA4405@muc.de> References: <87aaxyzpmy.fsf@anar.kanru.info> <20091205112745.GB2399@muc.de> <8id42tqihg.fsf@fencepost.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8id42tqihg.fsf@fencepost.gnu.org> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de Hi, Glenn, On Sat, Dec 05, 2009 at 03:22:03PM -0500, Glenn Morris wrote: > Alan Mackenzie wrote: > > I have just reverted it in the CVS HEAD. It should be "OK", now. > Looks like you forgot to make a ChangeLog entry. Yep. Somehow making that patch felt too easy, as though I'd forgotten something. I've done the ChangeLog entry now, thanks for the reminder. > Also, I guess the issue that you made this change to solve is now > back, though I haven't tested it: That's what the quotes round "OK" were alluding to. > http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg01011.html Fixing it properly will require a lot of patience, a lot of bloody mindedness, and a high toleration for mindless tedium. I'll get round to it sometime, assuming a fix is possible. Note that this code is now the same as what's in 23.1, about which nobody's complained so far. But yes, it is a bug. -- Alan Mackenzie (Nuremberg, Germany). From rgm@gnu.org Sat Dec 5 13:22:27 2009 Received: (at 4146) by emacsbugs.donarmstrong.com; 5 Dec 2009 21:22:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB5LMQlr001238 for <4146@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 13:22:27 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NH25B-0004N4-3X; Sat, 05 Dec 2009 16:22:25 -0500 From: Glenn Morris To: Alan Mackenzie Cc: bug-cc-mode , 4146@debbugs.gnu.org, Kan-Ru Chen , emacs-devel@gnu.org Subject: Re: bug#4146: c-file-style in buffer local variables does not work References: <87aaxyzpmy.fsf@anar.kanru.info> <20091205112745.GB2399@muc.de> <8id42tqihg.fsf@fencepost.gnu.org> <20091205210051.GA4405@muc.de> X-Spook: Bruxelles Jiang Zemin JUWTF AIEWS spies Saudi Arabia X-Ran: S\ORzPg}eR0)>6#Fk&kGz{vxjn<]lcPF-X%_ucVJ)=1}nml\`q5d.x'']T?l6No|@5B_D4 X-Hue: yellow X-Attribution: GM Date: Sat, 05 Dec 2009 16:22:25 -0500 In-Reply-To: <20091205210051.GA4405@muc.de> (Alan Mackenzie's message of "Sat, 5 Dec 2009 21:00:51 +0000") Message-ID: <95d42tce0e.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Alan Mackenzie wrote: > Fixing it properly will require a lot of patience, a lot of bloody > mindedness, and a high toleration for mindless tedium. I'll get round to > it sometime, assuming a fix is possible. cc-mode scares me... The very best of luck to you! :) From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 26 20:52:15 2010 Received: (at control) by debbugs.gnu.org; 27 Jan 2010 01:52:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZx4p-0001L8-3A for submit@debbugs.gnu.org; Tue, 26 Jan 2010 20:52:15 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZx4n-0001Kz-Cy for control@debbugs.gnu.org; Tue, 26 Jan 2010 20:52:13 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NZx4j-0008Do-Q1; Tue, 26 Jan 2010 20:52:09 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19295.40009.742711.907136@fencepost.gnu.org> Date: Tue, 26 Jan 2010 20:52:09 -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: black X-Ran: .,Id9;5qiQf&2n,<1Q)pSe~'s"9B`l,&Ounxr+7\iedM93C_oK>"#$=D?*3Jqnu(&EvTR4 X-Debbugs-No-Ack: yes X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) tags 4053 moreinfo reassign 4066 emacs,org-mode reassign 4068 emacs,org-mode severity 4068 minor unarchive 4087 reassign 4087 notemacs tags 4094 moreinfo merge 4094 4096 merge 1611 3978 4108 unarchive 4097 unarchive 4130 merge 4097 4130 tags 4140 moreinfo close 4146 reassign 4151 emacs,ns tags 4192 patch From unknown Sat Jun 21 03:04:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Feb 2010 12:24:05 +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