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

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

Re: f90.el matching END statements


From: Stefan Kangas
Subject: Re: f90.el matching END statements
Date: Fri, 29 Nov 2019 12:46:17 +0100

Salvatore Filippone <filippone.salvatore@gmail.com> writes:

> I have recently run into an issue with f90.el, version 26.2
> distributed with fedora 30.
> The issue is with the autocompletion feature; Fortran 2008 has
> introduced submodules; among the changes entailed by this, it is now
> possible to have a piece of code like the following:

I suggest that you file a bug report for this, to ensure that it
eventually gets followed up.  You can use M-x report-emacs-bug or send
an e-mail to bug-gnu-emacs@gnu.org with the same contents as your
message to this list.

> I have found a fix for this. I changed file f90.el:1385-1386  from
> -------------
>    ((and (not (looking-at "module[ \t]*procedure\\_>"))
>          (looking-at "\\(module\\)[ \t]+\\(\\(?:\\sw\\|\\s_\\)+\\)\\_>"))
> --------------
> to
> --------------
>    ((and (not (or
>            (looking-at "module[ \t]*procedure\\_>")
>            (looking-at "module[ \t]*subroutine\\_>")))
>          (looking-at "\\(module\\)[ \t]+\\(\\(?:\\sw\\|\\s_\\)+\\)\\_>"))
> ---------------

If you could include this as a patch file attached to your e-mail,
that would be helpful.  If you don't know how to do that, the above
code fragment is also fine.

Best regards,
Stefan Kangas



reply via email to

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