From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86574 Path: news.gmane.org!not-for-mail From: Bjorn Solberg Newsgroups: gmane.emacs.gnus.general Subject: Re: How to get multipart/alternative button to show plain text by default? Date: Fri, 08 Jan 2016 04:19:08 -0800 Message-ID: References: <87ziwib97v.fsf@nemi.mork.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1452255589 14101 80.91.229.3 (8 Jan 2016 12:19:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2016 12:19:49 +0000 (UTC) Cc: ding@gnus.org To: Dave Abrahams Original-X-From: ding-owner+M34801@lists.math.uh.edu Fri Jan 08 13:19:38 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aHW12-0002Mf-LW for ding-account@gmane.org; Fri, 08 Jan 2016 13:19:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aHW0o-0006Ki-Rr; Fri, 08 Jan 2016 06:19:22 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aHW0m-0006KB-Cq for ding@lists.math.uh.edu; Fri, 08 Jan 2016 06:19:20 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aHW0l-00052v-LF for ding@lists.math.uh.edu; Fri, 08 Jan 2016 06:19:20 -0600 Original-Received: from 197.141-0-71.customer.lyse.net ([141.0.71.197] helo=home.famsolberg.com) by quimby.gnus.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1aHW0j-0001ZA-Dq for ding@gnus.org; Fri, 08 Jan 2016 13:19:17 +0100 Original-Received: from home.famsolberg.com (maui53 [127.0.0.1]) by home.famsolberg.com (8.13.8/8.13.8) with ESMTP id u08CJ8Av010734; Fri, 8 Jan 2016 04:19:08 -0800 Original-Received: (from bhso@localhost) by home.famsolberg.com (8.13.8/8.13.8/Submit) id u08CJ8Jr010732; Fri, 8 Jan 2016 04:19:08 -0800 In-Reply-To: (Dave Abrahams's message of "Thu, 07 Jan 2016 23:18:32 -0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) X-Spam-Score: 0.5 (/) X-Spam-Report: SpamAssassin (3.4.1 2015-04-28) analysis follows Bayesian score: 0.0294 Ham tokens: 0.000-32--1305h-0s--0d--H*M:fsf, 0.000-32--1289h-0s--0d--H*UA:Emacs, 0.000-32--1279h-0s--0d--H*u:Emacs, 0.000-31--1246h-0s--0d--H*MI:fsf, 0.000-21--838h-0s--0d--H*UA:Gnus Spam tokens: 0.994-12216--455h-9326s--0d--H*Ad:D*gnus.org, 0.993-14301--593h-10962s--0d--H*RU:quimby.gnus.org, 0.993-14301--593h-10962s--0d--Hx-spam-relays-external:quimby.gnus.org, 0.991-14203--706h-10973s--0d--H*RT:80.91.231.51, 0.991-14203--706h-10973s--0d--H*RT:quimby.gnus.org Autolearn status: no autolearn_force=no 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.5 BAYES_05 BODY: Bayes spam probability is 1 to 5% [score: 0.0294] 0.0 KHOP_DYNAMIC Relay looks like a dynamic address 1.0 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86574 Archived-At: Dave Abrahams writes: [...] > But sometimes I want to look at the HTML version, and the buttons are a > convenient way to switch back and forth that doesn't require remembering > an obscure key combination or rarely-used command. Can't I have it all? I have this at the end of my .gnus: ;; Display the text part, not the HTML part, by default: (eval-after-load "mm-decode" '(progn (add-to-list 'mm-discouraged-alternatives "text/html") (add-to-list 'mm-discouraged-alternatives "text/richtext"))) ... which makes the text/plain version be displayed by default, as this: 1. (*) text/plain ( ) text/html Can't recall where I picked this up from, though. Bjorn