emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with multiple comment syntax


From: Stefan Monnier
Subject: Re: problem with multiple comment syntax
Date: Mon, 03 Jan 2005 13:01:39 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

> Suppose you have a C-like language with /* and // comments but also
> with # as a comment character.  (This is the case with PHP.)

> After setting up the C comments, I'd expect to be able to set the
> syntax of # to "<" or "< b" and have both # and // comments terminated
> by newline.  If you do that, a comment started by # is never
> terminated.  (// still works OK.)

> It does work as expected in XEmacs using syntax "< b".

Can you give an actual test case?
If ?\n has syntax ">", than it should work if you set ?#'s syntax to "<".
(and "< b" for "> b").


        Stefan




reply via email to

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