[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: finder.el patch
From: |
Stefan Monnier |
Subject: |
Re: finder.el patch |
Date: |
Fri, 21 Mar 2008 14:34:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> Here is an updated finder.el patch, which includes the bug fixes mentioned
> previously. This patch adds two minor features:
Sorry for taking so long to reply. These are good changes.
> * It uses a new syntax table, which inherits from
> emacs-lisp-mode-syntax-table. It does not consider `;' to be comment syntax
> (so you don't get highlighting of half of a Commentary sentence that
> contains `;').
Actually, it does not inherit because it uses `copy-syntax-table'.
Please use `make-syntax-table' so it indeed inherits.
> + (font-lock-add-keywords
> + 'finder-mode
> + '(("`\\([^']+\\)'" 1 font-lock-constant-face prepend)))
> + ;; '(("`\\(\\sw\\sw+\\)'" 1 font-lock-constant-face prepend)))
font-lock-add-keywords is best avoided in general. Please set
font-lock-defaults properly instead.
Stefan
- finder.el patch, Drew Adams, 2008/03/12
- RE: finder.el patch, Drew Adams, 2008/03/14
- Re: finder.el patch,
Stefan Monnier <=
- RE: finder.el patch, Drew Adams, 2008/03/21
- Re: finder.el patch, Stefan Monnier, 2008/03/22
- RE: finder.el patch, Drew Adams, 2008/03/22
- Re: finder.el patch, Stefan Monnier, 2008/03/22
- RE: finder.el patch, Drew Adams, 2008/03/23