From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: Change of C indentation style ('{') Date: 24 Oct 2003 12:48:17 +0900 Sender: cc-mode-help-admin@lists.sourceforge.net Message-ID: References: <200310230109.KAA09465@etlken.m17n.org> <5bhe1zy4z8.fsf@lister.roxen.com> Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066967551 26387 80.91.224.253 (24 Oct 2003 03:52:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2003 03:52:31 +0000 (UTC) Cc: Kenichi Handa , bug-cc-mode@gnu.org, emacs-devel@gnu.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Fri Oct 24 05:52:28 2003 Return-path: Original-Received: from lists.sourceforge.net ([66.35.250.206] helo=sc8-sf-list2.sourceforge.net) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ACszz-0003OH-00 for ; Fri, 24 Oct 2003 05:52:28 +0200 Original-Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1ACt0T-0000Kh-00; Thu, 23 Oct 2003 20:52:57 -0700 Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1ACszU-000220-00 for ; Thu, 23 Oct 2003 20:51:56 -0700 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 1ACsxb-0000FU-CS for cc-mode-help@lists.sourceforge.net; Thu, 23 Oct 2003 20:49:59 -0700 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.24) id 1ACst9-0001wk-PZ for bug-cc-mode@gnu.org; Thu, 23 Oct 2003 23:45:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ACsxA-0002Rz-5v for bug-cc-mode@gnu.org; Thu, 23 Oct 2003 23:49:55 -0400 Original-Received: from [202.32.8.214] (helo=TYO201.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ACsw3-0001ss-Se; Thu, 23 Oct 2003 23:48:24 -0400 Original-Received: from mailgate4.nec.co.jp (mailgate54.nec.co.jp [10.7.69.195]) by TYO201.gate.nec.co.jp (8.11.7/3.7W01080315) with ESMTP id h9O3mJg25227; Fri, 24 Oct 2003 12:48:19 +0900 (JST) Original-Received: from mailsv3.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) with ESMTP id h9O3mJX19577; Fri, 24 Oct 2003 12:48:19 +0900 (JST) Original-Received: from edtmg04.lsi.nec.co.jp ([10.26.17.201]) by mailsv3.nec.co.jp (8.11.7/3.7W-MAILSV4-NEC) with ESMTP id h9O3mIY15242; Fri, 24 Oct 2003 12:48:18 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edtmg04.lsi.nec.co.jp (8.9.3p2+3.2W/3.7W_EDC_Ver.1.0) with ESMTP id MAA13138; Fri, 24 Oct 2003 12:48:18 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.12.10/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id h9O3mH7Q028809; Fri, 24 Oct 2003 12:48:17 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id AF67F37BC; Fri, 24 Oct 2003 12:48:17 +0900 (JST) Original-To: Martin Stjernholm System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <5bhe1zy4z8.fsf@lister.roxen.com> Original-Lines: 15 X-Spam-Score: -2.5 (--) Errors-To: cc-mode-help-admin@lists.sourceforge.net X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports, feature requests, and general talk about CC Mode. List-Unsubscribe: , List-Archive: X-Original-Date: 24 Oct 2003 12:48:17 +0900 Xref: main.gmane.org gmane.emacs.cc-mode.general:926 gmane.emacs.devel:17391 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17391 Martin Stjernholm writes: > That is because FOR_EACH_FRAME isn't recognized as > a substatement introducing keyword, and barring macro oddities > everything else has to be function definitions. > > I'm not sure what to do about it. There are other cases when this new > heuristic is useful, e.g. for functions in macro arguments or gcc > nested functions. The thing is, I wouldn't be surprised if `macro oddities' are actually more common than the nested functions, or functions in macro arguments... -Miles -- I'd rather be consing. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/