emacs-devel
[Top][All Lists]
Advanced

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

Re: /* */ style comments in C++ sources


From: Stefan Monnier
Subject: Re: /* */ style comments in C++ sources
Date: Wed, 24 May 2017 21:49:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>> I'm probably missing something obvious, but I thought setting
>> `comment-start' and `comment-end' worked for this?
> It's very inconvenient, for starters.  Using a supported language
> feature shouldn't require the user to mess with tricky regexps, IMO.

These aren't regexps, they're plain strings.
The only problem with them is that you have to be careful to set them
together, and you need to know what to set comment-end to for
LF-terminated comments.


        Stefan




reply via email to

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