From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Stjernholm Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: Change of C indentation style ('{') Date: Wed, 29 Oct 2003 20:28:42 +0100 Sender: cc-mode-help-admin@lists.sourceforge.net Message-ID: <5boevzsv11.fsf@lister.roxen.com> References: <200310230109.KAA09465@etlken.m17n.org> <5bhe1zy4z8.fsf@lister.roxen.com> <5b1xt1l6si.fsf@lister.roxen.com> <5bn0bm7o7n.fsf@lister.roxen.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067456332 26877 80.91.224.253 (29 Oct 2003 19:38:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2003 19:38:52 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org, handa@m17n.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Wed Oct 29 20:38:49 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 1AEw9Y-00078I-00 for ; Wed, 29 Oct 2003 20:38:48 +0100 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 1AEw9S-00041p-00; Wed, 29 Oct 2003 11:38:42 -0800 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 1AEw7A-0003OZ-00 for ; Wed, 29 Oct 2003 11:36:20 -0800 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.24) id 1AEw7A-0001It-BO for cc-mode-help@lists.sourceforge.net; Wed, 29 Oct 2003 11:36:20 -0800 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.24) id 1AEw20-0005BO-AF for bug-cc-mode@gnu.org; Wed, 29 Oct 2003 14:31:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AEvzu-0004e8-1Z for bug-cc-mode@gnu.org; Wed, 29 Oct 2003 14:29:22 -0500 Original-Received: from [194.52.182.190] (helo=mail.roxen.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEvzs-0004cn-Qq; Wed, 29 Oct 2003 14:28:48 -0500 Original-Received: by mail.roxen.com (Postfix, from userid 52) id 1077A9A15; Wed, 29 Oct 2003 20:28:42 +0100 (MET) Original-Received: from lister.roxen.com (lister.roxen.com [194.52.182.147]) by mail.roxen.com (Postfix) with ESMTP id 4CAB79A0F; Wed, 29 Oct 2003 20:28:39 +0100 (MET) Original-Received: from mast by lister.roxen.com with local (Exim 3.36 #1 (Debian)) id 1AEvzm-0005FA-00; Wed, 29 Oct 2003 20:28:42 +0100 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 28 Oct 2003 15:39:41 -0500") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux) X-Spam-Score: 0.0 (/) 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: Wed, 29 Oct 2003 20:28:42 +0100 Xref: main.gmane.org gmane.emacs.cc-mode.general:966 gmane.emacs.devel:17578 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17578 Richard Stallman wrote: > But an idea does occur to me that maybe the user could declare certain > symbols that should be treated like `while'. /.../ > > Could you think about this approach? I don't think that would be necessary. As I said in another branch of this thread, these macro constructs are only truly ambiguous with old K&R style function definitions. So it ought to be possible to solve with more careful checks. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/