[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Derived Mode 101 HOWTO
From: |
Tim Johnson |
Subject: |
Re: Derived Mode 101 HOWTO |
Date: |
Mon, 13 Mar 2006 23:57:30 -0000 |
User-agent: |
slrn/0.9.8.0 (Linux) |
Hi Johan:
In gnu.emacs.help, you wrote:
> Well, 'font-lock-newlisp-keywords-face is an "expression whose value
> is the face name to use", but apparently you shouldn't trust the
> documentation. (That's one of the reasons i don't use XEmacs. :)
I'm a GNU type of person, but we have identified XEmacs as a possible
platform for Windows-using clients, since our clients think that it is
more modern-looking (on windows) than GNU emacs.
We'll see. "modern-looking" is not so important to me.
Additionally, I have found this newsgroup *far* more helpful than the
XEmacs newsgroup (no offense meant to the other).
> Try replacing the last line above with this:
>
> 0 'font-lock-newlisp-keywords-face)
You have put the finishing nail in this piece of the endeavor!
;; code below. See the addition of a second face
(defvar newlisp-font-lock-keywords
`(,@scheme-font-lock-keywords
(,(concat "\\<\\(" newlisp-keywords "\\)\\>")
0 'font-lock-newlisp-keywords-face)
(,(concat "\\<\\(" newlisp-user-keywords"\\)\\>")
0 'font-lock-newlisp-user-keywords-face))
"List of newlisp keywords and faces")
I want to add keybinding and a menu - I expect that will go more smoothly.
:-)
Look for Derived Mode 102 HOWTO in a week or so.
After I get the mode where I want it, then I will also provide a (hopefully)
easy-follow 'template' to add further derived modes with minimum heartburn.
Next step is to read much documentation in depth.
Thank you Johan.
Thank you Stefan.
Cheers
Tim
--
Tim Johnson <tim@johnsons-web.com>
http://www.alaska-internet-solutions.com
- Re: Derived Mode 101 HOWTO, (continued)
- Re: Derived Mode 101 HOWTO, Tim Johnson, 2006/03/07
- Re: Derived Mode 101 HOWTO, Stefan Monnier, 2006/03/08
- Re: Derived Mode 101 HOWTO, Tim Johnson, 2006/03/08
- Re: Derived Mode 101 HOWTO, Stefan Monnier, 2006/03/11
- Re: Derived Mode 101 HOWTO, Tim Johnson, 2006/03/13
- Re: Derived Mode 101 HOWTO, Stefan Monnier, 2006/03/13
- Re: Derived Mode 101 HOWTO, Tim Johnson, 2006/03/13
- Re: Derived Mode 101 HOWTO, Johan Bockgård, 2006/03/13
- Re: Derived Mode 101 HOWTO, Tim Johnson, 2006/03/13
- Re: Derived Mode 101 HOWTO, Johan Bockgård, 2006/03/14
- Re: Derived Mode 101 HOWTO,
Tim Johnson <=
- Re: Derived Mode 101 HOWTO, Johan Bockgård, 2006/03/13
- Re: Derived Mode 101 HOWTO, Tim Johnson, 2006/03/13
- Re: Derived Mode 101 HOWTO, Johan Bockgård, 2006/03/13