Re: mime, freedesktop.org and mutt

2007-05-26 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday, May 26 at 06:50 PM, quoth Brian Salter-Duke:
>Should I cross post this to mutt-devel?

Yes.

~Kyle
- -- 
I couldn't give you something mediocre even if that's all you asked 
for.
  -- Michelangelo, in The Agony and the Ecstasy
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFGWDTXBkIOoMqOI14RAjMsAKDss9/cLR0UPNGP7mcdFcKVkCvwJwCggO+8
KzcYnfG0Yk7+Z5+5LXMEmms=
=f7ob
-END PGP SIGNATURE-


mime, freedesktop.org and mutt

2007-05-26 Thread Brian Salter-Duke

This message may be complete nonsense. I am trying to find my way into
something. I understand that KDE 4 and GNOME > 2.4 use the
freedesktop.org mime databases to determine the mime type. 

Has any thought ever been given to using these databases in mutt in 
place of mime.types when sending mail and in place of mailcap on receipt 
of mail and when using auto_view? 

The possible advantages could be that it is possible to sort out
conflicting mime types by doing some 'magic' on the file itself on the
fly. I come to this because I have just come back to improving and
adding to various ways I put forward for dealing with chemical mime
type: chemical/x-?? in mutt. A very common extension *.pdb for Protein 
Database Files uses chemical/s-pdb but this conflicts with *.pdb using
/application/vnd.palm. We could possibly use the freedesktop mime
databases to sort this and other problems out.

There is a new project on chemical mime that is adding chemical mime 
types and information for parsing the files involved to these freedesktop.org 
mime databases.

I hope I have not made too many mistakes in the above. I am still trying
to get into it.

Is this the linux way of the future for mime? If so, should we not be
getting mutt to know about it, if we want to stay ahead of the pack on
support for mime. Has anyone thought about this? Is it already in mutt?
Is is possible or even desirable?

Should I cross post this to mutt-devel?

Brian.
-- 
"A computer without windows is like a dog without bricks tied to its head"
   -- Unknown
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au