From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86569 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: How to get multipart/alternative button to show plain text by default? Date: Thu, 07 Jan 2016 23:18:32 -0800 Message-ID: References: <87ziwib97v.fsf@nemi.mork.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1452238685 956 80.91.229.3 (8 Jan 2016 07:38:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2016 07:38:05 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34796@lists.math.uh.edu Fri Jan 08 08:37:49 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 1aHRcF-0000EF-QW for ding-account@gmane.org; Fri, 08 Jan 2016 08:37:43 +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 1aHRau-0004JX-Bw; Fri, 08 Jan 2016 01:36:20 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aHRap-0004J1-Az for ding@lists.math.uh.edu; Fri, 08 Jan 2016 01:36:15 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aHRan-0007vO-OX for ding@lists.math.uh.edu; Fri, 08 Jan 2016 01:36:15 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1aHRak-0002dV-Lt for ding@gnus.org; Fri, 08 Jan 2016 08:36:10 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aHRai-0007AJ-7e for ding@gnus.org; Fri, 08 Jan 2016 08:36:08 +0100 Original-Received: from 17.212.145.127 ([17.212.145.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jan 2016 08:36:08 +0100 Original-Received: from dave by 17.212.145.127 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jan 2016 08:36:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 17.212.145.127 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:UEP4FMaRRuJ4tJqqMH0vi919Lr4= X-Spam-Score: -0.1 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86569 Archived-At: on Wed Jan 06 2016, Bjørn Mork wrote: > Dave Abrahams writes: > >> When viewing an article such as this one in Gnus >> , >> I really want to see the plain text version of the article by default, >> but it very consistently comes through looking like this: >> >> 1. ( ) text/plain (*) text/html >> >> >> >> I have all the following customizations: >> >> '(gnus-buttonized-mime-types >> (quote >> ("multipart/alternative"))) >> '(mm-discouraged-alternatives >> (quote >> ("text/html" "text/richtext" "image/.*"))) >> '(mm-inline-large-images >> (quote resize)) >> '(mm-inline-text-html-with-images t) >> >> What am I missing? > > I believe mm-discouraged-alternatives only affects the selection of > which part to render when *not* buttonizing. So you should drop the > gnus-buttonized-mime-types customization. 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? -Dave