From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67765 Path: news.gmane.org!not-for-mail From: Russ Allbery Newsgroups: gmane.emacs.gnus.general Subject: Re: Auto-overriding *.pdf application/octet-stream MIME type? Date: Wed, 05 Nov 2008 16:41:31 -0800 Organization: The Eyrie Message-ID: <877i7hwuro.fsf@windlord.stanford.edu> References: <873ai9dp1a.fsf@mocca.josefsson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225932205 30541 80.91.229.12 (6 Nov 2008 00:43:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2008 00:43:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16216@lists.math.uh.edu Thu Nov 06 01:44:28 2008 connect(): Connection refused 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 1Kxsz0-0005xm-KU for ding-account@gmane.org; Thu, 06 Nov 2008 01:44:22 +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 1Kxswq-0008Sm-87; Wed, 05 Nov 2008 18:42: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 1Kxswp-0008Sb-6s for ding@lists.math.uh.edu; Wed, 05 Nov 2008 18:42:07 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1Kxswm-0003nh-HQ for ding@lists.math.uh.edu; Wed, 05 Nov 2008 18:42:07 -0600 Original-Received: from smtp4.stanford.edu ([171.67.219.84]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Kxswv-0006o5-00 for ; Thu, 06 Nov 2008 01:42:13 +0100 Original-Received: from smtp4.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 4B0F8487716 for ; Wed, 5 Nov 2008 16:41:32 -0800 (PST) Original-Received: from windlord.stanford.edu (windlord.Stanford.EDU [171.67.225.134]) by smtp4.stanford.edu (Postfix) with ESMTP id 32374487730 for ; Wed, 5 Nov 2008 16:41:31 -0800 (PST) Original-Received: by windlord.stanford.edu (Postfix, from userid 1000) id AC3E4E7EB7; Wed, 5 Nov 2008 16:41:31 -0800 (PST) In-Reply-To: <873ai9dp1a.fsf@mocca.josefsson.org> (Simon Josefsson's message of "Mon\, 03 Nov 2008 12\:31\:13 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67765 Archived-At: Simon Josefsson writes: > What do people think about a variable that can be used to auto-override > MIME types based on filename extensions? I get a lot of *.pdf marked as > application/octet-stream and selecting 'View as Type' feels dull. This might not be a great idea, but this feels like it might be something that could be done with a wash. That introduces all the existing infrastructure for picking which washes you want to apply. The wash could fix the MIME types of all attachments with application/octet-stream MIME types based on the extensions. -- Russ Allbery (rra@stanford.edu)