unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Robert Thorpe" <rthorpe@realworldtech.com>
Subject: Re: commentting problem when coding in c
Date: 11 Dec 2006 06:56:08 -0800	[thread overview]
Message-ID: <1165848968.109612.25300@73g2000cwn.googlegroups.com> (raw)
In-Reply-To: <el6ee7$ne7$1@news.yaako.com>

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.

      parent reply	other threads:[~2006-12-11 14:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1165848968.109612.25300@73g2000cwn.googlegroups.com \
    --to=rthorpe@realworldtech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).