> BTW, looking at gps, effectively, I find no way to indicate that a > comment just > before an else is to be indented (or not) with the following else. > Which means that gps cannot automatically reformat the gnat code without > "destroying" the indentation ? > (gnat code contains such "-- comments before the else to be associated > with the else
That's correct, although there is a trick, since a comment line will be indent like the previous comment line, so you only have to change the indentation for the first line. We have this on our list, but as you yourself noted, it is more efficient when we only have to look backwards to compute the indentation, not the whole buffer. _______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
