[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15573: 24.3.50; `comment-end' in c mode
From: |
Drew Adams |
Subject: |
bug#15573: 24.3.50; `comment-end' in c mode |
Date: |
Sat, 28 Dec 2013 09:09:34 -0800 (PST) |
> > There seems to be no good regexp variable to use, to search for the
> > end of a comment (e.g. in C mode, but therefore generally).
>
> There can't be. The syntax of the end of a comment depends on the
> comment-starter that was used. So don't look for a regexp. Look for
> a function instead, e.g. comment-forward.
Actually, that's what I have been using, `comment-search-forward' and
`comment-forward'.
> C also accepts //...\n
Right. Forgot about that.
I still don't see why `comment-end' should not match "*/" without
a SPC preceding it.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#15573: 24.3.50; `comment-end' in c mode,
Drew Adams <=