🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by ddw for rubis at horizon Wed, 23 Dec 1992 10:14
Lightbrite.el and comments
#399
Author: ddw for rubis at horizon
Date: Wed, 23 Dec 1992 10:14
35 lines
1518 bytes
I have been looking at Marc's package and found it very nice. 
I would have loved if it had worked right away on prolog code where
there are (at least :-) 2 styles of comments:
         % up to eol
and      /*   */ 
(The problem should also appear in C++ I think).

As the code is, it only highlights the first line of a comment
starting with /*

In my attempt to find why, I looked at syntax-decode.el and
understood (or maybe I did not). The mechanism describing comments in
the syntax tables is not sufficient to provide an exact view of
comments when there are several possibilities.

What I think is needed is some way to determine what is the
end-of-comment-regexp given a start-of-comment-string that we found.
(or the reverse if scanning backwards). 

Has anyone worked on a more or less general solution to this problem?
I'd be interested in any pointer to a solution.


Thanks,

Dominique

--
==============================================
Dominique de Waleffe             ddw@sunbim.be
BIM sa
Kwikstraat 4			 Tel: +32 2 719 26 12
B-3078 Everberg			 Tel: +32 2 725 47 83
Belgium
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads