From: Chong Yidong <cyd@stupidchicken.com>
To: bug-gnu-emacs@gnu.org
Subject: Re: Font-lock should ignore missing submatches
Date: Mon, 04 Feb 2008 00:12:19 -0500 [thread overview]
Message-ID: <87lk61joek.fsf@stupidchicken.com> (raw)
In-Reply-To: 20080203203056.0DDA72BFE5@sarg.kollektiv-hamburg.de
Jorgen Schaefer <forcer@forcix.cx> writes:
> When using font-lock-mode to highlight complex expressions, the
> font locking engine crashes when one of the subexpressions
> specified was not matched.
The engine doesn't "crash"; it signals an error, and Emacs continues
to function. This is the intended behavior.
> Is there any chance to make font-lock just ignore unmatched
> subexpressions?
Yes. See the LAXMATCH option in the node Customizing Keywords in the
Emacs Lisp Reference Manual.
prev parent reply other threads:[~2008-02-04 5:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-03 20:30 Font-lock should ignore missing submatches Jorgen Schaefer
2008-02-04 5:12 ` Chong Yidong [this message]
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=87lk61joek.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=bug-gnu-emacs@gnu.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).