all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.