"Georg Bauhaus" wrote in message news:4d93797a$0$6878$9b4e6d93@newsspool2.arcor-online.net... > On 30.03.11 19:40, Yannick Duch�ne (Hibou57) wrote: >> promote a "text/x-ada-spec" and an >> "text/x-ada-body" MIME types for Ada source files. > > Against. Though not against specifying file content's > type and encoding! > > Use extended attributes. Available in all file systems > and archives in current use. > > An Ada source file can contain multiple compilation units, > and pragmas; what do you suggest if a single file has a spec, > a body, a separate unit, and configuration pragmas, > i.e. a complete Ada program text? > > That's why I'm against text/x-ada-* A MIME type should > relate possible Ada content, not accidentals like a > correspondence between compilation units and files the > way a single compiler prefers. Not to mention what happens when the source file is a procedure or instance of a generic procedure or a procedure or task subunit. Janus/Ada calls all of those things "bodies" for the sake of it's file naming conventions, but I've also seen people and projects which given those their own extension ".PRC" or "ADP". Net effect is that there are as many ways to do this as there are projects; it doesn't make sense to encode any of them in stone. Randy.