On 2016-01-21 02:24-0800 Alan W. Irwin wrote: > * Tidy/beautify our Fortran code which is currently in an identation > mess. I am currently researching a GPL'd tool called f90ppr to do > this.
That idea turned out to be a waste of time. I locally built that tool, and it does impose a uniform style on the Fortran files it processes. But I dislike that style. The first level of indentation is always 7 blanks (which is obviously a style left over from Fortran 77 fixed-length days), but more importantly in my view it changes every empty line into one with a single blank, and we definitely don't want such trailing blanks in our source code. I have just now noticed some documentation of the emacs f90-mode at <http://web.mit.edu/Emacs/source/emacs-23.1/lisp/progmodes/f90.el> which implies you have easy and straightforward control of the indentation spacing. So I will try that method to force each level of indentation to add 4 blanks to be consistent with our C code style. If I like that result, then I know of a straightforward way to use emacs to style all our Fortran source. More later. Alan ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel