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

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

Re: f90 indentation error and annoyance


From: Glenn Morris
Subject: Re: f90 indentation error and annoyance
Date: Mon, 11 Oct 2004 18:50:00 +0100
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Dave Love wrote:

> 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.

It is customizable - set f90-smart-end to nil. The doc for that
variable is not very clear, though, so I'll improve it. Setting it to
nil also avoids your bug, but I will look for a proper fix.




reply via email to

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