From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64297 Path: news.gmane.org!not-for-mail From: "Sebastian P. Luque" Newsgroups: gmane.emacs.gnus.general Subject: Re: default mime for attaching files Date: Thu, 08 Feb 2007 23:22:49 -0600 Organization: Memorial University Message-ID: <87lkj7q506.fsf@patagonia.sebmags.homelinux.org> References: <87zm7op2y1.fsf@patagonia.sebmags.homelinux.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1170998656 29990 80.91.229.12 (9 Feb 2007 05:24:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Feb 2007 05:24:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M12821@lists.math.uh.edu Fri Feb 09 06:24:14 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1HFOF3-0005Og-1q for ding-account@gmane.org; Fri, 09 Feb 2007 06:24:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1HFOE0-00056g-UQ; Thu, 08 Feb 2007 23:23:08 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HFODx-00056M-Ut for ding@lists.math.uh.edu; Thu, 08 Feb 2007 23:23:05 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1HFODr-0006X3-UJ for ding@lists.math.uh.edu; Thu, 08 Feb 2007 23:23:05 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HFODq-0002uG-00 for ; Fri, 09 Feb 2007 06:22:58 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HFODm-0008Bw-T8 for ding@gnus.org; Fri, 09 Feb 2007 06:22:55 +0100 Original-Received: from s01060015e975d7fb.wp.shawcable.net ([24.77.75.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Feb 2007 06:22:54 +0100 Original-Received: from spluque by s01060015e975d7fb.wp.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Feb 2007 06:22:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s01060015e975d7fb.wp.shawcable.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) Cancel-Lock: sha1:e6rBWBhORFCNwMNr59F2Hfirmfk= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64297 Archived-At: On Fri, 09 Feb 2007 11:00:27 +0900, Katsumi Yamaoka wrote: [...] > If you customize it while Gnus is running, you need to perform `C-u M-x > mailcap-parse-mimetypes RET' after saving the file. In addition, you > may possibly need to set the MIMETYPES environment variable to the file > name. To do it for only Emacs, add this line to the ~/.emacs file: > (setenv "MIMETYPES" "~/.mime.types") Thanks Katsumi, this was very instructive. I realize I do have both a /etc/mime.types _and_ ~/.mime.types (the first installed by Debian testing and the second by crossover¹). Your line for specifying the tar type was already in /etc/mime.types, so I just added: application/x-gzip gz to ~/.mime.types and reparsed as you suggested. It does what I was looking for. The reason I wanted to do this is that people I've sent *.tar.gz files with the default application/octet-stream complained that they couldn't "open them" well in their systems (I couldn't get more details than that). So I came across this: http://en.wikipedia.org/wiki/Gzip Is this incorrect? Thanks, +---- *Footnotes* ----+ ¹ The Windoze emulator -- Seb