unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 'Emacs-Devel' <emacs-devel@gnu.org>
Subject: Re: finder.el patch
Date: Sat, 22 Mar 2008 21:09:47 -0400	[thread overview]
Message-ID: <jwvskyi8cy2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <007101c88b96$8c2c2e00$0600a8c0@us.oracle.com> (Drew Adams's message of "Fri, 21 Mar 2008 14:00:08 -0700")

> +  (setq font-lock-defaults
> +	'((finder-font-lock-keywords lisp-font-lock-keywords
> +           lisp-font-lock-keywords-1 lisp-font-lock-keywords-2)

This just sets to use either one of (finder-font-lock-keywords
lisp-font-lock-keywords lisp-font-lock-keywords-1
lisp-font-lock-keywords-2) depending on font-lock-maximum-decoration.
Based on the comment in finder-font-lock-keywords, it doesn't seem to be
the intention.

On a similar note, I'm not sure why we should use the font-lock rules
from lisp-mode, since the buffer's content won't be Lisp code.


        Stefan




  reply	other threads:[~2008-03-23  1:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12 18:14 finder.el patch Drew Adams
2008-03-14 21:40 ` Drew Adams
2008-03-21 18:34   ` Stefan Monnier
2008-03-21 21:00     ` Drew Adams
2008-03-23  1:09       ` Stefan Monnier [this message]
2008-03-23  2:04         ` Drew Adams
2008-03-23  2:45           ` Stefan Monnier
2008-03-23  6:09             ` Drew Adams

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=jwvskyi8cy2.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@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).