GNU bug report logs - #8691
23.2; In fortran 90 mode, f90-indent-subprogram gets confused by bind(c) type definitions

Previous Next

Package: emacs;

Reported by: James Tappin <jtappin <at> gmail.com>

Date: Wed, 18 May 2011 16:12:01 UTC

Severity: normal

Found in version 23.2

Fixed in version 24.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: James Tappin <jtappin <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 8691 <at> debbugs.gnu.org
Subject: bug#8691: 23.2; In fortran 90 mode, f90-indent-subprogram gets confused by bind(c) type definitions
Date: Wed, 18 May 2011 15:38:07 -0600
On 18 May 2011 15:21, Glenn Morris <rgm <at> gnu.org> wrote:
>
> (Please keep 8691 <at> debbugs included)
>
> However, rather than patching, it's probably easier to add to your
> .emacs:
>
> (eval-after-load "f90"
>  '(setq f90-type-def-re "\\<\\(type\\)\\>\\(?:\\(?:[^()\n]*\\|\
> .*,[ \t]*bind[ \t]*([ \t]*c[ \t]*)[ \t]*\\)::\\)?[ \t]*\\(\\sw+\\)"))
>
> which should have the same effect.
>

Thanks Glenn,
That works on the test file, and on the original "problem" file.

James




This bug report was last modified 14 years and 84 days ago.

Previous Next


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