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: 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.



reply via email to

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