From: Ralf Angeli <dev.null@caeruleus.net>
To: help-gnu-emacs@gnu.org
Subject: Re: c-style comments in c++-mode
Date: Sun, 11 Feb 2007 22:35:45 +0100 [thread overview]
Message-ID: <45cf8c31$0$5718$9b4e6d93@newsspool3.arcor-online.net> (raw)
In-Reply-To: jwvsldcpexx.fsf-monnier+gnu.emacs.help@gnu.org
* Stefan Monnier (2007-02-11) writes:
>> What's the quickest way to tell c++-mode to insert c-style comments?
>
> (add-hook 'c++-mode-hook
> (lambda () (setq comment-start "/* ") (setq comment-end " */")))
Or with a CC Mode style ...
--
Ralf
next prev parent reply other threads:[~2007-02-11 21:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4334.1171189521.2155.help-gnu-emacs@gnu.org>
2007-02-11 10:36 ` c-style comments in c++-mode Hadron
2007-02-11 13:27 ` Dale Mellor
[not found] ` <mailman.4338.1171200489.2155.help-gnu-emacs@gnu.org>
2007-02-11 17:02 ` Stack
2007-02-11 23:15 ` Dale Mellor
2007-02-11 21:23 ` Stefan Monnier
2007-02-11 21:35 ` Ralf Angeli [this message]
2007-02-11 23:17 ` Dale Mellor
2007-02-12 16:49 ` Stefan Monnier
2007-02-13 14:28 ` Ankur Jain
2007-02-13 15:11 ` Stefan Monnier
2007-02-11 23:16 ` Dale Mellor
2007-02-12 9:18 ` Hadron
2007-02-11 10:24 Dale Mellor
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='45cf8c31$0$5718$9b4e6d93@newsspool3.arcor-online.net' \
--to=dev.null@caeruleus.net \
--cc=angeli@caeruleus.net \
--cc=help-gnu-emacs@gnu.org \
/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).