Re: handling text/plain based on extension of the file

2000-05-28 Thread David T-G
Carlos, et al -- ...and then Carlos Puchol said... % hi, Hi! % % i was wondering how to do the following (if possible). In short, as you've probably seen, not in mutt. I don't think that it's a bad idea to have the capability of saying something like autoview text/plain filespec=*.mgd

Re: handling text/plain based on extension of the file

2000-05-26 Thread Carlos Puchol
Thomas Roessler [EMAIL PROTECTED] wrote: To answer the original question: For mutt, no such thing as a file extension exists when it looks at how to interpret incoming data. well, but attachments have a comment field or something because i can see the name of the file being sent. it also puts

Re: handling text/plain based on extension of the file

2000-05-26 Thread David DeSimone
Carlos Puchol [EMAIL PROTECTED] wrote: well, but attachments have a comment field or something because i can see the name of the file being sent. That's just a filename. MIME attachments also have a "Content-Type" header which is supposed to tell the MUA exactly what type of document is

Re: handling text/plain based on extension of the file

2000-05-26 Thread Gary Johnson
On Fri, May 26, 2000 at 03:59:19PM -0500, David DeSimone wrote: Carlos Puchol [EMAIL PROTECTED] wrote: well, but attachments have a comment field or something because i can see the name of the file being sent. That's just a filename. MIME attachments also have a "Content-Type" header

handling text/plain based on extension of the file

2000-05-25 Thread Carlos Puchol
hi, i was wondering how to do the following (if possible). i reveive ".mgp" files as text/plain attachments, because most people don't know about magicpoint (a little known but awesome presentation software), thus they don't have a mailcap entry of "application/magicpoint; mgp %s" and a mime

Re: handling text/plain based on extension of the file

2000-05-25 Thread Suresh Ramasubramanian
Carlos Puchol proclaimed on mutt-users that: i reveive ".mgp" files as text/plain attachments, because most people don't know about magicpoint (a little known set auto view in .muttrc For example, I use auto_view application/ms-tnef text/x-vcard auto_view application/x-chess

Re: handling text/plain based on extension of the file

2000-05-25 Thread Carlos Puchol
Suresh Ramasubramanian [EMAIL PROTECTED] wrote: Carlos Puchol proclaimed on mutt-users that: i reveive ".mgp" files as text/plain attachments, because most people don't know about magicpoint (a little known set auto view in .muttrc For example, I use auto_view application/ms-tnef

Re: handling text/plain based on extension of the file

2000-05-25 Thread Suresh Ramasubramanian
Carlos Puchol proclaimed on mutt-users that: but i don't think i want to just autoview text/plain attachments, no? i want mgp to handle the text/plain attachments that have an "*.mgp" as file name whe i press "view-attachments" on it. Oh ya - then write a macro to pipe it to magicpoint. --

Re: handling text/plain based on extension of the file

2000-05-25 Thread Thomas Roessler
On 2000-05-25 17:42:17 +0530, Suresh Ramasubramanian wrote: i reveive ".mgp" files as text/plain attachments, because most people don't know about magicpoint (a little known set auto view in .muttrc For example, I use auto_view application/ms-tnef text/x-vcard auto_view

Re: handling text/plain based on extension of the file

2000-05-25 Thread Suresh Ramasubramanian
Thomas Roessler proclaimed on mutt-users that: auto_view application/ms-tnef text/x-vcard auto_view application/x-chess application/x-lotus-notes auto_view text/html application/x-gzip application/x-gunzip auto_view application/rtf application/x-rath *grin* I don't think you have a