[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Choosing the right MIME type when sending attachment
From: |
Reiner Steib |
Subject: |
Re: Choosing the right MIME type when sending attachment |
Date: |
Mon, 26 Jul 2004 17:46:28 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
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?
>
> If I attach a Word file (.doc extension), I'd like Gnus to
> select by default `application/msword' instead of
> `application/octet-stream'...
>
> 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")))
See also (info "(emacs-mime)mailcap").
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/