From: John A Pershing Jr <pershing@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: comments in cc mode
Date: Wed, 07 Oct 2009 15:04:55 -0400 [thread overview]
Message-ID: <82skdvqb3c.fsf@alum.mit.edu> (raw)
In-Reply-To: dbd8f636-8095-460e-8c71-044bde51fcd8@l34g2000vba.googlegroups.com
Michael <mmassmann@econ.vu.nl> writes:
> I was wondering whether there is a simple way of changing the various
> ways comments are placed in cc mode to one single default: always place
> a double forward slash in column, say, 100 and then the comment
> thereafter?
I don't know what "cc mode" is. However, for C-like languages, try
putting the following into your ~/.emacs file:
(add-hook 'c-mode-common-hook
'(lambda ()
(setq comment-column 100)
))
(You *really* want your comments way over there in column 100???)
-jp
next prev parent reply other threads:[~2009-10-07 19:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-06 15:39 comments in cc mode Michael
2009-10-07 19:04 ` John A Pershing Jr [this message]
2009-10-08 9:06 ` Andreas Röhler
2010-05-20 9:33 ` Massmann, M. (Michael)
[not found] ` <mailman.0.1274363526.31702.help-gnu-emacs@gnu.org>
2010-05-22 9:43 ` Alan Mackenzie
2010-05-22 16:20 ` Michael
2010-05-22 19:15 ` Alan Mackenzie
2010-05-23 11:45 ` Michael
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=82skdvqb3c.fsf@alum.mit.edu \
--to=pershing@alum.mit.edu \
--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.
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.