Questions tagged [fortran]

The programming language Fortran.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Emacs Fortran 90 mode indentation too aggressive

In my newer version of emacs, when I edit a Fortran 90 source code and press enter key (new line), the cursor moves down but also skips by some spaces (depending on context) to right. I find the ...
1
vote
1answer
61 views

I am writing Fortran code in emacs but the tab key behaviour changes in F90 mode. Can I change it back?

On loading a f90 file, emacs changes to F90 mode, which changes some emacs behaviours. When I press <tab> emacs inserts two spaces at the left margin. Now when I use the backspace key it deletes ...
0
votes
1answer
60 views

flycheck how to silence certain errors or alternatively how to show warnings when errors are present

mac osx catalina (latest) emacs 26.3 from homebrew flycheck gfortran 9.3.0 I am trying to use flycheck to clean up and reorganize some code. Right now I would like to see some warnings to clean them ...
0
votes
2answers
82 views

flycheck cannot use gfortran, executable not found

Previously I had been able to use flycheck for fortran files, but something seems to have broken perhaps during an update. Mac OSX catalina (latest) gfortran 9.3.0 from homebrew emacs 26.3 from ...
0
votes
0answers
29 views

Use two different Fortran standards in flycheck

I work a lot with Fortran, both with newer standards like f90/f95 (f90-mode in emacs) as well as the f77 standard (fortran-mode in emacs). I want to enable flycheck so it works with both standards (...
1
vote
2answers
80 views

Make 'ctags' detect fortran's “module procedure” pattern?

I am using ctags to index fortran files for code navigation in Emacs with M-.. In doing so I have noticed that it doesn't recognize declarations of the form MODULE PROCEDURE MySubroutineName ! or ...
0
votes
1answer
128 views

M-x compile fortran

I set up M-x compile to automatically run appropriate commands depend on on the file types. For example, for C++ (add-hook 'c++-mode-hook (lambda () (set (make-local-variable '...
2
votes
1answer
91 views

Improving Etags support for fortran?

When using xref with Fortran I noticed that indexing by etags is highly incomplete; Almost exclusively subroutines (and maybe functions) are index, but modules, types, constants and global variables ...