ext/ names (was: re:[PATCH] HP/SGI extensions to...)

Paolo Carlini pcarlini@unitus.it
Fri Jan 4 13:16:00 GMT 2002


Nathan Myers wrote:

> Emacs, BTW, doesn't "deduce" the file type from its format; we have a
> special tag inserted in each header just to avoid confusing Emacs.

I see your point. Honestly, I did'nt notice before that -*- C++ -*- at the
beginning of each header.

All of this is very ironic...

Anyway, a common practice, today, is that of matching a full regular expression
to the first few hundreds of words of the file, not relying on a tag, see, e.g.
'nedit'. Therefore just a couple of / at the beginning of the file is ok and
universal. Do you really find this 'evil' ?

Cheers,
Paolo.




More information about the Libstdc++ mailing list