From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Error during redisplay: (error No match 3 in highlight (3 (quote (7)))) Date: Mon, 11 May 2009 01:23:49 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1241997853 2643 80.91.229.12 (10 May 2009 23:24:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 May 2009 23:24:13 +0000 (UTC) Cc: Andreas Schwab , Emacs-Devel devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 11 01:24:02 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M3ING-0003xg-LC for ged-emacs-devel@m.gmane.org; Mon, 11 May 2009 01:24:02 +0200 Original-Received: from localhost ([127.0.0.1]:53374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3ING-0007bw-20 for ged-emacs-devel@m.gmane.org; Sun, 10 May 2009 19:24:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3INA-0007am-Tb for emacs-devel@gnu.org; Sun, 10 May 2009 19:23:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3IN5-0007ZS-Bz for emacs-devel@gnu.org; Sun, 10 May 2009 19:23:55 -0400 Original-Received: from [199.232.76.173] (port=53871 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3IN5-0007ZP-5M for emacs-devel@gnu.org; Sun, 10 May 2009 19:23:51 -0400 Original-Received: from mail-fx0-f169.google.com ([209.85.220.169]:51515) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3IN4-00039P-Ph for emacs-devel@gnu.org; Sun, 10 May 2009 19:23:51 -0400 Original-Received: by fxm17 with SMTP id 17so2511704fxm.42 for ; Sun, 10 May 2009 16:23:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+Eg0/mwZTpljomPAqO3D7FeApJAFUWMpWNx4U5ZgGUI=; b=qsnqie9EuNbWjWVSwT/VCkKVzN8E5xrfRcHVezGFPNMg2Loyusz2dehmeFxBmyLFyA 6A+G/E0GVxXp0EHv2q+8TlX/CujnZc9FlUHvP4LFcTx0zPZKHEUMtPHk9tQKYcvoLo98 5sqqiPg7VuKYMeK9aK3Q6VXVkOn18OmKtZiPI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=s4K2bkhApEcuYN8STkIlARmW54cvRr8ag0uF2Clz3zzMo8YDj4v2vyc65D9Ko2nk/a s1S4uBvXMhXtZntKrZHGtvz+tmly/er6x6LrHQdgT6VKm0+RnN4GLi8+UDDcVNNY6Lq/ ztGxPjQ9F2nYM3t/7zimrdOnIfQwE3AF3UIxk= Original-Received: by 10.223.123.210 with SMTP id q18mr3125459far.63.1241997829418; Sun, 10 May 2009 16:23:49 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:110819 Archived-At: On Sun, May 10, 2009 at 9:25 PM, Stefan Monnier wrote: >>> I just do not understand what the error mean. Can someone please shed >>> some light upon it? >> It means that a font-lock pattern referenced a subexp of a regexp that >> does not exist or did not match, i.e. (match-beginning 3) returned nil. > > Exactly. =C2=A0And the (7) indicates it's probably one of the rules in > font-lock-syntactic-keywords rather than in font-lock-keywords. =C2=A0i.e= . it > either means one of the rules in font-lock-syntactic-keywords is using > the wrong group number, or it needs to be tweaked to set the > LAXMATCH option. Thanks, that cleared my thoughts enough. The problem was that I had forgot to add save-match-data when I rearranged some code in mumamo.el. (Calls to chunk dividing routines is done from the font-lock machinery.)