unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Lennart Borgman <lennart.borgman@gmail.com>,
	Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Error during redisplay: (error No match 3 in highlight (3 (quote (7))))
Date: Sun, 10 May 2009 15:25:54 -0400	[thread overview]
Message-ID: <jwvd4agdanl.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m23abd8k3e.fsf@igel.home> (Andreas Schwab's message of "Sun, 10 May 2009 09:59:01 +0200")

>> 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.  And the (7) indicates it's probably one of the rules in
font-lock-syntactic-keywords rather than in font-lock-keywords.  i.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.


        Stefan




  reply	other threads:[~2009-05-10 19:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-10  2:54 Error during redisplay: (error No match 3 in highlight (3 (quote (7)))) Lennart Borgman
2009-05-10  7:59 ` Andreas Schwab
2009-05-10 19:25   ` Stefan Monnier [this message]
2009-05-10 23:23     ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvd4agdanl.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).