From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#3330: Is this a bug? (Emacs 23.0.93) Date: Tue, 19 May 2009 11:11:47 +0000 Message-ID: <20090519111147.GB1317__35862.605207558$1242732778$gmane$org@muc.de> References: <86ddccb30905182238y1674a8fah36a7ecc5ebe64eb5@mail.gmail.com> Reply-To: Alan Mackenzie , 3330@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1242732778 19086 80.91.229.12 (19 May 2009 11:32:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 May 2009 11:32:58 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org To: liu shukui , 3330@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 19 13:32:50 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M6NYv-0000xV-HV for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 May 2009 13:32:50 +0200 Original-Received: from localhost ([127.0.0.1]:41628 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6NYv-00069w-0u for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 May 2009 07:32:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6NYE-0005sD-Jr for bug-gnu-emacs@gnu.org; Tue, 19 May 2009 07:32:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6NY9-0005oe-CT for bug-gnu-emacs@gnu.org; Tue, 19 May 2009 07:32:05 -0400 Original-Received: from [199.232.76.173] (port=60372 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6NY8-0005oR-37 for bug-gnu-emacs@gnu.org; Tue, 19 May 2009 07:32:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52898) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M6NY7-0004p9-FV for bug-gnu-emacs@gnu.org; Tue, 19 May 2009 07:31:59 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4JBVvd1016145; Tue, 19 May 2009 04:31:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n4JBK5aG011865; Tue, 19 May 2009 04:20:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Alan Mackenzie Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 19 May 2009 11:20:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3330 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3330-submit@emacsbugs.donarmstrong.com id=B3330.124273147210061 (code B ref 3330); Tue, 19 May 2009 11:20:05 +0000 Original-Received: (at 3330) by emacsbugs.donarmstrong.com; 19 May 2009 11:11:12 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.muc.de (qmailr@colin.muc.de [193.149.48.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4JBB7x3010052 for <3330@emacsbugs.donarmstrong.com>; Tue, 19 May 2009 04:11:09 -0700 Original-Received: (qmail 24374 invoked by uid 3782); 19 May 2009 11:11:07 -0000 Original-Received: from acm.muc.de (pD9E2397A.dip.t-dialin.net [217.226.57.122]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Tue, 19 May 2009 13:11:05 +0200 Original-Received: (qmail 2342 invoked by uid 1000); 19 May 2009 11:11:47 -0000 Content-Disposition: inline In-Reply-To: <86ddccb30905182238y1674a8fah36a7ecc5ebe64eb5@mail.gmail.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 19 May 2009 07:32:05 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28026 Archived-At: Hi! On Tue, May 19, 2009 at 01:38:17PM +0800, liu shukui wrote: > Hi all, > I am using Emacs 23.0.93, When I run the "occur" command in the c++ > source file, this problem happens occasionally. Is this a bug that > should be fixed? Maybe. :-) > Error during redisplay: (void-function > font-lock-match-c++-style-declaration-item-and-skip-to-next) [6 times] A grep through the Emacs 23 lisp sources doesn't find this function (even when I remember not to quote the two plus signs ;-). However, it existed in Emacs 21, but was removed from Emacs 22 after the font locking stuff for C++ Mode (etc.) was moved into CC Mode. There still exists the function font-lock-match-c-style-declaration-item-and-skip-to-next ^^ in font-lock.el, which obviously is very like the one you're missing. I don't know why the C one is still there but the C++ isn't. > GNU Emacs 23.0.93.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of > 2009-05-04 on tux At a guess, you're somehow using old code, maybe something you byte-compiled when Emacs 21 was in fashion. If that doesn't look like the problem, could you please see if you can reproduce the problem when you start Emacs-23 with "emacs -Q". -- Alan Mackenzie (Nuremberg, Germany).