[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: |
Thu, 25 May 2017 05:32:48 +0300 |
> Date: Wed, 24 May 2017 20:53:16 +0000
> Cc: address@hidden
> From: Alan Mackenzie <address@hidden>
>
> What do you think of the following:
>
> (i) There would be a new "CC Mode minor mode" with an interactive
> function called `c-toggle-comment-style', which would toggle a new buffer
> local variable, c-comment-style. This variable could be set in local
> variables, or in .emacs in the same way as any other CC Mode buffer
> setting.
> (ii) `c-toggle-comment-style' would be bound to an unused CC Mode
> binding, possibly C-c C-k.
> (iii) I'm also thinking about putting it on C-c C-;, though terminal
> keyboards tend not to have C-; (mine doesn't (yet)).
> (iv) The major mode mode line entry, which currently looks something
> like "C/l" would be amended to "C/*l" or "C//l", with the obvious meaning.
> (v) The new buffer-local variable `c-comment-style' would influence all
> standard Emacs commands which create comments.
>
> ?
Sounds good to me, thanks.
- /* */ 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, 2017/05/23
- 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 <=
- 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
Re: /* */ style comments in C++ sources, Dani Moncayo, 2017/05/24