From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: Change of C indentation style ('{') Date: Tue, 28 Oct 2003 15:39:41 -0500 Sender: cc-mode-help-admin@lists.sourceforge.net Message-ID: References: <200310230109.KAA09465@etlken.m17n.org> <5bhe1zy4z8.fsf@lister.roxen.com> <5b1xt1l6si.fsf@lister.roxen.com> <5bn0bm7o7n.fsf@lister.roxen.com> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1067374011 27612 80.91.224.253 (28 Oct 2003 20:46:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2003 20:46:51 +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 Tue Oct 28 21:46:44 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 1AEajk-0000RF-00 for ; Tue, 28 Oct 2003 21:46:44 +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 1AEakC-0002zx-00; Tue, 28 Oct 2003 12:47:12 -0800 Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1AEaj2-00008e-00 for ; Tue, 28 Oct 2003 12:46:00 -0800 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AEai3-0004CZ-Fq for cc-mode-help@lists.sourceforge.net; Tue, 28 Oct 2003 12:45:00 -0800 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AEacv-0005Ky-3W; Tue, 28 Oct 2003 15:39:41 -0500 Original-To: Martin Stjernholm In-reply-to: <5bn0bm7o7n.fsf@lister.roxen.com> (message from Martin Stjernholm on Mon, 27 Oct 2003 15:24:44 +0100) 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: Tue, 28 Oct 2003 15:39:41 -0500 Xref: main.gmane.org gmane.emacs.cc-mode.general:962 gmane.emacs.devel:17518 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17518 Maybe the change is an improvement. It is hard for me to judge how often it helps and how often it hurts. But an idea does occur to me that maybe the user could declare certain symbols that should be treated like `while'. Or maybe some more general mechanism would fit easily into the framework of the rest of cc-mode. Then there could be some kind of declaration in the source file itself, which would be hidden in a comment. cc-mode could search for these declarations when it visits a file. Could you think about this approach? ------------------------------------------------------- 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/