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

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

f90 indentation error and annoyance


From: Dave Love
Subject: f90 indentation error and annoyance
Date: Fri, 08 Oct 2004 18:33:11 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

In a buffer in f90-mode, run indent-region on the following two lines
to get an error.  It fails with any main that doesn't start with
`program':

print 'foo'
end

I find it annoying that indenting an `end' statement always qualifies
it.  That should be customizable, and I think the default should be
not to.  E.g. indenting this:

program main
  print 'foo'
end

produces:

program main
  print 'foo'
end program main




reply via email to

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