From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John A Pershing Jr Newsgroups: gmane.emacs.help Subject: Re: comments in cc mode Date: Wed, 07 Oct 2009 15:04:55 -0400 Organization: Optimum Online Message-ID: <82skdvqb3c.fsf@alum.mit.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254946329 24936 80.91.229.12 (7 Oct 2009 20:12:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Oct 2009 20:12:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 07 22:12:01 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MvcrV-0007KH-Kr for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2009 22:11:49 +0200 Original-Received: from localhost ([127.0.0.1]:48066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvcrU-0001pI-M9 for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2009 16:11:48 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.51.MISMATCH!tmp-post01.iad!news.highwinds-media.com!news.cv.net!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:2QtMOWu9Q34NhCQDI2Rq2uT3Ro4= Original-Lines: 18 Original-NNTP-Posting-Host: 74.88.209.219 Original-X-Complaints-To: abuse@cv.net Original-Xref: news.stanford.edu gnu.emacs.help:173651 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68742 Archived-At: Michael 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