all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Leo <sdl.web@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Font locking #|...|# block in lisp mode?
Date: Tue, 26 Oct 2010 00:06:35 -0400	[thread overview]
Message-ID: <jwvmxq1lht3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m1ocahljps.fsf@cam.ac.uk> (Leo's message of "Tue, 26 Oct 2010 11:24:31 +0800")

> From time to time I have seen code inside #| |# not shown in a comment
> face, unfortunately the font locking seems random to me i.e. sometimes
> the block is properly font locked after deleting or re-opening the file.
> For example:
[... Example with open parens highlighted in font-lock-warning face ...]
> I can get |# to be highlighted in a normal face by deleting or inserting
> a blank line in front of it.

Every wondered why those open parens are highlighted in
font-lock-warning face?


        Stefan



  reply	other threads:[~2010-10-26  4:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25 15:13 Font locking #|...|# block in lisp mode? Leo
2010-10-25 19:38 ` Stefan Monnier
2010-10-25 19:42 ` Sam Steingold
2010-10-26  3:24   ` Leo
2010-10-26  4:06     ` Stefan Monnier [this message]
2010-10-27  1:29       ` Leo
2010-11-08 19:23         ` Stefan Monnier
2010-11-09 11:48           ` Leo

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

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

  git send-email \
    --in-reply-to=jwvmxq1lht3.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@gmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.