From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26115 invoked from network); 6 Feb 2021 13:39:53 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 6 Feb 2021 13:39:53 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1l8NoN-00BYaq-TZ for ml@inbox.vuxu.org; Sat, 06 Feb 2021 07:39:43 -0600 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1l8NoN-00Ax4M-9z for ml@inbox.vuxu.org; Sat, 06 Feb 2021 07:39:43 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1l8NoL-00Ax4E-5d for ding@lists.math.uh.edu; Sat, 06 Feb 2021 07:39:41 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1l8NoG-00BYaV-Dd for ding@lists.math.uh.edu; Sat, 06 Feb 2021 07:39:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=yI8WSDNK9MvTka18Yy7GulqUo8FNuiQGTzRx9vWU2/E=; b=c4W4xqTJ7Cd5D0AKXRIzKJhj1P sPLTcgJkoB1NhzbUl1DUqq9DV4iSApb46urWiGhBG8yfTjMwbm5O3hQoJAcaFu+JVSafFyK+tDZhd k9NChE9vZVKQV6WxDCZvEyR4qok2ZPD/7d2ZU609BN3pXfF69LLbYpAgsRC5ueFS2Anw=; Received: from mout.gmx.net ([212.227.17.20]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l8No2-00064M-5T for ding@gnus.org; Sat, 06 Feb 2021 14:39:31 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612618761; bh=45Mun29/PrInQoYF53pUyWDwVdSTXu/KD1vkdHusCTQ=; h=X-UI-Sender-Class:From:To:Subject:Date; b=V4cDD7IOLHbgnlBZzb+ykrUIOszb0JaWciz5T3aJuXIv00QYA3mG7TwTTiVwsVYvA rsLIWq/uocu8j3tcPaSVB4U8eyI9sNzapvJZkHQ+EuZ0rh4c82RNfDrPi1EAAdIWFI K6LMox/t+8CaYiCsXdbfK8Yqfc7wIRWz2qUFqKKg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from bitburger ([93.230.138.11]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MJE27-1lNZRL3Nnf-00Kkrp for ; Sat, 06 Feb 2021 14:39:20 +0100 From: Felix Natter To: ding@gnus.org Subject: View HTML Mail in Browser Date: Sat, 06 Feb 2021 14:39:20 +0100 Message-ID: <87wnvlz56f.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:axKeFTWH83GUymR9J94/nY4ICIvhZeukagcc/rp8TSdyMBttTBq a12igXGU4WmQUs+JvNjdChAkHb4kmiEyK5928/QCH/NwLUXS8mvoQTzg4OyXe0/TDO7Wmy1 +/y9fjiN++nXiEJtUPYrQyBQS+u7cjLQWe8uN7cmlKrcdtLBnSLBJkXBK6cwyfu9Vz3CwUv n4VeEPd/xDJ38FtuI1SVg== X-UI-Out-Filterresults: notjunk:1;V03:K0:dTsXNbDFwJs=:bDuUD4EsXvR9g49DXWyM3k FeiUODlhXFzjdLM0t4OERFd2FBn6Am3PpQe+cjPXBRiLWl8EHuEdwaRD00RiKCf1+OyKiac64 vJFFV53nRoiCK9oha9zxZLPNtPYsNGWpaCoGGRXmsVGpwGzCU8XhjU9kfUEg+Fi78DDYOjf1X sCPJIkFuxjTh1LEYGSedvNzU2+ydlPfD8JckhN2CpJN9l53jV2k44kIVXGFzyTCOa6K4v82H3 D5HKwCIZLklLS8hdGw+zUJRyHv2nWeI3V4xoTH1fF/ipu286C9ngqdt4Ry1aYQaU601lJsIB+ 80N+pa7/dL73ewfA6pWr0JK3O+8ur2wuznLiZSq3EWSGFv3YZrAZTkZ0DFg72VrZp4AkLOfck omhLfUST12ZjlLTzg2SwSb/0hz7ppsgzbDghwBr1gKInXoenmwkr3IEMSolpDF/tg4unCkcF4 sg/X057+RuWy2BH796FCHnFz9kGMUqmIlyX0KHDorCJ1LBLn4XbsMnqPiKskuKRznoJRSztzB Jm+tVrhjtD0JxhvxGiiYXBYKw6m23KRP2l/U6iFcmNFlho9X2HRQp8YvhUqKyH3gp40NCwrLW lCoWs5/smPnUmipZpZ0bSnG6oYlCPE39lv/S4WTPIjVR86lAcNH9nxt6Zb26DSlvQYXmgeP0v 5mbGLmPFtUpp/Wwu2jV08f0gB6Gizy6Iggs5goDWuzXBxYGkK78ttODDLyrBmFd73CjT0X05g w6Z7Wttli3ThHiB98PC/zhMqFy7o/oayN4fviOKMif1T21K03tv2YxQTkBizY2tzHp4ihNM/1 2sAg4dMY1K7NgfkefCcAJNrQlKJtuWGzfOm9cqRX1fJJ2C/NAlCvetqJXmXGBkCDo4MGER3zb 0JwXefnH9QmsYPq3cf5A== Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk hello Gnus users, I would like to view complex HTML mails in Firefox. I found this (https://www.emacswiki.org/emacs/MimeTypesWithGnus): (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)))) (handle (caddr (assq 1 gnus-article-mime-handle-alist)))) (mm-save-part-to-file handle file) (browse-url-firefox-new-tab (concat "file://" file))))) Note that I changed the (nth 3 to (caddr as mentioned on that wiki page. Sometimes it generates the .html but does not open the browser, but often it just shows the headers of the selected article, and does nothing (at least in *Messages*). I am using Gnus v5.13 with Emacs 26.3. Is there a modern best practice for reading non-trivial HTML mails? I know about shr, but it often fails. Thanks and Best Regards, Felix =2D- Felix Natter