From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Mysterious fontification/C++ context issue Date: Sun, 10 Dec 2006 21:27:39 -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> <87odqhj89q.fsf@stupidchicken.com> <87k611uflz.fsf@stupidchicken.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165804080 15139 80.91.229.10 (11 Dec 2006 02:28:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Dec 2006 02:28:00 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, cyd@stupidchicken.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 11 03:27:58 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GtatY-0006dj-5A for ged-emacs-devel@m.gmane.org; Mon, 11 Dec 2006 03:27:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GtatX-00029Z-Lm for ged-emacs-devel@m.gmane.org; Sun, 10 Dec 2006 21:27:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GtatN-00029O-Iu for emacs-devel@gnu.org; Sun, 10 Dec 2006 21:27:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GtatK-00028K-2K for emacs-devel@gnu.org; Sun, 10 Dec 2006 21:27:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GtatJ-00028H-Vt; Sun, 10 Dec 2006 21:27:42 -0500 Original-Received: from [209.226.175.184] (helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GtatJ-0001qQ-92; Sun, 10 Dec 2006 21:27:41 -0500 Original-Received: from pastel.home ([70.55.82.240]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20061211022740.NGYW8030.tomts22-srv.bellnexxia.net@pastel.home>; Sun, 10 Dec 2006 21:27:40 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id C3C457F62; Sun, 10 Dec 2006 21:27:39 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sun\, 10 Dec 2006 20\:05\:26 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63571 gmane.emacs.pretest.bugs:15663 Archived-At: >>> Could we set open-paren-in-column-0-is-defun-start to t for c mode? >>> If no one sees a better alternative, let's do that. But let's wait >>> a few days and see what else is suggested. >> It seems that no better ideas are forthcoming, so I think we should go >> ahead and do this. > Could we revert the change to beginning-of-defun instead? > It seems clearly incorrect for beginning-of-defun to ignore > open-paren-in-column-0-is-defun-start. Not to me. > For what other reason does C mode set open-paren-in-column-0-is-defun-start? Don't know. So that forward-comment (when going backward) doesn't get confused by a stray open-paren in column 0? Or because it misunderstood what open-paren-in-column-0-is-defun-start is for? Stefan PS: AFAIK open-paren-in-column-0-is-defun-start should be marked as obsolete.