From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: font-locking and open parens in column zero Date: Sun, 24 Sep 2006 20:46:28 -0400 Message-ID: References: <4503E44B.5020406@gmx.at> <45055F33.4030007@gmx.at> <450915CA.40108@gmx.at> <450DBA93.6000705@gmx.at> <450FB1B6.4070805@gmx.at> <45154AC7.5070209@gmx.at> <451652EF.2060104@gmx.at> 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 1159145207 28653 80.91.229.2 (25 Sep 2006 00:46:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2006 00:46:47 +0000 (UTC) Cc: bug-cc-mode@gnu.org, rms@gnu.org, emacs-devel@gnu.org Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Mon Sep 25 02:46:40 2006 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GRecH-0003cr-BH for sf-cc-mode-help@m.gmane.org; Mon, 25 Sep 2006 02:46:37 +0200 Original-Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id A2537127C1; Sun, 24 Sep 2006 17:46:36 -0700 (PDT) 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 1GRecF-00005W-Fy for cc-mode-help@lists.sourceforge.net; Sun, 24 Sep 2006 17:46:35 -0700 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by mail.sourceforge.net with esmtps (TLSv1:RC4-SHA:128) (Exim 4.44) id 1GRecE-0003hN-2Q for cc-mode-help@lists.sourceforge.net; Sun, 24 Sep 2006 17:46:35 -0700 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GRecB-0001t2-Mx for bug-cc-mode@gnu.org; Sun, 24 Sep 2006 20:46:31 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.52) id 1GRegS-0005sT-QE for bug-cc-mode@gnu.org; Sun, 24 Sep 2006 20:50:57 -0400 Original-Received: from [209.226.175.25] (helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GRegR-0005sO-Qj; Sun, 24 Sep 2006 20:50:56 -0400 Original-Received: from localhost ([70.55.82.201]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060925004628.GRVI18394.tomts5-srv.bellnexxia.net@localhost>; Sun, 24 Sep 2006 20:46:28 -0400 Original-Received: by localhost (Postfix, from userid 20848) id EF0B99CE0; Sun, 24 Sep 2006 20:46:28 -0400 (EDT) Original-To: martin rudalics In-Reply-To: <451652EF.2060104@gmx.at> (martin rudalics's message of "Sun\, 24 Sep 2006 11\:42\:07 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:3876 gmane.emacs.devel:60182 Archived-At: >> I made a M-/ error before. Please try this version of the patch. > It doesn't work for me provided I use something like > (put font-lock-beginning-of-syntax-function > 'font-lock-syntax-paren-check t) You mean (put 'c-beginning-of-defun 'font-lock-syntax-paren-check t)? > ! (or 'font-lock-beginning-of-syntax-function > ! 'syntax-begin-function))) Huh? This is equal to just 'font-lock-beginning-of-syntax-function. > ! (or (eq (eval beg-function) 'beginning-of-defun) I have no idea what this `eval' is about. `beg-function' contains a function, i.e. a symbol (whose value when interpreted as a variable should not have any significance) or a lambda expression, so evaluating should be at best useless. Stefan ------------------------------------------------------------------------- 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