Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Bug in "View as type"?
Date: Wed, 12 Oct 2005 14:31:04 +0200	[thread overview]
Message-ID: <v9ll0y533r.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87ek6r4pwe.fsf@koldfront.dk>

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/




  reply	other threads:[~2005-10-12 12:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-11 21:04 Reiner Steib
2005-10-11 23:04 ` Adam Sjøgren
2005-10-12 12:31   ` Reiner Steib [this message]
2005-10-12 13:22     ` Adam Sjøgren
2005-10-12 15:43       ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9ll0y533r.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).