From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: Mysterious fontification/C++ context issue Date: Fri, 08 Dec 2006 00:05:20 -0500 Message-ID: References: <87y7po2e9b.fsf@leeloo.anubex.internal> <45741FBE.3000107@swipnet.se> <45742464.1090504@gmx.at> <20061204203024.D17603@colin2.muc.de> <45768797.5010106@gmx.at> <4577465E.9060606@gmx.at> Reply-To: rms@gnu.org NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165554338 27792 80.91.229.10 (8 Dec 2006 05:05:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2006 05:05:38 +0000 (UTC) Cc: bug-cc-mode@gnu.org, acm@muc.de, emacs-devel@gnu.org Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Fri Dec 08 06:05:35 2006 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by dough.gmane.org with esmtp (Exim 4.50) id 1GsXvS-0004YQ-MX for sf-cc-mode-help@m.gmane.org; Fri, 08 Dec 2006 06:05:34 +0100 Original-Received: from sc8-sf-list1-new.sourceforge.net (sc8-sf-list1-new-b.sourceforge.net [10.3.1.93]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 109EA126C1; Thu, 7 Dec 2006 21:05:34 -0800 (PST) Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GsXvK-0002n2-Cd for cc-mode-help@lists.sourceforge.net; Thu, 07 Dec 2006 21:05:26 -0800 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GsXvH-0007iZ-ES for cc-mode-help@lists.sourceforge.net; Thu, 07 Dec 2006 21:05:23 -0800 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1GsXvE-0006Cu-JV; Fri, 08 Dec 2006 00:05:20 -0500 Original-To: martin rudalics In-reply-to: <4577465E.9060606@gmx.at> (message from martin rudalics on Wed, 06 Dec 2006 23:38:22 +0100) 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 X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: cc-mode-help-bounces@lists.sourceforge.net Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.cc-mode.general:4184 gmane.emacs.devel:63448 Archived-At: 1. `beginning-of-defun' moves to the beginning of the line where it expects the beginning of a defun. That position is not necessarily part of that defun and maybe not even at the "outermost" level as I explained in the example of point 2 of my previous mail. I don't understand this point (and I don't remember the previous mail). What do you think it should say here? 2. That a user's idea of "defun" for her programming language does not necessarily coincide with that of `beginning-of-defun'. The major mode is supposed to try to make them correspond. It seems strange to assume that it doesn't succeed. foo (...) ... { ... } will now get you two defuns instead of one. We're still considering how to change the way C mode handles this case, and I don't think that will be true when we are done. Anyway, this is not the right place to discuss what happens in specific modes. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV