logo       

Re: C Mode Comments: msg#00952

emacs.help

Subject: Re: C Mode Comments

Kevin Dziulko <dziulko@xxxxxxxxxxxxxxxxxxx> writes:

> I am running GNU Emacs 20.2.3. M-; does not run comment-dwim, but runs
> indent-for-comment.
>
> What I am looking for is a command that would have the effect of killing
> an entire comment. For example, given:
>
> int x; /* this is a comment */
>
> Only "int x;" would remain on this line of code.

It might work to say C-u M-;.

You could try to search for a file newcomment.el, it might have been
posted to gnu.emacs.sources and this version might work with your
Emacs. Or it might not. Maybe it's easier to just upgrade your
Emacs. This is very easy to do, if you have enough space in your
home dir, say.
--
Ambibibentists unite!


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise