From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88037 Path: news.gmane.org!.POSTED!not-for-mail From: Chris Marusich Newsgroups: gmane.emacs.gnus.general Subject: Never automatically display HTML in an email Date: Thu, 31 May 2018 21:02:06 -0700 Message-ID: <87lgbzb1dt.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1527825688 8997 195.159.176.226 (1 Jun 2018 04:01:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 1 Jun 2018 04:01:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+m36251@lists.math.uh.edu Fri Jun 01 06:01:24 2018 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048034.atla03.us.yomura.com ([107.189.48.34]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fObFh-0002AF-NK for ding-account@gmane.org; Fri, 01 Jun 2018 06:01:21 +0200 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048034.atla03.us.yomura.com (Halon) with ESMTPS id be35b7f9-6550-11e8-b9c7-b499baa2b07a; Fri, 01 Jun 2018 04:03:30 +0000 (UTC) Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.90_1) (envelope-from ) id 1fObGj-0004Tj-8C; Thu, 31 May 2018 23:02:25 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fObGg-0004TG-Tk for ding@lists.math.uh.edu; Thu, 31 May 2018 23:02:22 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1fObGf-0005vE-FQ for ding@lists.math.uh.edu; Thu, 31 May 2018 23:02:22 -0500 Original-Received: from mail-pf0-f180.google.com ([209.85.192.180]) by new-quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1fObGe-00051C-2o for ding@gnus.org; Fri, 01 Jun 2018 06:02:20 +0200 Original-Received: by mail-pf0-f180.google.com with SMTP id b17-v6so294632pfi.0 for ; Thu, 31 May 2018 21:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=FemvSkRBaRiVy4fBquCo/ezPyFbR5ev8PHcUV3X9dV8=; b=UfzpKlXooNpmgQvEqGzZjYGM7p1uKQHGDQPbjFnx+ihW4/cH7xUxVV0bnS29fwYH05 mrYa1y0i8msWiwIkiAw7GLCu7JXrXheuC/3JGLmlizOulDBLRu9oqjlALywMigMHn9Cp PavOdemuAD9dwWZ3YgEyqlJnnDGWfAgc3wACyO1Oh0E4S6FiSSJiSLH/mJQ9buu+uVFe s+S6NEYe2fq9j/YH3d4RtkRfy2dbJor51Ld5PalGBkKzBmTDquA1kspb+wbM16b5T7ZB LjNVCfRDb6aICRXVP0P+kAMtO3qzdR5HwjZtOQjd9/gtwjxTvTgxLr1TysqakmTUfhy0 /98g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=FemvSkRBaRiVy4fBquCo/ezPyFbR5ev8PHcUV3X9dV8=; b=eIjHkoT6+y2FG1Tofb5EKevcykvnDzERQvD+WL5HdDdMY0AjKv+mxr8cupieUner1w iHPCUX8MVXXYIf3tBZOLgzuC4k5zvd28+ytkW2S6IkzBr3GFjgb+dcLfmElQ4eDLSHpx XiyRpVkPun+Yp+noaUqE8OS+5czUv5z7l0o55m9DtSRO7tghZ4NTtT/6gfYAiMK1TF3I OI/na0kwFkKCA5xYIBWc7yN42QocLO7aii5Tog52tj+LftT+71ShHVFZSjeDqwbTQIjo E7YIaRyIrdFffV2uu2OCblMSbAL86tS/Hv3cWfUEG21v8X7UYFxVR1L6ymRCJbBda1zH 7ROQ== X-Gm-Message-State: ALKqPwceG/3OOW0CZkFHdez+jwRP9+xNm3apfNMq7fN/FZ+YxXb9Ry/9 i4sBC83J9o/7Qb39La7KdJqNAw== X-Google-Smtp-Source: ADUXVKLJPOs2jaJo1DR5mSRT/Ff4nup+x6dCbPRkvNYyzDYH4vOGUTfSTTPe1U4Deo3R8WLTAdfYsg== X-Received: by 2002:a62:404f:: with SMTP id n76-v6mr9365438pfa.185.1527825732668; Thu, 31 May 2018 21:02:12 -0700 (PDT) Original-Received: from garuda.local (c-24-18-253-84.hsd1.wa.comcast.net. [24.18.253.84]) by smtp.gmail.com with ESMTPSA id n73-v6sm76156525pfb.167.2018.05.31.21.02.10 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 May 2018 21:02:11 -0700 (PDT) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88037 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I use Gnus for email. How can I make Gnus never automatically display HTML in an email? I'd also like the option to view the HTML in Gnus if I want to, but that isn't a hard requirement. Here's what I've tried so far, with limited success: * Disable automatic display of HTML (as suggested in (gnus) FAQ 4-6): (setq mm-automatic-display '("text/plain")) This did not work; sometimes Gnus would still automatically show me HTML in email when it appeared in a multipart message. * Ensure that Gnus does not accidentally render HTML in-line when it appears in a multipart/related email (as suggested in (gnus) MIME Commands): (setq gnus-mime-display-multipart-related-as-mixed t) This did not work (even after adding "text/html" to mm-discouraged-alternatives); Gnus would still automatically show me HTML in email when it appeared in a multipart message. I also tried the variations of this variable (gnus-mime-display-multipart-alternative-as-mixed, gnus-mime-display-multipart-as-mixed), but the results were the same. * Ignore HTML entirely: (setq gnus-ignored-mime-types '("text/html")) This DID work, actually. However, it's overkill for me, since it makes it a little difficult to view the HTML in Gnus or save it for viewing in another program. In addition, even though this effectively removed HTML parts from some emails, I was surprised to discover that for multipart emails, I was still able to press the button for the HTML part and view it in Gnus. I'm fine with that, since it still meets my requirements, but I'm surprised because I expected that Gnus would not even let me view the HTML part in this way. After all, I thought I had told Gnus to totally ignore HTML. Is this the intended behavior? If anyone has any tips on how to make Gnus never automatically display HTML in emails, while at the same time giving me the option of displaying the HTML in Gnus if I want to, that would be really nice! Thank you, =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlsQxT4ACgkQ3UCaFdgi Rp0oxhAA0xzBQCCN/A7fW12MxWe1rK2Ya4/4n0i+e+SWLDIjgsQ8ZKAAjZyjU313 65IAy5av147lxaHDv/JAl24GATdovjMwEGngZ6K+WD0+EeLF78HrWKV+TMqF2UFi uc6tcUvvA5k8guI59Lk3evtqrNitFhFJiux2ICwL318EQecEhls2INsh9JbFGQQW gBOMInYlDsJqrT+V9zOFRsZ4RQAlGMfZNz3qj+hBxXz41hHYaIvOo4sDXVPpp4X6 Fc8lNG5MKlErF5N+g7DneiuoRaQcj0ZBENqKKmOlzxw48JTpCxmtyxTFyvM53keI l2Xx6e22D9YtEjJY6S+tcZF50o6oXqJ5GlcfXs2DeWVc3YCGHbQSHfpS0N2OAV49 DcP+X6OdzrN1a/GC9q6DzTzraywzPOxGRP5WHyWbk6tAOYH8n0xEOSGijj9Xi+7+ 2VVImU0qD9rrHNxGoOVxcCO/1ehITy/cvvnVbzFKzUR0eR8gKLxbNjqer5Mr4P+o lwE9B4emeQPnvivEa9vMeVvu6b8Hn/oth33Motyrh9ROv1iSk8480PDJdk7jiiyt rALljtyxWtBJWR2512LzILKOnXOLRJUAg+KAboJwwFOKp3iTNADSU5wvnHXQWV7Y HNOot2zyKRi3kPzPpKKPtmiwQ6S2nGPvMf0meq56CPEjWBvUhnc= =fU7R -----END PGP SIGNATURE----- --=-=-=--