[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font-lock with newcomment.el
From: |
Stefan Monnier |
Subject: |
Re: Font-lock with newcomment.el |
Date: |
29 May 2003 13:31:38 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "David" == David C Sterratt <david.c.sterratt@ed.ac.uk> writes:
> in gnu emacs as opposed to simple.el in xemacs. But it's not clear
> from these files how the variables comment-start &c set up the
> font-locking.
It's not clear simply because it's not the case.
Font-lock uses syntax-tables rather than comment-start and comment-end.
Your problem is that XEmacs uses different settings for
"two-char comment-markers of style b":
> (?\n . "> b")
> (?/ . ". 1456")
> (?* . ". 23")
The `56' above is XEmacs specific. In Emacs, you'd do
use (?/ . ". 124b") instead. I think the Emacs syntax is accepted
by XEmacs as well.
Stefan
- Font-lock with newcomment.el, David C Sterratt, 2003/05/29
- Re: Font-lock with newcomment.el, lawrence mitchell, 2003/05/29
- Re: Font-lock with newcomment.el,
Stefan Monnier <=
- Re: Font-lock with newcomment.el, David C Sterratt, 2003/05/30
- Re: Font-lock with newcomment.el, lawrence mitchell, 2003/05/30
- Re: Font-lock with newcomment.el, Stefan Monnier, 2003/05/30
- Re: Font-lock with newcomment.el, David C Sterratt, 2003/05/30
- Re: Font-lock with newcomment.el, Kevin Rodgers, 2003/05/30
- Re: Font-lock with newcomment.el, Stefan Monnier, 2003/05/30
- Re: Font-lock with newcomment.el, David C Sterratt, 2003/05/30