Closed M0M097 closed 1 year ago
Thanks for the notice! I just tested it and indeed it was broken for all Fortran statements. The reason seemed to be that calling fgrep
from fortran-tags.el
produced more output than before (there is now a warning a about fgrep
being obsolescent and how I should use grep -F
instead). Anyway, I implemented a fix and for me at least it works fine now. See the latest commit and let me know if you still run into errors.
I still have the same issue, but I think I found what is causing it: the SHELL variable set to a non-posix shell. I'm a (t)csh user, and as long as SHELL is set to tcsh I get this error, if I set SHELL to bash I don't get the error even if I execute emacs from a terminal running tcsh
Okay, glad to know you found a solution! Indeed, currently only bash is supported.
I installed fortran-tags and sucessfully generated FORTAGS file (attached with an .txt extension) with
fortran-tags.py -g test.f90
. Content of test.f90 isif I now place my curser over the
i
inprint *, i
I get the following error:Afterwards I find myself in a Buffer called
LC_ALL=C:
This happens for every statement in all fortran projects. Emacs version is GNU Emacs 27.2 and I use doom emacs.FORTAGS.txt