From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: f90 comments indentation Date: Thu, 16 Oct 2003 18:12:37 GMT Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066328301 32165 80.91.224.253 (16 Oct 2003 18:18:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 18:18:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 16 20:18:17 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAChU-0005GG-01 for ; Thu, 16 Oct 2003 20:18:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAChP-0004WO-Vl for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Oct 2003 14:18:11 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!charlie.risq.qc.ca!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-NNTP-Posting-Host: 132.204.24.42 Original-X-Complaints-To: abuse@umontreal.ca Original-X-Trace: charlie.risq.qc.ca 1066327957 132.204.24.42 (Thu, 16 Oct 2003 14:12:37 EDT) Original-NNTP-Posting-Date: Thu, 16 Oct 2003 14:12:37 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:117317 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13247 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13247 > I am writing f90 programs and I have turned auto-fill mode on. I want my > comments to be indented to where my earlier comment line starts. So, for > example, what I want is this (irrespective of the comment column) > real, (kind=long), dimension(3,3) :: abcd ! This is a test > ! comment > But, what I get is > real, (kind=long), dimension(3,3) :: abcd ! This is a test > ! comment If this is what you get after hitting SPC (which triggered auto-fill), then it's a bug that you should report with M-x report-emacs-bug (although you might want to check whether it's already fixed in a more recent version of Emacs first). If that's what you get after hitting TAB on the second line, then it's a problem with indentation of comments (which is sadly partly separate from the indentation that takes place during auto-fill) and there might be some convention that you need to follow (such as using some other comment marker, or using two or three ! or ...). Stefan