From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61146 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug in "View as type"? Date: Wed, 12 Oct 2005 14:31:04 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <87ek6r4pwe.fsf@koldfront.dk> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1129121787 8517 80.91.229.2 (12 Oct 2005 12:56:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2005 12:56:27 +0000 (UTC) Original-X-From: ding-owner+m9679@lists.math.uh.edu Wed Oct 12 14:56:25 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EPg7q-0006os-CT for ding-account@gmane.org; Wed, 12 Oct 2005 14:54:30 +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 1EPg7h-0005VM-00; Wed, 12 Oct 2005 07:54:21 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EPg3c-0005V7-00 for ding@lists.math.uh.edu; Wed, 12 Oct 2005 07:50:08 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EPg3X-0007JI-KK for ding@lists.math.uh.edu; Wed, 12 Oct 2005 07:50:08 -0500 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 1EPg3V-0003pX-00 for ; Wed, 12 Oct 2005 14:50:01 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EPg1P-0004o1-Qm for ding@gnus.org; Wed, 12 Oct 2005 14:47:51 +0200 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 ; Wed, 12 Oct 2005 14:47:51 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Oct 2005 14:47:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 56 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s On Wed, Oct 12 2005, Adam Sjøgren wrote: > On Tue, 11 Oct 2005 23:04:41 +0200, Reiner wrote: > > [...] >> when the content type is application/octet-stream and the file is in >> fact image/whatever or application/pdf (some broken mailers do), the >> user should be offered as more reasonable default. > >> But in fact this doesn't work (at least for me): > > For what it is worth: This works for me. I just chose 'View as type' > on: > > [2. application/octet-stream; message.wav]... > > And was prompted like this: > > View as MIME type: audio/x-wav I get no default (initial input) when using `t' in with v5-10 or No Gnus without my patch (tested with a minimal ~/.gnus.el) in the MIME preview (`mml-preview'): < #part type="application/octet-stream" filename="/etc/htdig/cookies.txt" disposition=attachment description=foo> < #/part> < #part type="application/octet-stream" filename="~/bar.wav" disposition=attachment> < #/part> (you need to remove the space before `#'.) With these MIME part headers (`C-u M-x mml-preview RET'): ,---- | Content-Type: application/octet-stream | Content-Disposition: attachment; filename=cookies.txt | Content-Transfer-Encoding: base64 | Content-Description: foo `---- ,---- | Content-Type: application/octet-stream | Content-Disposition: attachment; filename=bar.wav `---- Can you show me the MIME part headers or MML part you used? > (Just a datapoint). ? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/