GNU bug report logs - #20969
f90-indent-subprogram indents incorrectly when the buffer includes type, extend(...)

Previous Next

Package: emacs;

Reported by: Zach Jibben <threeofsix <at> gmail.com>

Date: Thu, 2 Jul 2015 22:48:02 UTC

Severity: normal

Merged with 20680

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Angelo Graziosi <angelo.graziosi <at> alice.it>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20969 <at> debbugs.gnu.org
Subject: bug#20969: f90-indent-subprogram indents incorrectly when the buffer includes type, extend(...)
Date: Sat, 04 Jul 2015 10:26:37 +0200
[Message part 1 (text/plain, inline)]
Il 04/07/2015 02:13, Glenn Morris ha scritto:
>
> Works for me.
>

Hmm... indeed the Zach example works.. but try with the attached test 
case.. It comes with the right formatting.. Select, now, from 'module' 
to 'end module', then press TAB.. The formatting becomes totally broken.

Now, remove, from the original foo.f90, the text ', extends(Shape),' 
(after "type" keyword), and repeat (select from 'module' to 'end 
module', then press TAB..). The formatting is not changed! it remans 
unbroken..

So, the 'extends' keyword, in some manner, breaks the formatting.

Angelo
[foo.f90 (text/plain, attachment)]

This bug report was last modified 9 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.