From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60314 Path: news.gmane.org!not-for-mail From: Yair Friedman Newsgroups: gmane.emacs.gnus.general,gmane.mail.mh-e.user Subject: Re: How can MH-E handle application/octet-stream ? Date: Mon, 16 May 2005 13:41:27 +0200 Message-ID: References: <200505131231.j4DCVCuf026769@bee.imit.kth.se> <87r7gbhwfl.fsf@olgas.newt.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116240317 15168 80.91.229.2 (16 May 2005 10:45:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 May 2005 10:45:17 +0000 (UTC) Cc: Ding List , Axel Jantsch Original-X-From: ding-owner+M8842@lists.math.uh.edu Mon May 16 12:45:12 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DXd5x-0003IV-JY for ding-account@gmane.org; Mon, 16 May 2005 12:45:09 +0200 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 1DXd2F-0003sv-00; Mon, 16 May 2005 05:41:19 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DXd27-0003sp-00 for ding@lists.math.uh.edu; Mon, 16 May 2005 05:41:11 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DXd26-0007z6-P4 for ding@lists.math.uh.edu; Mon, 16 May 2005 05:41:10 -0500 Original-Received: from mail.icts-tech.com ([62.0.48.50] helo=rndisrael.icts-tech.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DXd21-0002cW-00 for ; Mon, 16 May 2005 12:41:05 +0200 Original-Received: from PCYAIRXP ([192.168.0.41]) by rndisrael.icts-tech.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 16 May 2005 13:41:40 +0200 Original-To: mh-e-users@lists.sourceforge.net In-Reply-To: (Reiner Steib's message of "Sun, 15 May 2005 18:24:12 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) X-OriginalArrivalTime: 16 May 2005 11:41:40.0663 (UTC) FILETIME=[39DA1C70:01C55A0C] X-Spam-Score: -4.6 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60314 gmane.mail.mh-e.user:1098 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60314 On Sun, 15 May 2005 18:24:12 +0200, Reiner Steib writes: > [ From the MH-E list; Added Gnus list. ] > > On Fri, May 13 2005, Bill Wohler wrote: > >> Axel Jantsch writes: >>> I often get a pdf file (or other well known file types) with >>> application/octet-stream mime type. In MH-E such an attachment is >>> displayed as >>> >>> [2. Maj.pdf --- application/octet-stream; Maj.pdf] >>> >>> Although this is obviously a pdf file, MH-E does not know about it >>> and does not start a pdf reader. > [...] >> MH-E uses gnus to render its multimedia bits. I imagine that Gnus uses >> the Content-Type header field, not the Content-Disposition field >> (which contains the filename), for determining what viewer to use. > > Yes. > >> I've always just saved these files and launched gpdf separately, but I >> agree that's a pain. > > In Gnus, you can use `v gpdf %s RET' on the button to launch gpdf. > >> Perhaps a mechanism already exists, or perhaps they would be willing >> to put in a workaround. If so, please share it with us on mh-e-users >> mailing list. Usually in those cases I use gnus-mime-view-part-as-type which is bound to Key "t" on the attachment button. Most of the time Gnus guesses correctly the right type (based on extension?), if not auto-completion works well enough.