From: Tim Haynes <usenet@stirfried.vegetable.org.uk>
Subject: Re: command to insert comment in c mode
Date: Sat, 04 Jan 2003 23:48:47 +0000 [thread overview]
Message-ID: <86n0mgxyqo.fsf@potato.vegetable.org.uk> (raw)
In-Reply-To: 3e176bde_4@nopics.sjc
kani <harazy@telocity.com> writes:
> first of all, execuse the newbie question. is there is a command or to
> insert a comment block in C mode ? that is, when i press key combination,
> a /* and */ are inserted and cursor left in the middle of comment block.
Maybe:
| M-; runs `indent-for-comment'
|
| Documentation:
| Indent this line's comment to comment column, or insert an empty
| comment. Comments starting in column 0 are not moved.
?
~Tim
--
We stood in the moonlight |piglet@stirfried.vegetable.org.uk
and the river flowed |http://spodzone.org.uk/
next prev parent reply other threads:[~2003-01-04 23:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-04 20:20 command to insert comment in c mode kani
2003-01-04 23:48 ` Tim Haynes [this message]
2003-01-04 23:50 ` Alfred M. Szmidt
2003-01-05 1:46 ` Chmouel Boudjnah
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=86n0mgxyqo.fsf@potato.vegetable.org.uk \
--to=usenet@stirfried.vegetable.org.uk \
--cc=news_reply@stirfried.vegetable.org.uk \
/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).