From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84877 Path: news.gmane.org!not-for-mail From: david.goldberg6@verizon.net (Dave Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: HTML-mail: extracted text appears twice Date: Sat, 06 Sep 2014 18:23:59 -0400 Message-ID: <84k35g5qww.fsf@davestoy.home> References: <87lhpzr251.fsf@mat.ucm.es> <84d2ban7ob.fsf@davestoy.home> <87d2baw9xe.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410042281 12142 80.91.229.3 (6 Sep 2014 22:24:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Sep 2014 22:24:41 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33121@lists.math.uh.edu Sun Sep 07 00:24:34 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XQOPI-0004vX-Sj for ding-account@gmane.org; Sun, 07 Sep 2014 00:24:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XQOPE-0008Le-EI; Sat, 06 Sep 2014 17:24:28 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XQOPD-0008LQ-8E for ding@lists.math.uh.edu; Sat, 06 Sep 2014 17:24:27 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XQOPC-0004B8-8k for ding@lists.math.uh.edu; Sat, 06 Sep 2014 17:24:27 -0500 Original-Received: from vms173019pub.verizon.net ([206.46.173.19]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XQOPA-0004Mc-JA for ding@gnus.org; Sun, 07 Sep 2014 00:24:24 +0200 Original-Received: from davestoy.home.verizon.net ([unknown] [71.184.207.237]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0NBI002IK3JZM240@vms173019.mailsrvcs.net> for ding@gnus.org; Sat, 06 Sep 2014 17:24:00 -0500 (CDT) X-Face: W!bie|rYVd43O:2CkHTb*~s5}Yzx30X<@6Tq_bnP56Hp!xX4sVl4tgYRirjRcke\wfY!JJ9 i?]VIUJicJzq2\!3%7$5R%wi!R[.]Va97q In-reply-to: <87d2baw9xe.fsf@mat.ucm.es> (Uwe Brauer's message of "Fri, 05 Sep 2014 14:04:13 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux) X-Spam-Score: -3.5 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84877 Archived-At: >> I've never seen this and since the primary email client at work is >> outlook just about all my email comes in as html, typically in the >> form of multipart/alternative with a plain text option as well. >> Perhaps you've customized one of the variables dealing with multipart >> display with this bad side effect? > Hm yes this could be the reason: > My setting is: > (setq gnus-mime-display-multipart-related-as-mixed t) > (setq gnus-mime-display-multipart-as-mixed t) > (setq gnus-buttonized-mime-types nil) > (setq > mm-discouraged-alternatives nil > gnus-buttonized-mime-types '("multipart/signed" "multipart/encrypted") > mm-text-html-renderer 'w3m > mm-url-use-external t) > I added > (setq > mm-automatic-display (remove "text/html" mm-automatic-display)) > And now I see things like > [...] I have this in my .emacs, which basically adds buttons if there's anything besides a pure text/plain message. My view of the typical multipart/alternative (text/plain and text/html) messages I get from outlook is something like this: (*) text/plain ( ) text/html Message text here ... If I want the html to be rendered (I use shr) which I occasionally do for dealing with forms, I middle click on the text/html button and that causes it to render in the article buffer. When I reply with original, I get a version of whichever is being displayed in the article buffer at the time. ;;;; show the text/plain part before the text/html part in multpart/alternative (require 'mm-decode) (setq gnus-inhibit-mime-unbuttonizing t mm-discouraged-alternatives '("text/html")) -- Dave Goldberg david.goldberg6@verizon.net