From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88070 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Never automatically display HTML in an email Date: Wed, 06 Jun 2018 11:06:06 -0700 Message-ID: <8736xzvlgx.fsf@ericabrahamsen.net> References: <87lgbzb1dt.fsf@gmail.com> <87y3ftofpy.fsf@gmail.com> <87lgbzb1dt.fsf@gmail.com> <87lgbzb1dt.fsf@gmail.com> <87lgbzb1dt.fsf@gmail.com> <87lgbzb1dt.fsf@gmail.com> <8760337wz6.fsf@igel.home> <87y3ftofpy.fsf@gmail.com> <87bmcpfe7x.fsf@yale.edu> <87lgbzb1dt.fsf@gmail.com> <87lgbzb1dt.fsf@gmail.com> <87lgbzb1dt.fsf@gmail.com> <87lgbzb1dt.fsf@gmail.com> <8760337wz6.fsf@igel.home> <87y3ftofpy.fsf@gmail.com> <87bmcpfe7x.fsf@yale.edu> <87po14o79o.fsf_-_@gmail.com> <87po13volt.fsf@ericabrahamsen.net> <868t7r3jfg.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1528308488 25550 195.159.176.226 (6 Jun 2018 18:08:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2018 18:08:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+m36284@lists.math.uh.edu Wed Jun 06 20:08:04 2018 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048035.atla03.us.yomura.com ([107.189.48.35]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQcqq-0006X4-82 for ding-account@gmane.org; Wed, 06 Jun 2018 20:08:04 +0200 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048035.atla03.us.yomura.com (Halon) with ESMTPS id cf16d195-69b4-11e8-afe0-b499baabecb2; Wed, 06 Jun 2018 18:09:52 +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 1fQcs0-0001XV-7Q; Wed, 06 Jun 2018 13:09:16 -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 1fQcrw-0001Wo-Af for ding@lists.math.uh.edu; Wed, 06 Jun 2018 13:09:12 -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 1fQcrv-0000NG-C2 for ding@lists.math.uh.edu; Wed, 06 Jun 2018 13:09:12 -0500 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQcru-0008WI-59 for ding@gnus.org; Wed, 06 Jun 2018 20:09:10 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fQcpl-0005Nb-Lq for ding@gnus.org; Wed, 06 Jun 2018 20:06:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:3dcdwz9Uydx34xaHl9rJtYQiFPY= X-Spam-Score: -0.9 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88070 Archived-At: Emanuel Berg writes: > Eric Abrahamsen wrote: > >> And thanks for the summary! I stole some >> config from that (Gnus mime has always been >> a black box as far as I'm concerned). > > Question remains why this should be so > complicated, especially since a lot of people > seem to want it. Or is it just the "true > hacker" audience of this newsgroup? > > Anyway, perhaps synthetise into a > > (setq gnus-article-down-with-html t) > > ? Beats me, really. Personally, part of it is that I don't work with mime-types all that often, and keep forgetting the terminology. The "Using MIME" and "MIME Commands" sections of the Gnus manual get you part-way there, but then you fall down the rabbit-hole of the separate "Emacs MIME" manual, and there goes your Thursday night. I eventually got mad and hit it with a hammer: (setq mailcap-mime-data '(("application" (".*" (viewer . "xdg-open %s"))))) But occasionally that still causes errors and complaints about a lack of a "text/plain" part or something like that, I'm still too annoyed to go and figure out what's going on. Attempts to "follow the code" result in near-instant headaches. Eric