From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: f90 comments indentation
Date: Thu, 16 Oct 2003 18:12:37 GMT [thread overview]
Message-ID: <jwv8ynlvyu5.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca> (raw)
In-Reply-To: Pine.LNX.4.33.0310152020410.31279-100000@lancelot.cems.umn.edu
> 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
next prev parent reply other threads:[~2003-10-16 18:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-16 2:28 f90 comments indentation Shriram Ramanathan
2003-10-16 18:12 ` Stefan Monnier [this message]
2003-10-17 17:31 ` Glenn Morris
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=jwv8ynlvyu5.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca \
--to=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).