> (re-search-forward "\\s<") won't find comments that begin with
> a 2 character comment starter.
Indeed. (re-search-forward "\\s<") does not search for a beginning of
comment, but for a character whose syntax is "<", e.g. it'll not only ignore
"/*" in C, but it will also "incorrectly" find a ";" in elisp that's
preceded by a backslash. It'll also find characters of syntax "<" placed
inside strings.
You can try comment-search-forward instead. Note: you have to make sure
that comment-normalize-vars has been called in the current buffer before
using functions like comment-search-forward.
> "Move to EOL. If there, to EOL sans comments."
What would it say if written in English? ;-)
Stefan
_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug