[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.
- /* */ style comments in C++ sources, Eli Zaretskii, 2017/05/23
- Re: /* */ style comments in C++ sources, Alan Mackenzie, 2017/05/23
- Re: /* */ style comments in C++ sources, Richard Stallman, 2017/05/23
- Re: /* */ style comments in C++ sources,
Eli Zaretskii <=
- Re: /* */ style comments in C++ sources, Alan Mackenzie, 2017/05/24
- Re: /* */ style comments in C++ sources, Stefan Monnier, 2017/05/24
- Re: /* */ style comments in C++ sources, Eli Zaretskii, 2017/05/24
- Re: /* */ style comments in C++ sources, Alan Mackenzie, 2017/05/25
- Re: /* */ style comments in C++ sources, Stefan Monnier, 2017/05/25
- Re: /* */ style comments in C++ sources, Alan Mackenzie, 2017/05/25
- Re: /* */ style comments in C++ sources, Alan Mackenzie, 2017/05/26
- Re: /* */ style comments in C++ sources, Herring, Davis, 2017/05/24
- Re: /* */ style comments in C++ sources, Alan Mackenzie, 2017/05/25
Re: /* */ style comments in C++ sources, John Mastro, 2017/05/24