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: font-locking and open parens in column zero Date: Mon, 25 Sep 2006 10:05:45 +0200 Message-ID: <45178DD9.5080201@gmx.at> 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 1159172245 23523 80.91.229.2 (25 Sep 2006 08:17:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2006 08:17:25 +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 10:17:19 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 1GRleL-0007Hh-DR for sf-cc-mode-help@m.gmane.org; Mon, 25 Sep 2006 10:17:14 +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 AB405FB07; Mon, 25 Sep 2006 01:17:12 -0700 (PDT) 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 1GRleI-00043o-TS for cc-mode-help@lists.sourceforge.net; Mon, 25 Sep 2006 01:17:11 -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 1GRleG-0001yl-E6 for cc-mode-help@lists.sourceforge.net; Mon, 25 Sep 2006 01:17:10 -0700 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GRleD-00035Y-91 for bug-cc-mode@gnu.org; Mon, 25 Sep 2006 04:17:05 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.52) id 1GRliY-0007GD-Lv for bug-cc-mode@gnu.org; Mon, 25 Sep 2006 04:21:35 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1GRliY-0007Fr-5P for bug-cc-mode@gnu.org; Mon, 25 Sep 2006 04:21:34 -0400 Original-Received: (qmail invoked by alias); 25 Sep 2006 08:17:00 -0000 Original-Received: from N849P018.adsl.highway.telekom.at (EHLO [62.47.50.18]) [62.47.50.18] by mail.gmx.net (mp023) with SMTP; 25 Sep 2006 10:17:00 +0200 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: Stefan Monnier In-Reply-To: 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: 1.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 1.0 FORGED_RCVD_HELO Received: contains a forged HELO 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:3881 gmane.emacs.devel:60194 Archived-At: > You mean (put 'c-beginning-of-defun 'font-lock-syntax-paren-check t)? You mean (put 'c-beginning-of-syntax 'font-lock-syntax-paren-check t)? You're right. > >>! (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. You mean my patch was downright silly? You're right. martin, who must have been in really bad shape when he wrote this ------------------------------------------------------------------------- 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