all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: fork <forkandwait@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Generic mode -- keywords
Date: Mon, 29 Aug 2011 17:17:45 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110829T191354-325@post.gmane.org> (raw)
In-Reply-To: 867A2300097B4234AF815EF96DD987FF@us.oracle.com

Drew Adams <drew.adams <at> oracle.com> writes:

> I'm no expert here, but see (elisp) Search-based Fontification, > and check
`keep' and `t' to deal with overriding. 

Well, you pass for an expert in my book.  Here is a new line for comment face:

("\\(\\*[^;\\*/]*;\\)" 0 'font-lock-comment-face t)

I think with my new found knowledge, I might also be able to handle places with
string expansion.  E.G.: "blah &foo. blah"  Should have read for the constant
string but (say) blue for the stuff inside "&."  My mode currently has red for
the whole string.

Tx




      reply	other threads:[~2011-08-29 17:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-29 16:15 Generic mode -- keywords fork
2011-08-29 16:34 ` Drew Adams
2011-08-29 17:17   ` fork [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

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

  git send-email \
    --in-reply-to=loom.20110829T191354-325@post.gmane.org \
    --to=forkandwait@gmail.com \
    --cc=help-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 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.