unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 14099@debbugs.gnu.org
Subject: bug#14099: 24.3.50; regression: bad font locking for `abort' in Lisp mode
Date: Sun, 31 Mar 2013 23:00:02 +0300	[thread overview]
Message-ID: <83vc872vct.fsf@gnu.org> (raw)
In-Reply-To: <A220A6BFE70E42EFA2653251C2CC0895@us.oracle.com>

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <14099@debbugs.gnu.org>
> Date: Sun, 31 Mar 2013 12:13:43 -0700
> 
> OK, I see that someone closed it.  That's fine.
> 
> I would still like to know why `abort' is highlighted.  I can find no Emacs
> `abort' anywhere in the Emacs source code.  Can you?

It's because of this snippet from font-lock.el:

  (defconst lisp-font-lock-keywords-2
    (append lisp-font-lock-keywords-1
     (eval-when-compile
     ...
	 ;; Erroneous structures.
	 ("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\_>" 1 font-lock-warning-face)

Not sure what this is supposed to catch.





  reply	other threads:[~2013-03-31 20:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-30 21:20 bug#14099: 24.3.50; regression: bad font locking for `abort' in Lisp mode Drew Adams
2013-03-31  5:36 ` Eli Zaretskii
2013-03-31 14:29   ` Drew Adams
2013-03-31 19:13     ` Drew Adams
2013-03-31 20:00       ` Eli Zaretskii [this message]
2013-03-31 21:01         ` Drew Adams
2013-04-03 17:50         ` Stefan Monnier

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=83vc872vct.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14099@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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).