Subject: bug#5595: Commenting in F90

From: Glenn Morris <[email-masked]>
Date: Fri, 19 Feb 2010 13:01:21 -0500

Angelo Graziosi wrote:

> It is not clear why this happens only with F90 mode. Repeating with
> foo.cpp' (C/C++ mode and '!' --> '//') or with 'foo.f' (Fortran mode,
> !' --> 'C'), C-M-j sets the comment character correctly indended (to
> me!), under the previous and not shifted...

But 'C' comments in Fortran mode get zero indentation, so how can one
tell if this functin is indenting the first line or not?

Like I said, I don't really understand what this function is supposed
to do, nor which variables modes should set to make it work correctly.

Perhaps the maintainer of newcomment.el can help us out...