[Top][All Lists]

[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 <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]