From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: c-macro-expand isn't part of CC Mode [Was: cpp use in cc-mode is broken] Date: Wed, 4 May 2005 10:05:16 +1200 Message-ID: <17015.62876.255539.37519@farnswood.snap.net.nz> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1115171045 10356 80.91.229.2 (4 May 2005 01:44:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 May 2005 01:44:05 +0000 (UTC) Cc: 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 Wed May 04 03:44:02 2005 Return-path: Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DT8vC-0006uv-Sm for sf-cc-mode-help@m.gmane.org; Wed, 04 May 2005 03:43:31 +0200 Original-Received: from projects.sourceforge.net (sc8-sf-list1-b.sourceforge.net [10.3.1.7]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 07AB7E23D; Tue, 3 May 2005 18:49:52 -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 1DT90z-00071U-CN for cc-mode-help@lists.sourceforge.net; Tue, 03 May 2005 18:49:29 -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 1DT90y-00005w-BW for cc-mode-help@lists.sourceforge.net; Tue, 03 May 2005 18:49:29 -0700 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DT90b-0006i6-04 for bug-cc-mode@gnu.org; Tue, 03 May 2005 21:49:05 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1DT940-0004ig-2T for bug-cc-mode@gnu.org; Tue, 03 May 2005 21:52:37 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_ARCFOUR_SHA:16) (Exim 4.34) id 1DT93z-0004hV-M2; Tue, 03 May 2005 21:52:35 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by mx20.gnu.org with esmtp (Exim 4.34) id 1DT66o-0008GL-RS; Tue, 03 May 2005 18:43:19 -0400 Original-Received: from farnswood.snap.net.nz (p171-tnt2.snap.net.nz [202.124.108.171]) by viper.snap.net.nz (Postfix) with ESMTP id 0E99F4B07EB; Wed, 4 May 2005 10:12:34 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 6E83262A9A; Tue, 3 May 2005 23:05:17 +0100 (BST) Original-To: Alan Mackenzie In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.36 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.0 (/) 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_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: Wed, 4 May 2005 10:05:16 +1200 Xref: news.gmane.org gmane.emacs.cc-mode.general:2365 gmane.emacs.devel:36629 gmane.emacs.pretest.bugs:7238 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36629 Alan Mackenzie writes: > >As of a few days ago, the cc-mode in cvs emacs seems to preprocess the > >source file in order to determine the C macros present. Actually to generate a list of #define directives. > Please Note: `c-macro-expand', despite its name, is _NOT_ part of CC > Mode. Its name prefix "c-" is misleading here. That, and the fact that > it has a binding in some of the CC Mode keymaps, is its only connection > with CC Mode. (If you look carefully, you'll find it's not in the CC > Mode manual. ;-) Within Emacs CVS, I think both cc-mode.el and cmacexp.el are part of Emacs. > `c-macro-expand' actually lives in the file > .../list/progmodes/cmacexp.el. This file was last updated 3 years 8 > months ago by Eli. Thats why I'm interested in updating the variable c-macro-preprocessor. > There seem to have been a lot of patches to cc-mode.el and friends for > c-macro-expand in the last week. Would somebody please take all these > changes out of the CC Mode files and put them into cmacexp.el instead. > Otherwise, there's going to be confusion and significant lack of > happiness when the time comes to merge the upcoming version of CC Mode > (5.31) into savannah. They wouldn't work in cmacexp.el because they were part of c-mode. I've already moved them now into gud.el and gdb-ui.el, anyway. Not because cc-mode.el is part of CC Mode but because they were bad changes. If someone makes good changes to cc-*.el files in Emacs CVS, then they would presumably become part of your merge. Nick ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20