Gnus development mailing list
 help / color / mirror / Atom feed
From: Toby Speight <streapadair@gmx.net>
Subject: Re: mailcap-mime-types
Date: 16 Aug 2000 14:58:40 +0100	[thread overview]
Message-ID: <87ya1xgve7.fsf@delivery.cam.eu.citrix.com> (raw)
In-Reply-To: Toby Speight's message of "16 Aug 2000 14:45:47 +0100"

0> In article <873dk5iak4.fsf@delivery.cam.eu.citrix.com>,
0> Toby Speight <URL:mailto:streapadair@gmx.net> ("Toby") wrote:

Toby> I notice that the mml-attach-* functions use
Toby> `mml-minibuffer-read-type' - perhaps that could be shared
Toby> instead of applying my change?

Like this, I mean:

(defun gnus-mime-view-part-as-type (type)
  "Choose a MIME media type, and view the part as such."
  (interactive
   (list
    (let* ((mime-data (cdr (get-text-property (point) 'gnus-data)))
           (name (cdr (or (assoc 'filename (nth 3 mime-data)) (assoc 'name (car mime-data))))))
      (require 'mml)
      (mml-minibuffer-read-type name (car (car mime-data))))))
  (gnus-article-check-buffer)
  (let ((handle (get-text-property (point) 'gnus-data)))
    (setq handle (copy-sequence handle))
    (setcar (cdr handle) (list type))
    (gnus-mm-display-part handle)))



      reply	other threads:[~2000-08-16 13:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-16 13:45 mailcap-mime-types Toby Speight
2000-08-16 13:58 ` Toby Speight [this message]

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=87ya1xgve7.fsf@delivery.cam.eu.citrix.com \
    --to=streapadair@gmx.net \
    /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).