[Jed-users-l] multi line comment

John E. Davis davis at space.mit.edu
Wed Feb 9 18:50:52 UTC 2011


Yann MERIGNAC <yann.merignac at laposte.net> wrote:
> My problem is that I can't make the 2 multi-line style comment work
> together (no problem for single line comments).

Currently, only one multiline comment is supported per syntax table. 
A work-around for this limitation would be to make a syntax table for
each multi-line comment, and select the one that best matches the
file.  You would make this determination in the pascal_mode function
by searching the first few lines of the file for a comment.  This
assumes that you primarily use one style per file, but that
expectation may not be realistic.

I will look into adding support for more than one multi-line comment
style.

--John


More information about the Jed-users-l mailing list