> > 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.

Ok. Without this feature, it means gps cannot be used as a "batch
reformatter"
or cannot be set so as to  automatically reformat any file which is
being loaded
if formatting is not what is expected.

Philippe

____

This message and any files transmitted with it are legally privileged and 
intended for the sole use of the individual(s) or entity to whom they are 
addressed. If you are not the intended recipient, please notify the sender by 
reply and delete the message and any attachments from your system. Any 
unauthorised use or disclosure of the content of this message is strictly 
prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment on 
the part of EUROCONTROL, unless it is confirmed by appropriately signed hard 
copy.

Any views expressed in this message are those of the sender.

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to