[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Electric Buffer mode too boring
From: |
Kevin Rodgers |
Subject: |
Re: Electric Buffer mode too boring |
Date: |
Thu, 24 Apr 2008 21:59:47 -0600 |
User-agent: |
Thunderbird 2.0.0.12 (Macintosh/20080213) |
Dan Espen wrote:
"Drew Adams" <drew.adams@oracle.com> writes:
I've been using this with XEmacs for years:
(defconst Electric-buffer-menu-mode-font-lock-keywords
I've never been able to figure out why it doesn't work
with gnu emacs.
Help!
...
Maybe I'm missing something basic.
Doesn't font lock always automatically look for font lock
keywords with the same name as the mode with the 'font-lock-keywords'
suffix?
It seems to with XEmacs.
I think major modes follow the convention of defining a global variable
with such a name, but also make sure to set the buffer-local variable
font-lock-keywords to reference it.
--
Kevin Rodgers
Denver, Colorado, USA
- Electric Buffer mode too boring, Dan Espen, 2008/04/24
- RE: Electric Buffer mode too boring, Drew Adams, 2008/04/24
- Message not available
- Re: Electric Buffer mode too boring, Dan Espen, 2008/04/24
- Message not available
- Re: Electric Buffer mode too boring, Dan Espen, 2008/04/24
- Re: Electric Buffer mode too boring,
Kevin Rodgers <=
- Message not available
- Re: Electric Buffer mode too boring, Dan Espen, 2008/04/25
- Re: Electric Buffer mode too boring, Lennart Borgman (gmail), 2008/04/25
- Message not available
- Re: Electric Buffer mode too boring, Dan Espen, 2008/04/25
- Re: Electric Buffer mode too boring, Lennart Borgman (gmail), 2008/04/25
- Message not available
- Re: Electric Buffer mode too boring, Sven Joachim, 2008/04/25
- Re: Electric Buffer mode too boring, Dan Espen, 2008/04/25
- Re: Electric Buffer mode too boring, Lennart Borgman (gmail), 2008/04/25