Gnus development mailing list
 help / color / mirror / Atom feed
From: Felix Natter <fnatter@gmx.net>
To: ding@lists.math.uh.edu
Subject: Current version, Opening HTML mails in browser
Date: Thu, 17 Aug 2017 21:36:44 +0200	[thread overview]
Message-ID: <877ey29eb7.fsf@bitburger.home.felix> (raw)

hello Gnus experts,

is there a list of the stable releases (gnus.org is a bit silent about
that)?
I am currently using mgnus-0.6-201304121517.

Secondly, I'd like to revive the function for opening an HTML mail in
Firefox. I have used this:

(defun my-gnus-summary-view-html-alternative-in-firefox ()
  "Display the HTML part of the current multipart/alternative MIME message
    in mozilla."
  (interactive)
  (save-current-buffer
    (gnus-summary-show-article)
    (set-buffer gnus-article-buffer)
    (let ((file (make-temp-file "html-message-" nil ".html"))
          (handle (nth 3 (assq 1 gnus-article-mime-handle-alist))))
      (mm-save-part-to-file handle file)
      (browse-url-firefox (concat "file://" file)))))

(define-key gnus-summary-mode-map [?K ?M]
  'my-gnus-summary-view-html-alternative-in-firefox)

But with many mails I get:
mm-save-part-to-file: Wrong type argument: listp, quoted-printable

Does somebody have a more robust solution, maybe in a newer stable
release?

Many Thanks and Best Regards,
-- 
Felix Natter



             reply	other threads:[~2017-08-17 19:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17 19:36 Felix Natter [this message]
2017-09-17 19:10 ` Adam Sjøgren
2017-09-24  7:17   ` Felix Natter
2017-09-24 10:01     ` Adam Sjøgren
2017-09-24 15:21       ` Eric Abrahamsen

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=877ey29eb7.fsf@bitburger.home.felix \
    --to=fnatter@gmx.net \
    --cc=ding@lists.math.uh.edu \
    /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).