From: Dale Mellor <dale@rdmp.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: c-style comments in c++-mode
Date: Sun, 11 Feb 2007 23:16:35 +0000 [thread overview]
Message-ID: <1171235795.7320.3.camel@localhost.localdomain> (raw)
In-Reply-To: <jwvsldcpexx.fsf-monnier+gnu.emacs.help@gnu.org>
On Sun, 2007-02-11 at 16:23 -0500, Stefan Monnier wrote:
> > 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 " */")))
Thanks, that's exactly what I needed. Your help is very much
appreciated.
next prev parent reply other threads:[~2007-02-11 23:16 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1171235795.7320.3.camel@localhost.localdomain \
--to=dale@rdmp.org \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.