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 Subject: Re: c-submode-indicators at wrong place in minor-mode-alist Date: Sat, 17 Dec 2005 09:03:56 +1300 Message-ID: <17315.7596.987910.350766@kahikatea.snap.net.nz> References: <17313.52524.159919.155845@kahikatea.snap.net.nz> 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 1134763623 26729 80.91.229.2 (16 Dec 2005 20:07:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2005 20:07:03 +0000 (UTC) Cc: Stefan Monnier , bug-cc-mode@gnu.org, emacs-devel@gnu.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Fri Dec 16 21:07:00 2005 Return-path: Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnLq6-00086K-E9 for sf-cc-mode-help@m.gmane.org; Fri, 16 Dec 2005 21:06:02 +0100 Original-Received: from sc8-sf-list1-b.sourceforge.net (sc8-sf-list1-b.sourceforge.net [10.3.1.7]) by sc8-sf-spam1.sourceforge.net (Postfix) with ESMTP id A533C88AF9; Fri, 16 Dec 2005 12:06:01 -0800 (PST) Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EnLpX-0001JR-4r for cc-mode-help@lists.sourceforge.net; Fri, 16 Dec 2005 12:05:27 -0800 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by mail.sourceforge.net with esmtps (TLSv1:DES-CBC3-SHA:168) (Exim 4.44) id 1EnLpW-0001fm-8t for cc-mode-help@lists.sourceforge.net; Fri, 16 Dec 2005 12:05:27 -0800 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.34) id 1EnLnZ-00012Q-JX for bug-cc-mode@gnu.org; Fri, 16 Dec 2005 15:03:36 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1EnLrt-0006GD-6u for bug-cc-mode@gnu.org; Fri, 16 Dec 2005 15:07:54 -0500 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EnLrs-0006Fs-CL; Fri, 16 Dec 2005 15:07:52 -0500 Original-Received: from kahikatea.snap.net.nz (p157-tnt1.snap.net.nz [202.124.110.157]) by viper.snap.net.nz (Postfix) with ESMTP id 6B720731727; Sat, 17 Dec 2005 09:04:28 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id A7C8E83AF; Sat, 17 Dec 2005 09:03:57 +1300 (NZDT) Original-To: Alan Mackenzie In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.22 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 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: Sat, 17 Dec 2005 09:03:56 +1300 Xref: news.gmane.org gmane.emacs.cc-mode.general:2809 gmane.emacs.devel:47879 Archived-At: > >The patch below seems to fix it for me. I think I have associated each > >function with the right variable but these aren't really minor modes in > >the normal sense (if they were the functions and variables would have > >the same name). > > OK. Do you have any feel for how portable the fix is (In Emacs 20.n, > 21.n, XEmacs 21.4.n)? I'm fairly sure it will work in Emacs 21.x but I don't know about the other versions. However, clearly the change could be commmitted to the Emacs repository. I don't how you store your changes, but a distributed RCS like Arch, would seem ideal for your purposes. Then the changes that you commit to Emacs 22.1 could be stored as a branch in your local repository. I don't know all the details (I've nwver used Arch) but Miles Bader keeps an Arch mirror for Emacs and I'm sure he would put you in the picture. > >CC mode seems to have become much more complicated, but that might be > >because its much more powerful. I don't know, I just find it hard to > >understand. > > It is hard to understand. Partly, it's because C and friends are such a > dreadful languages (to parse, that is ;-), partly because CC Mode handles > seven different languages in a single package. It "jumped in complexity" > between releases 5.28 and 5.30 (Summer 2003). It's probably more > accurate to say that the complexity has been concentrated in a few > hot-spots, allowing simplicity to pervade the rest. You do most of the development. It only needs to be simpler if you want to look to others like emacs-devel, to help you. One way to do that, I guess, is to strip down the branch for Emacs 22.1 in your hypothetical Arch repository, to just work in Emacs 22.1. Nick ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click