bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14448: Wrong indentation in comment lines for F90 mode?


From: Glenn Morris
Subject: bug#14448: Wrong indentation in comment lines for F90 mode?
Date: Sat, 25 May 2013 23:09:03 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stefan Monnier wrote:

> I see now that it behaves differently because f90 tells it to, via
> f90-comment-indent.  Try:
>
> ! bla
> ! bli
>
> and then hit either TAB or M-; on the second line, and you'll see it
> gets indented by 1 more space, just like in your example.

ITYM 2 spaces?

This takes me back to my original question:
Is M-j supposed to re-indent the line it starts on, or not?

If not, is it supposed to indent the following line as it would normally
be indented, or to match the indentation of the original line?

If the answers are "no", and "as normal", then there is no bug here.

> It seems that this happens only for comments before source code... 

Probably because that is an ambiguous state, depending on whether or not
a leading "program" line gets added. See
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3729#10





reply via email to

[Prev in Thread] Current Thread [Next in Thread]