[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Choosing the right MIME type when sending attachment
From: |
John Robot |
Subject: |
Re: Choosing the right MIME type when sending attachment |
Date: |
Tue, 27 Jul 2004 10:50:30 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Hamster/2.0.5.5 |
Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:
> On Mon, Jul 26 2004, John Robot wrote:
>
>> What can I do so that Gnus chooses the right MIME type when I'm
>> attaching files?
>>
>> Is there a mailcap-like file to edit,
>
> Yes. And surprisingly it is called `~/.mailcap'. ;-) Oops, in fact
> it's ~/.mime.types rather than ~/mailcap I think.
>
>> or a variable to set?
>
> (eval-after-load "mailcap"
> '(add-to-list 'mailcap-mime-extensions '(".doc" . "application/msword")))
Setting the variable `mailcap-mime-extensions' perfectly works
on my XEmacs installation.
Why - I cannot figure why! -, this does not work (with the same
.emacs and .gnus init files) for my GNU Emacs [while both run
Gnus 5.10.6]...
Thanks for your help,
John
--
John Robot