From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Stjernholm Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: c-macro-expand isn't part of CC Mode Date: Tue, 10 May 2005 23:56:12 +0200 Message-ID: <5bbr7ibv9f.fsf@lister.roxen.com> References: <17015.62876.255539.37519@farnswood.snap.net.nz> Reply-To: bug-cc-mode@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115762350 30038 80.91.229.2 (10 May 2005 21:59:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 May 2005 21:59:10 +0000 (UTC) Cc: Alan Mackenzie , Tim Van Holder , bug-cc-mode@gnu.org, emacs-devel@gnu.org, emacs-pretest-bug@gnu.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Tue May 10 23:59:01 2005 Return-path: Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVckh-0003cA-C2 for sf-cc-mode-help@m.gmane.org; Tue, 10 May 2005 23:58:56 +0200 Original-Received: from projects.sourceforge.net (sc8-sf-list1-b.sourceforge.net [10.3.1.7]) by sc8-sf-spam1.sourceforge.net (Postfix) with ESMTP id CE59A33E92; Tue, 10 May 2005 15:06:25 -0700 (PDT) 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 (Exim 4.30) id 1DVcqH-00089H-LB for cc-mode-help@lists.sourceforge.net; Tue, 10 May 2005 15:04:41 -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.41) id 1DVcqE-0008N8-LW for cc-mode-help@lists.sourceforge.net; Tue, 10 May 2005 15:04:41 -0700 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DVcpA-0007ww-4h for bug-cc-mode@gnu.org; Tue, 10 May 2005 18:03:32 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1DVcoT-0004pO-QJ for bug-cc-mode@gnu.org; Tue, 10 May 2005 18:02:50 -0400 Original-Received: from [212.247.28.43] (helo=mail.roxen.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DVcoT-0004op-Gj; Tue, 10 May 2005 18:02:49 -0400 Original-Received: by mail.roxen.com (Postfix, from userid 52) id DAB1499C4; Tue, 10 May 2005 23:56:18 +0200 (MEST) Original-Received: from localhost (localhost [127.0.0.1]) by mail.roxen.com (Postfix) with ESMTP id B8D2499D8; Tue, 10 May 2005 23:56:14 +0200 (MEST) Original-Received: from lister.roxen.com (lister.roxen.com [212.247.28.136]) by mail.roxen.com (Postfix) with ESMTP id 01D8B99C4; Tue, 10 May 2005 23:56:13 +0200 (MEST) Original-Received: from mast by lister.roxen.com with local (Exim 3.36 #1 (Debian)) id 1DVci4-0002p4-00; Tue, 10 May 2005 23:56:12 +0200 Original-To: Nick Roberts In-Reply-To: <17015.62876.255539.37519@farnswood.snap.net.nz> (Nick Roberts's message of "Wed, 4 May 2005 10:05:16 +1200") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux) X-Virus-Scanned: by amavisd 0.1 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on monty-python X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 AWL AWL: From: address is in the auto white-list Original-Sender: cc-mode-help-admin@lists.sourceforge.net 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-Unsubscribe: , List-Id: Bug reports, feature requests, and general talk about CC Mode. List-Post: List-Help: List-Subscribe: , List-Archive: X-Original-Date: Tue, 10 May 2005 23:56:12 +0200 Xref: news.gmane.org gmane.emacs.cc-mode.general:2376 gmane.emacs.devel:36961 gmane.emacs.pretest.bugs:7329 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36961 Nick Roberts wrote: > Within Emacs CVS, I think both cc-mode.el and cmacexp.el are part of > Emacs. Maybe so, but it's more relevant to note what the respective maintainers are inclined to support. If the CC Mode maintainers aren't prepared to support a certain feature then it's better to not add that feature to the cc-*.el files. That avoids confusion with bug reports sent to the wrong places, bitrot and possible lossage in merges. In this particular case the added feature was outside the scope of CC Mode, so it's good that it was taken out again (although I'm sure the feature in itself is very neat). The scope of CC Mode isn't spelled out anywhere, so I don't blame anyone for missing it. Anyway, it is something like this: o Provide functionality for syntax parsing in the supported languages. o Implement basic major mode operations for the supported languages, meaning buffer setup, movement/mark commands and miscellaneous simple tools for handling language constructs (e.g. aligning the backslashes in cpp macros). o Implement syntactically sensitive indentation and font locking. Some noteworthy things that are outside the scope: o Tracking of symbols, e.g. for providing tooltips containing symbol docs and type info etc, or for locating symbol definitions. o Stuff that requires knowledge of the compilation environment, e.g. pulling in include files, expand macros, tracking cross file references. o Templates for source constructs, e.g. to quickly insert a more or less complete class or method. These are not left out just because I personally don't consider them nice features (I do), but because implementing those things well is nontrivial and requires quite a bit of dedicated effort. I, and I probably speak for Alan Mackenzie as well here, have enough with getting the things inside the current scope to work as well as we would like. Also, there's no particular reason why stuff like that can't be in separate packages. ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click