From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61717 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: [Patch] Improved mm-display-part for application/octet-stream Date: Thu, 19 Jan 2006 20:54:06 +0100 Organization: Dept. of Theoretical Physics, University of Ulm 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 1137701091 29892 80.91.229.2 (19 Jan 2006 20:04:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Jan 2006 20:04:51 +0000 (UTC) Original-X-From: ding-owner+m10247@lists.math.uh.edu Thu Jan 19 21:04:48 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ezg13-0004Gi-LY for ding-account@gmane.org; Thu, 19 Jan 2006 21:04:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Ezg0z-0002mt-00; Thu, 19 Jan 2006 14:04:13 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Ezfzq-0002mo-00 for ding@lists.math.uh.edu; Thu, 19 Jan 2006 14:03:02 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1Ezfzn-0001K5-Cr for ding@lists.math.uh.edu; Thu, 19 Jan 2006 14:03:02 -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 1Ezfzm-0003H8-00 for ; Thu, 19 Jan 2006 21:02:58 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EzfzW-0003sp-Sf for ding@gnus.org; Thu, 19 Jan 2006 21:02:42 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Jan 2006 21:02:42 +0100 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Jan 2006 21:02:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s On Thu, Jan 19 2006, Geoff Kuenning wrote: > I am constantly frustrated by correspondents with broken mailers who > send me attachments that are identified as application/octet-stream, > even though they have a specific type (90% of the time it's .doc; > another 9% is .pdf) that should be identified as such. In , Stefan Monnier addressed the same or similar problems. But his patch (against the stable branch = Gnus 5.11 in Emacs CVS) doesn't apply in the current development sources and I didn't have time to resolve it manually yet. > Since I can't do the right thing and fix the broken mailers, I did the > next best thing: I revised mm-display-part to pick out the proper type > based on the file extension. The revised version is below. The first > "when" clause is new; everthing else is the same. A unified (or context) diff would be nicer. > If people like the idea, I'd like to see it get into the main tree > (how do I make that happen?). Maybe you could investigate if Stefan's patch fits your needs? I don't know if it works for your Gnus version (5.9), though. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/