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

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

Re: commentting problem when coding in c


From: Robert Thorpe
Subject: Re: commentting problem when coding in c
Date: 11 Dec 2006 06:56:08 -0800
User-agent: G2/1.0

Ronald wrote:
> For example:
>
> for () {                       //comment a
>         int i=0;               //comment b
> }
>
> but in emacs, I can't use tab to indent the comment, and the code will like:
> for () {//comment a
>         int i=0;//comment b
> }
>
> Howerver, C-q [tab] works, but it is not convenient. So does spaces.

Another possibility is to use M-i rather than C-q TAB.



reply via email to

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