fortpy icon indicating copy to clipboard operation
fortpy copied to clipboard

Possibility to opt out of autoconversion of derived-type . (dot) to % (percent)

Open AstroFloyd opened this issue 6 years ago • 1 comments

Thanks a lot for fortpy - it makes my life as an addict of both emacs and Fortran a lot easier :-)

One issue I regularly run into is the autoconversion of the . (dot) to % (percent) for members of derived types. Whenever I type something like if(a.eq.b) I typically end up with if(a%eq%b). Is there an easy way (e.g. in my .emacs) to opt out of this feature (and keep all the rest :-)) so that I will have to type the %'s myself?

AstroFloyd avatar Feb 17 '19 12:02 AstroFloyd

My elisp isn't very good (to put it mildly), but is the following patch sufficient/complete?

fortpy_replace-dot-with-percent.patch.gz

AstroFloyd avatar Feb 17 '19 13:02 AstroFloyd