From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: Mysterious fontification/C++ context issue Date: Sun, 10 Dec 2006 12:58:42 +0100 Message-ID: <457BF672.5090508@gmx.at> 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> <457A84F3.5030205@gmx.at> <20061210120636.GB1235@muc.de> 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 1165751987 30006 80.91.229.10 (10 Dec 2006 11:59:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Dec 2006 11:59:47 +0000 (UTC) Cc: bug-cc-mode@gnu.org, Richard Stallman , emacs-devel@gnu.org Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Sun Dec 10 12:59:45 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 1GtNLI-00088P-BJ for sf-cc-mode-help@m.gmane.org; Sun, 10 Dec 2006 12:59:40 +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 A4A60FDE0; Sun, 10 Dec 2006 03:59:39 -0800 (PST) Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GtNLF-0001AT-CB for cc-mode-help@lists.sourceforge.net; Sun, 10 Dec 2006 03:59:37 -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 1GtNLD-0000Sl-Km for cc-mode-help@lists.sourceforge.net; Sun, 10 Dec 2006 03:59:37 -0800 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.52) id 1GtNLA-0005j0-Oc for bug-cc-mode@gnu.org; Sun, 10 Dec 2006 06:59:32 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.52) id 1GtNL9-0008Ax-VO for bug-cc-mode@gnu.org; Sun, 10 Dec 2006 06:59:32 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1GtNL8-0008AO-El for bug-cc-mode@gnu.org; Sun, 10 Dec 2006 06:59:30 -0500 Original-Received: (qmail invoked by alias); 10 Dec 2006 11:59:28 -0000 Original-Received: from N871P021.adsl.highway.telekom.at (EHLO [62.47.52.213]) [62.47.52.213] by mail.gmx.net (mp020) with SMTP; 10 Dec 2006 12:59:28 +0100 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: Alan Mackenzie In-Reply-To: <20061210120636.GB1235@muc.de> X-Y-GMX-Trusted: 0 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on monty-python X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.0.4 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:4195 gmane.emacs.devel:63542 Archived-At: > The behaviour of beginning-of-defun has been changed ONLY for when > opic0ids gets set to nil. The only other file.el within Emacs which > does this is progmodes/python.el. Any Python users here? Dave Love, > are you listening? `python-mode' provides it's own `beginning-of-defun-function' which doesn't seem to rely on `beginning-of-defun-raw'. Hence, setting that in `python-mode' is likely just paranoia. > There is also this baffling comment in net/tramp.el: > > ;; Fontification is messed up when > ;; `open-paren-in-column-0-is-defun-start' set to t. That comment should probably serve to justify why the subsequent code in the doc-string is indented. Anyway: `open-paren-in-column-0-is-defun-start' is a user option explained thoroughly in the Emacs manual. If a major mode does not override the default setting, users should know where `beginning-of-defun' gets them when they customize it to nil. ------------------------------------------------------------------------- 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