From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3808: 23.1.50; CC-mode: Impossible to set c-cleanup-list Date: Fri, 10 Jul 2009 13:14:45 +0200 Message-ID: <200907101114.n6ABEjXQ030837@gaffa.localdomain> Reply-To: "Jan D." , 3808@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1247291067 22044 80.91.229.12 (11 Jul 2009 05:44:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jul 2009 05:44:27 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 11 07:44:20 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MPVNj-0000Ix-1m for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Jul 2009 07:44:19 +0200 Original-Received: from localhost ([127.0.0.1]:50143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPVNi-0000vC-Ho for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Jul 2009 01:44:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPEQ3-00065Y-Lx for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2009 07:37:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPEPy-00063B-Lr for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2009 07:37:34 -0400 Original-Received: from [199.232.76.173] (port=44850 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPEPy-000631-BL for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2009 07:37:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52360) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MPEPx-0007Xz-A8 for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2009 07:37:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6ABbQXo027305; Fri, 10 Jul 2009 04:37:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6ABK4HN024352; Fri, 10 Jul 2009 04:20:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Jan D." Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 10 Jul 2009 11:20:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3808 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124722450223553 (code B ref -1); Fri, 10 Jul 2009 11:20:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 10 Jul 2009 11:15:02 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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" Original-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 Original-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) Original-Received: Remove Original-Received: (from jhd@localhost) by gaffa.localdomain (8.14.3/8.14.3/Submit) id n6ABEjXQ030837; Fri, 10 Jul 2009 13:14:45 +0200 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 10 Jul 2009 07:37:34 -0400 X-Mailman-Approved-At: Sat, 11 Jul 2009 01:43:46 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29311 gmane.emacs.pretest.bugs:24767 Archived-At: 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