[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font-Locking for Allout Mode
From: |
Stephen Berman |
Subject: |
Re: Font-Locking for Allout Mode |
Date: |
Sat, 10 Mar 2007 00:47:51 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
On Sat, 10 Mar 2007 00:34:26 +0100 Stephen Berman
<Stephen.Berman@gmx.net> wrote:
Copy-n-paste error, should be this:
(defvar srb-allout-font-lock-keywords
'((eval . (list (concat "^\\(?:" allout-regexp "\\).+")
0 '(cond ((= (allout-depth) 1)
'(font-lock-function-name-face))
((= (allout-depth) 2)
'(font-lock-variable-name-face))
((= (allout-depth) 3)
'(font-lock-keyword-face))
((= (allout-depth) 4)
'(font-lock-builtin-face))
((= (allout-depth) 5)
'(font-lock-comment-face))
((= (allout-depth) 6)
'(font-lock-constant-face))
((= (allout-depth) 7)
'(font-lock-type-face))
((= (allout-depth) 8)
'(font-lock-string-face))
(t font-lock-warning-face))
t nil)))
"Additional expressions to highlight in Allout mode.")
Steve Berman
- Re: Font-Locking for Allout Mode, (continued)
- Message not available
- Re: Font-Locking for Allout Mode, Tassilo Horn, 2007/03/08
- Re: Font-Locking for Allout Mode, Stephen Berman, 2007/03/09
- Message not available
- Re: Font-Locking for Allout Mode, Tassilo Horn, 2007/03/09
- Re: Font-Locking for Allout Mode, Stephen Berman, 2007/03/09
- Re: Font-Locking for Allout Mode, Stephen Berman, 2007/03/11
- Message not available
- Re: Font-Locking for Allout Mode, Stefan Monnier, 2007/03/09
- Re: Font-Locking for Allout Mode, Tassilo Horn, 2007/03/09
- Re: Font-Locking for Allout Mode, Stephen Berman, 2007/03/09
- Re: Font-Locking for Allout Mode,
Stephen Berman <=
- Re: Font-Locking for Allout Mode, Stephen Berman, 2007/03/11