help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: command to insert comment in c mode


From: Tim Haynes
Subject: Re: command to insert comment in c mode
Date: Sat, 04 Jan 2003 23:48:47 +0000
User-agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Military Intelligence, i686-pc-linux)

kani <harazy@telocity.com> writes:

> first of all, execuse the newbie question. is there is a command or to
> insert a comment block in C mode ? that is, when i press key combination,
> a /* and */ are inserted and cursor left in the middle of comment block.

Maybe:

 | M-; runs `indent-for-comment'
 | 
 | Documentation:
 | Indent this line's comment to comment column, or insert an empty
 | comment.  Comments starting in column 0 are not moved.

?

~Tim
-- 
We stood in the moonlight                   |piglet@stirfried.vegetable.org.uk
and the river flowed                        |http://spodzone.org.uk/


reply via email to

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