From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3992 Path: news.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.gnus.user Subject: Re: Choosing the right MIME type when sending attachment Date: Mon, 26 Jul 2004 17:46:28 +0200 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670013 21333 80.91.229.2 (31 Jan 2006 01:13:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:13:33 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:04 2006 Original-Newsgroups: gnu.emacs.gnus X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.;yo.b yq4$p;ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Copies-To: nobody User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:4zA8JP1CuKr5YKvO8OdPf8AqWYg= Original-NNTP-Posting-Host: dialin-145-254-251-070.arcor-ip.net Original-X-Trace: news.uni-ulm.de 1090859881 145.254.251.70 (26 Jul 2004 18:38:01 +0200) X-Authenticated-User: rsteib Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!uio.no!feed.news.tiscali.de!news.belwue.de!news.uni-ulm.de!marauder.physik.uni-ulm.de!not-for-mail Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4133 Original-Lines: 26 X-Gnus-Article-Number: 4133 Tue Jan 17 17:33:04 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3992 Archived-At: 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/