From: "Ankur Jain" <ankurj@gmail.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: c-style comments in c++-mode
Date: Tue, 13 Feb 2007 19:58:30 +0530 [thread overview]
Message-ID: <fb9f05100702130628w3c6866e9l7b8f356c4c817bce@mail.gmail.com> (raw)
In-Reply-To: <jwvtzxrnwyg.fsf-monnier+gnu.emacs.help@gnu.org>
[-- Attachment #1.1: Type: text/plain, Size: 949 bytes --]
Can we use both style of comments, somehow.
I mean, instead of replacing c++ mode comments completely, can we assign
keyboard shortcut for inserting c mode style comments? Or may be some other
better method to use both styles.
On 2/12/07, Stefan Monnier <monnier@iro.umontreal.ca> 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 "
> */")))
> > Or with a CC Mode style ...
>
> Probably, but I use too many major modes to be bothered to learn each and
> every one's new idiosyncratic way to configure it. Especially since Emacs
> provides perfectly good generic ways to do that.
>
>
> Stefan
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
--
Regards
Ankur Jain
http://ankurjain.org
[-- Attachment #1.2: Type: text/html, Size: 1586 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next prev parent reply other threads:[~2007-02-13 14:28 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 [this message]
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=fb9f05100702130628w3c6866e9l7b8f356c4c817bce@mail.gmail.com \
--to=ankurj@gmail.com \
--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.
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).