[Top][All Lists]

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

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

From: Eli Zaretskii
Subject: Re: /* */ style comments in C++ sources
Date: Wed, 24 May 2017 05:27:54 +0300

> Date: Tue, 23 May 2017 20:31:44 +0000
> Cc: address@hidden
> From: Alan Mackenzie <address@hidden>
> On Tue, May 23, 2017 at 21:57:17 +0300, Eli Zaretskii wrote:
> > Is there a way to tell Emacs to use the C-style comments in C++
> > sources?  (I couldn't find that in the CC Mode manual.)
> No, there is no (reasonable) way to tell CC Mode what style of comments
> one prefers.
> People have asked about this before.  It seems like it would be a useful
> facility to add.

Indeed, it would.  The rationale for me is projects like GDB, which
switched from C to C++, but still prefer C-style comments for some
reason.  (Maybe GCC also prefers that, I don't know.)

> Though it might take a surprisingly large amount of work to
> implement.

I'm surprised.  Why is that?

> I'll think about it.

Thank you.

reply via email to

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