unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* commentting problem when coding in c
@ 2006-12-06 12:52 Ronald
  2006-12-06 13:03 ` Rud1ger Sch1erz
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ronald @ 2006-12-06 12:52 UTC (permalink / raw)


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.

Is there any more convenient way? 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-12-11 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-06 12:52 commentting problem when coding in c Ronald
2006-12-06 13:03 ` Rud1ger Sch1erz
2006-12-06 13:40   ` Ronald
2006-12-11 13:42 ` Ken Goldman
2006-12-11 14:56 ` Robert Thorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).