From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: Re: Choosing the right MIME type when sending attachment
Date: Mon, 26 Jul 2004 17:46:28 +0200 [thread overview]
Message-ID: <v9ekmy22ln.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <ubri3xbyj.fsf@laposte.net>
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/
parent reply other threads:[~2004-07-26 15:46 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <ubri3xbyj.fsf@laposte.net>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9ekmy22ln.fsf@marauder.physik.uni-ulm.de \
--to=4.uce.03.r.s@nurfuerspam.de \
--cc=reiner.steib@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).