From unknown Tue Jun 17 20:21:55 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#3808 <3808@debbugs.gnu.org> To: bug#3808 <3808@debbugs.gnu.org> Subject: Status: 23.1.50; CC-mode: Impossible to set c-cleanup-list Reply-To: bug#3808 <3808@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:21:55 +0000 retitle 3808 23.1.50; CC-mode: Impossible to set c-cleanup-list reassign 3808 emacs submitter 3808 "Jan D." severity 3808 normal thanks From jan.h.d@swipnet.se Fri Jul 10 04:15:02 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Jul 2009 11:15:02 +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.7 required=4.0 tests=AWL,FOURLA autolearn=no 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 n6ABEsu9023514 for ; Fri, 10 Jul 2009 04:14:56 -0700 Received: from mx10.gnu.org ([199.232.76.166]:59441) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MPE45-0005i1-Qr for emacs-pretest-bug@gnu.org; Fri, 10 Jul 2009 07:14:53 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MPE43-0003J4-Ts for emacs-pretest-bug@gnu.org; Fri, 10 Jul 2009 07:14:53 -0400 Received: from proxy1.bredband.net ([195.54.101.71]:61590) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPE43-0003IK-H4 for emacs-pretest-bug@gnu.org; Fri, 10 Jul 2009 07:14:51 -0400 Received: from iph1.telenor.se (195.54.127.132) by proxy1.bredband.net (7.3.140.3) id 49F5A15201869205 for emacs-pretest-bug@gnu.org; Fri, 10 Jul 2009 13:14:47 +0200 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap/rABy/VkpV4S1uPGdsb2JhbACBUYQ/iHYBig8BAQEBN061YIQIBQ X-IronPort-AV: E=Sophos;i="4.42,378,1243807200"; d="scan'208";a="28012216" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by iph1.telenor.se with ESMTP; 10 Jul 2009 13:14:47 +0200 Received: from gaffa.localdomain (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTPS id 8E9467FA07B for ; Fri, 10 Jul 2009 13:14:46 +0200 (CEST) Received: Remove Received: (from jhd@localhost) by gaffa.localdomain (8.14.3/8.14.3/Submit) id n6ABEjXQ030837; Fri, 10 Jul 2009 13:14:45 +0200 Date: Fri, 10 Jul 2009 13:14:45 +0200 Message-Id: <200907101114.n6ABEjXQ030837@gaffa.localdomain> From: "Jan D." To: emacs-pretest-bug@gnu.org Subject: 23.1.50; CC-mode: Impossible to set c-cleanup-list X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. I customize c-cleanup-list. This is then the full contents of my .emacs: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(c-cleanup-list (quote (scope-operator space-before-funcall)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) I start emacs with --no-site-file, open a .c-file. Check the value of c-cleanup-list: c-cleanup-list is a variable defined in `cc-vars.el'. Its value is (scope-operator) Local in buffer xftfont.c; global value is (scope-operator space-before-funcall) And indeed, space-before-funcall is not in effect. It seems impossible to set this variable. I also tried setting c-old-style-variable-behavior to t, but it made no difference. The manual needs to explain how to set variables in a manner that works, an example with lisp to add to .emacs would be nice also. In GNU Emacs 23.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1) of 2009-07-10 on gaffa Windowing system distributor `The X.Org Foundation', version 11.0.10600000 configured using `configure '--prefix=/opt/emacs-cvs' '--verbose' '--enable-asserts' '--with-x-toolkit=gtk' 'CFLAGS=-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: sv_SE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: C/l Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-h v c - c l e C-x 1 s t a t i c SPC v o i d f o o ( ) { i n SPC t SPC i SPC = S-SPC b a r ( ) ; a ) ; C-a C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-x 1 M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Loading vc-cvs...done Invalid image size (see `max-image-size') [30 times] Type C-x 4 C-o RET to restore the other window, C-M-v to scroll help. Undo! [20 times] undo-more: No further undo information From acm@muc.de Sat Jul 11 04:34:58 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 11 Jul 2009 11:35:00 +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.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=unavailable 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 n6BBYng8007429 for ; Sat, 11 Jul 2009 04:34:50 -0700 Received: from mx10.gnu.org ([199.232.76.166]:59002) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MPaqu-0008D9-Bp for emacs-pretest-bug@gnu.org; Sat, 11 Jul 2009 07:34:48 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MPaqs-0003ax-Iv for emacs-pretest-bug@gnu.org; Sat, 11 Jul 2009 07:34:48 -0400 Received: from colin.muc.de ([193.149.48.1]:4809 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MPaqr-0003aR-VS for emacs-pretest-bug@gnu.org; Sat, 11 Jul 2009 07:34:46 -0400 Received: (qmail 22336 invoked by uid 3782); 11 Jul 2009 11:34:43 -0000 Received: from acm.muc.de (pD9E50B74.dip.t-dialin.net [217.229.11.116]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sat, 11 Jul 2009 13:34:40 +0200 Received: (qmail 8916 invoked by uid 1000); 11 Jul 2009 11:36:38 -0000 Date: Sat, 11 Jul 2009 11:36:38 +0000 To: "Jan D." , 3808@debbugs.gnu.org Cc: emacs-pretest-bug@gnu.org Subject: Re: bug#3808: 23.1.50; CC-mode: Impossible to set c-cleanup-list Message-ID: <20090711113638.GA1088@muc.de> References: <200907101114.n6ABEjXQ030837@gaffa.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200907101114.n6ABEjXQ030837@gaffa.localdomain> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 Hi, Jan! On Fri, Jul 10, 2009 at 01:14:45PM +0200, Jan D. wrote: > I customize c-cleanup-list. This is then the full contents of my > .emacs: > (custom-set-variables > ;; custom-set-variables was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(c-cleanup-list (quote (scope-operator space-before-funcall)))) > (custom-set-faces > ;; custom-set-faces was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > ) > I start emacs with --no-site-file, open a .c-file. Just done this, in a new userid, having copied your .emacs. To be sure, I tried on a freshly updated CVS Emacs. > Check the value of c-cleanup-list: > c-cleanup-list is a variable defined in `cc-vars.el'. > Its value is (scope-operator) I can't reproduce the problem; I get: Its value is (scope-operator space-before-funcall) , just as desired. > Local in buffer xftfont.c; global value is > (scope-operator space-before-funcall) Well, that looks OK. :-) Might it be that there's a local variables section at the end of xftfont.c which is overriding c-cleanup-list? > And indeed, space-before-funcall is not in effect. It seems impossible to > set this variable. I also tried setting c-old-style-variable-behavior to t, > but it made no difference. > The manual needs to explain how to set variables in a manner that works, > an example with lisp to add to .emacs would be nice also. "The manual" being the CC Mode manual, of course. In the appendix "Sample .emacs File", there's an example of c-cleanup-list being set in a style. The instructions on how to set "style variables" in general (of which c-cleanup-list is one) are on the page "Configuration Basics" and its sup-page "Style Variables". So I think the information is there, but perhaps it's not easy enough to find. Could you, perhaps, reconstruct how you went about looking for the info? Maybe the manual needs an extra hint or two somewhere. Thanks! -- Alan Mackenzie (Nuremberg, Germany). From jan.h.d@swipnet.se Sun Jul 12 03:33:12 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Jul 2009 10:33:13 +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=-2.2 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 n6CAX76N031691 for ; Sun, 12 Jul 2009 03:33:09 -0700 Received: from mx10.gnu.org ([199.232.76.166]:50542) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MPwMk-00047R-TS for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 06:33:06 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MPwMj-0008JM-7E for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 06:33:06 -0400 Received: from proxy3.bredband.net ([195.54.101.73]:49744) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPwMi-0008Iv-Hd for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 06:33:04 -0400 Received: from iph2.telenor.se (195.54.127.133) by proxy3.bredband.net (7.3.140.3) id 49F597CD018173DC for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 12:33:02 +0200 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArKVAPZYWUpV4S1uPGdsb2JhbACBUYgnjyQBAQEBN7A0gk4KgTEF X-IronPort-AV: E=Sophos;i="4.42,386,1243807200"; d="scan'208";a="27394999" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by iph2.telenor.se with ESMTP; 12 Jul 2009 12:33:02 +0200 Received: from [172.20.199.5] (winter [172.20.199.5]) by coolsville.localdomain (Postfix) with ESMTPSA id 529AA7FA07B; Sun, 12 Jul 2009 12:33:01 +0200 (CEST) Message-ID: <4A59BBDD.4080905@swipnet.se> Date: Sun, 12 Jul 2009 12:33:01 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: Alan Mackenzie CC: 3808@debbugs.gnu.org, emacs-pretest-bug@gnu.org Subject: Re: bug#3808: 23.1.50; CC-mode: Impossible to set c-cleanup-list References: <200907101114.n6ABEjXQ030837@gaffa.localdomain> <20090711113638.GA1088@muc.de> In-Reply-To: <20090711113638.GA1088@muc.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Error: [-] ERROR: /var/run/p0f.sock: Connection refused Alan Mackenzie skrev: > Hi, Jan! > > On Fri, Jul 10, 2009 at 01:14:45PM +0200, Jan D. wrote: >> I customize c-cleanup-list. This is then the full contents of my >> .emacs: >> (custom-set-variables >> ;; custom-set-variables was added by Custom. >> ;; If you edit it by hand, you could mess it up, so be careful. >> ;; Your init file should contain only one such instance. >> ;; If there is more than one, they won't work right. >> '(c-cleanup-list (quote (scope-operator space-before-funcall)))) >> (custom-set-faces >> ;; custom-set-faces was added by Custom. >> ;; If you edit it by hand, you could mess it up, so be careful. >> ;; Your init file should contain only one such instance. >> ;; If there is more than one, they won't work right. >> ) > >> I start emacs with --no-site-file, open a .c-file. > > Just done this, in a new userid, having copied your .emacs. To be sure, > I tried on a freshly updated CVS Emacs. > >> Check the value of c-cleanup-list: > >> c-cleanup-list is a variable defined in `cc-vars.el'. >> Its value is (scope-operator) > > I can't reproduce the problem; I get: > > Its value is > (scope-operator space-before-funcall) > > , just as desired. > >> Local in buffer xftfont.c; global value is >> (scope-operator space-before-funcall) > > Well, that looks OK. :-) > > Might it be that there's a local variables section at the end of > xftfont.c which is overriding c-cleanup-list? > No, but since this is in the emacs source tree, there is a .dir-locals.el at the root of the source tree, and that comes in effect. So it is not that it doesn't work, it is just this situation (setting c-file-style as a file local variable has the same effect). So what happens is: c-mode sets style to GNU. My customization is applied. .dir-locals.el sets style to GNU, thus erasing my customization. >> And indeed, space-before-funcall is not in effect. It seems impossible to >> set this variable. I also tried setting c-old-style-variable-behavior to t, >> but it made no difference. > >> The manual needs to explain how to set variables in a manner that works, >> an example with lisp to add to .emacs would be nice also. > > "The manual" being the CC Mode manual, of course. In the appendix > "Sample .emacs File", there's an example of c-cleanup-list being set in a > style. The instructions on how to set "style variables" in general (of > which c-cleanup-list is one) are on the page "Configuration Basics" and > its sup-page "Style Variables". > > So I think the information is there, but perhaps it's not easy enough to > find. Could you, perhaps, reconstruct how you went about looking for the > info? Maybe the manual needs an extra hint or two somewhere. Thanks! > The situation above, i.e. how to preserve my customization when .dir-locals.el or file variables are in effect is not described. I tried the mode hook, it didn't work either. Is there a c-set-style hook? Jan D. From acm@muc.de Sun Jul 12 07:05:13 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Jul 2009 14:05:14 +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.5 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=unavailable 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 n6CE52fK000690 for ; Sun, 12 Jul 2009 07:05:03 -0700 Received: from mail.gnu.org ([199.232.76.166]:53956 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MPzfp-0000oP-Ha for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 10:05:01 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MPzfk-0001vk-MS for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 10:04:58 -0400 Received: from colin.muc.de ([193.149.48.1]:3196 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MPzfk-0001uu-2B for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 10:04:56 -0400 Received: (qmail 34822 invoked by uid 3782); 12 Jul 2009 14:04:51 -0000 Received: from acm.muc.de (pD9E233A5.dip.t-dialin.net [217.226.51.165]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sun, 12 Jul 2009 16:04:43 +0200 Received: (qmail 3987 invoked by uid 1000); 12 Jul 2009 14:06:38 -0000 Date: Sun, 12 Jul 2009 14:06:38 +0000 To: Jan =?iso-8859-1?Q?Dj=E4rv?= Cc: 3808@debbugs.gnu.org, emacs-pretest-bug@gnu.org Subject: Re: bug#3808: 23.1.50; CC-mode: Impossible to set c-cleanup-list Message-ID: <20090712140638.GA2524@muc.de> References: <200907101114.n6ABEjXQ030837@gaffa.localdomain> <20090711113638.GA1088@muc.de> <4A59BBDD.4080905@swipnet.se> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4A59BBDD.4080905@swipnet.se> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-CrossAssassin-Score: 2 Hi, Jan! On Sun, Jul 12, 2009 at 12:33:01PM +0200, Jan Djärv wrote: > Alan Mackenzie skrev: > >Hi, Jan! > >On Fri, Jul 10, 2009 at 01:14:45PM +0200, Jan D. wrote: > >>I customize c-cleanup-list. This is then the full contents of my > >>.emacs: > >>(custom-set-variables > >> ;; custom-set-variables was added by Custom. > >> ;; If you edit it by hand, you could mess it up, so be careful. > >> ;; Your init file should contain only one such instance. > >> ;; If there is more than one, they won't work right. > >> '(c-cleanup-list (quote (scope-operator space-before-funcall)))) > >>(custom-set-faces > >> ;; custom-set-faces was added by Custom. > >> ;; If you edit it by hand, you could mess it up, so be careful. > >> ;; Your init file should contain only one such instance. > >> ;; If there is more than one, they won't work right. > >> ) > >>I start emacs with --no-site-file, open a .c-file. > >Just done this, in a new userid, having copied your .emacs. To be sure, > >I tried on a freshly updated CVS Emacs. > >>Check the value of c-cleanup-list: > >>c-cleanup-list is a variable defined in `cc-vars.el'. > >>Its value is (scope-operator) > >I can't reproduce the problem; I get: > > Its value is > > (scope-operator space-before-funcall) > >, just as desired. > >>Local in buffer xftfont.c; global value is > >>(scope-operator space-before-funcall) > >Well, that looks OK. :-) > >Might it be that there's a local variables section at the end of > >xftfont.c which is overriding c-cleanup-list? > No, but since this is in the emacs source tree, there is a .dir-locals.el > at the root of the source tree, and that comes in effect. So it is not > that it doesn't work, it is just this situation (setting c-file-style as a > file local variable has the same effect). Ohhh nooooooo. I wasn't aware of this .dir-locals.el facility. I suppose I should have been - it's been discussed on emacs-devel before now. Complexity upon complexity! Who needs this? Who wants it? > So what happens is: > c-mode sets style to GNU. > My customization is applied. > .dir-locals.el sets style to GNU, thus erasing my customization. The bug would appear to be the time at which these directory level customisations are done. I think it makes some sort of sense for _file_ local variables to be highest priority - It's a fairly rare thing, only done for a particular need, and if somebody specifies a particular setting of, say, `c-cleanup-list' in the file locals, there'll be a damn good reason for it. But directory level? Surely they are of LOWEST priority - to have them overriding things set in hooks etc., is insanity. > >>And indeed, space-before-funcall is not in effect. It seems impossible to > >>set this variable. I also tried setting c-old-style-variable-behavior to > >>t, > >>but it made no difference. > >>The manual needs to explain how to set variables in a manner that works, > >>an example with lisp to add to .emacs would be nice also. > >"The manual" being the CC Mode manual, of course. In the appendix > >"Sample .emacs File", there's an example of c-cleanup-list being set in a > >style. The instructions on how to set "style variables" in general (of > >which c-cleanup-list is one) are on the page "Configuration Basics" and > >its sup-page "Style Variables". > >So I think the information is there, but perhaps it's not easy enough to > >find. Could you, perhaps, reconstruct how you went about looking for the > >info? Maybe the manual needs an extra hint or two somewhere. Thanks! > The situation above, i.e. how to preserve my customization when > .dir-locals.el or file variables are in effect is not described. Yes. In the case of file local variables, the FM states (page "Config Basics") that they supersede settings made in other ways. This is surely their point - they're intended for rare (high priority) use. For example, you might want to use a different style (C style, as described on page "Styles" in the fine manual) for a particular source file that was imported from somewhere else, so as not to cause masses of reformatting diffs. > I tried the mode hook, it didn't work either. Is there a c-set-style hook? Now, you're being sarcastic here, aren't you? PLEASE tell me you're being sarcastic. :-) (Note, I don't blame you. I would be too, in your position.) I'll bring this matter up on emacs-devel. Bare with me! > Jan D. -- Alan Mackenzie (Nuremberg, Germany). From jan.h.d@swipnet.se Sun Jul 12 08:21:32 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Jul 2009 15:21:32 +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=-2.3 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 n6CFLSXK013471 for ; Sun, 12 Jul 2009 08:21:29 -0700 Received: from mx10.gnu.org ([199.232.76.166]:36715) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MQ0rn-0006Yh-OM for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 11:21:27 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MQ0rm-0000Wg-Lg for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 11:21:27 -0400 Received: from proxy2.bredband.net ([195.54.101.72]:50129) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQ0rm-0000WQ-B9 for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 11:21:26 -0400 Received: from iph2.telenor.se (195.54.127.133) by proxy2.bredband.net (7.3.140.3) id 49F59CBD0182D9DE for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 17:21:24 +0200 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuOPAIebWUpV4S1uPGdsb2JhbACBUZdLAQEBATevY4QJBQ X-IronPort-AV: E=Sophos;i="4.42,387,1243807200"; d="scan'208";a="27428560" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by iph2.telenor.se with ESMTP; 12 Jul 2009 17:21:24 +0200 Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 05E227FA07B; Sun, 12 Jul 2009 17:21:24 +0200 (CEST) Message-ID: <4A59FF73.7020206@swipnet.se> Date: Sun, 12 Jul 2009 17:21:23 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: Alan Mackenzie CC: 3808@debbugs.gnu.org, emacs-pretest-bug@gnu.org Subject: Re: bug#3808: 23.1.50; CC-mode: Impossible to set c-cleanup-list References: <200907101114.n6ABEjXQ030837@gaffa.localdomain> <20090711113638.GA1088@muc.de> <4A59BBDD.4080905@swipnet.se> <20090712140638.GA2524@muc.de> In-Reply-To: <20090712140638.GA2524@muc.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Alan Mackenzie skrev: > Hi, Jan! Hi. > >> I tried the mode hook, it didn't work either. Is there a c-set-style hook? > > Now, you're being sarcastic here, aren't you? PLEASE tell me you're > being sarcastic. :-) (Note, I don't blame you. I would be too, in your > position.) Not really, I could think of uses for such a hook. > > I'll bring this matter up on emacs-devel. Bare with me! > Okay. Jan D. From cyd@stupidchicken.com Mon Jul 20 06:54:07 2009 Received: (at control) by emacsbugs.donarmstrong.com; 20 Jul 2009 13:54:07 +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.4 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po30.its.yale.edu (pantheon-po30.its.yale.edu [130.132.50.4]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6KDs2vT010912 for ; Mon, 20 Jul 2009 06:54:03 -0700 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po30.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n6KDru2t023228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 20 Jul 2009 09:53:56 -0400 Received: by furry (Postfix, from userid 1000) id 345BCC056; Mon, 20 Jul 2009 09:53:55 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 3808 Date: Mon, 20 Jul 2009 09:53:54 -0400 Message-ID: <87vdlnbgul.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) close 3808 thanks From unknown Tue Jun 17 20:21:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Mon, 17 Aug 2009 14:24:10 +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