From: "Robert D. Crawford" <rdc1x@comcast.net>
Subject: Re: I cannot find how to comment a block
Date: Sun, 09 Apr 2006 16:06:18 -0500 [thread overview]
Message-ID: <87zmiuh31x.fsf@laptop.rdc1.home> (raw)
In-Reply-To: 1144610963.684737.168090@v46g2000cwv.googlegroups.com
volunteers@gmail.com writes:
> Hi, I know this is a basic question but I just didn't find the
> solution: in cc-mode (I was writing C++ codes), how can I comment a
> block? I tried 'M-;' and it just adds comments behind that line. What
> I want is to comment this line or several lines (add // in front of
> every line, or /* ... */) . Thanks.
Try C-c C-c or M-x comment-region. To find these things where you think
you might have an idea of the command name, try M-x apropos or C-h a. I
found this by using the command C-h a comment in a C++ file.
rdc
--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Robert D. Crawford rdc1x@comcast.net
You are magnetic in your bearing.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
next prev parent reply other threads:[~2006-04-09 21:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-09 19:29 I cannot find how to comment a block volunteers
2006-04-09 21:01 ` Colin S. Miller
2006-04-09 21:06 ` Robert D. Crawford [this message]
2006-04-10 5:16 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zmiuh31x.fsf@laptop.rdc1.home \
--to=rdc1x@comcast.net \
/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.
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.