From f7b7079918b0bbab2d233d9fa14b1882eca327ad Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Wed, 18 Dec 2013 11:17:57 +1900 Subject: [PATCH] Re: display text/html by default --- e4/a02b3dcd6f0967a405be3ad3e9ec7f79c9f58e | 105 ++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 e4/a02b3dcd6f0967a405be3ad3e9ec7f79c9f58e diff --git a/e4/a02b3dcd6f0967a405be3ad3e9ec7f79c9f58e b/e4/a02b3dcd6f0967a405be3ad3e9ec7f79c9f58e new file mode 100644 index 000000000..bdd72fb77 --- /dev/null +++ b/e4/a02b3dcd6f0967a405be3ad3e9ec7f79c9f58e @@ -0,0 +1,105 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 1A50B431FC3 + for ; Tue, 17 Dec 2013 08:18:12 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id gGtrRDAlZYBI for ; + Tue, 17 Dec 2013 08:18:04 -0800 (PST) +Received: from dmz-mailsec-scanner-5.mit.edu (dmz-mailsec-scanner-5.mit.edu + [18.7.68.34]) + by olra.theworths.org (Postfix) with ESMTP id 82873431FBF + for ; Tue, 17 Dec 2013 08:18:04 -0800 (PST) +X-AuditID: 12074422-b7f9d6d000000bc0-82-52b0793b5b2a +Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) + (using TLS with cipher AES256-SHA (256/256 bits)) + (Client did not present a certificate) + by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP + id 41.D6.03008.B3970B25; Tue, 17 Dec 2013 11:18:03 -0500 (EST) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id rBHGI1V8015498; + Tue, 17 Dec 2013 11:18:03 -0500 +Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) + (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id rBHGHw9N009278 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); + Tue, 17 Dec 2013 11:18:00 -0500 +Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80) + (envelope-from ) + id 1VsxLJ-0000T1-Oe; Tue, 17 Dec 2013 11:17:58 -0500 +Date: Tue, 17 Dec 2013 11:17:57 -0500 +From: Austin Clements +To: David Belohrad +Subject: Re: display text/html by default +Message-ID: <20131217161756.GA15179@mit.edu> +References: + <877gb3o4lk.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <877gb3o4lk.fsf@servo.finestructure.net> +User-Agent: Mutt/1.5.21 (2010-09-15) +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFupkleLIzCtJLcpLzFFi42IRYrdT17Wu3BBksOy8ucXK3hZ2iz37vCyu + 35zJ7MDs0dkR6nH3NJfHs1W3mAOYo7hsUlJzMstSi/TtErgyvm/xLLjPUTF5Zx9zA2Mbexcj + J4eEgIlEx4fdzBC2mMSFe+vZuhi5OIQEZjNJ7Py1hxnC2cgosfTcClaQKiGB00wSc24bQiSW + MEq8vriMESTBIqAq8bPnPNgoNgENiW37l4PFRQTUJCb0PmABsZkFIiSmzPjIBGILC2hKLOxZ + CDaUV0BHYseOR0wQC6Ik+j+8Z4eIC0qcnPkEqldL4sa/l0A1HEC2tMTyfxwgYU4BU4kD7zaA + rRUVUJGYcnIb2wRGoVlIumch6Z6F0L2AkXkVo2xKbpVubmJmTnFqsm5xcmJeXmqRrqlebmaJ + XmpK6SZGcIi7KO1g/HlQ6RCjAAejEg/vhhnrg4RYE8uKK3MPMUpyMCmJ8l4v3hAkxJeUn1KZ + kVicEV9UmpNafIhRgoNZSYT3QSBQjjclsbIqtSgfJiXNwaIkznuLwz5ISCA9sSQ1OzW1ILUI + JivDwaEkwTu1AqhRsCg1PbUiLTOnBCHNxMEJMpwHaHgTSA1vcUFibnFmOkT+FKOilDivCkhC + ACSRUZoH1wtLQa8YxYFeEeadAlLFA0xfcN2vgAYzAQ1+vmYdyOCSRISUVAOj09n3caueFU/9 + OVF998WVDmKt0/m+PIree2aTU13WsaP3nxhuy3QN3hSXabu1KzjUN9QhuCy4edn8otdOEXGb + yznP2GxM5Dz+a1rmNOuzRptrZmVffpETmxNk9Lt6rtGtdTnxWzUOvfn2cenOG4nN4sbu/hxB + kpULf3Xw/J+40ub6u+aNF7zqlViKMxINtZiLihMBEKyZvhwDAAA= +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 17 Dec 2013 16:18:12 -0000 + +Quoth Jameson Graef Rollins on Dec 17 at 7:54 am: +> On Mon, Dec 16 2013, David Belohrad wrote: +> > could someone help: +> > +> > when I open an email, it is automatically displayed as 'text/plain'. If +> > this mail has however CID attachments (pictures), they are not in this +> > view displayed by default. I have to manually switch to 'text/html' to +> > see those embedded pictures. +> > +> > I'd like to display mail by default as 'text/html'. How can I tell +> > emacs notmuch to do so? +> +> Hi, David. It's not exactly what you're looking for, but the +> notmuch-show-all-multipart/alternative-parts emacs configuration option +> can be used to always display both parts by default. + +Alternatively, you could experiment with +notmuch-multipart/alternative-discouraged. By default this contains +"text/html", which is why notmuch is hiding the HTML parts. This +isn't a customizable variable (I'm not sure why not), but you could +try adding + + (setq notmuch-multipart/alternative-discouraged '()) + +to your .emacs (or evaluate it using M-: within Emacs) and see if that +helps. -- 2.26.2