From: Austin Clements <amdragon@MIT.EDU>
To: David Belohrad <david@belohrad.ch>
Cc: notmuch@notmuchmail.org
Subject: Re: display text/html by default
Date: Tue, 17 Dec 2013 11:17:57 -0500 [thread overview]
Message-ID: <20131217161756.GA15179@mit.edu> (raw)
In-Reply-To: <877gb3o4lk.fsf@servo.finestructure.net>
Quoth Jameson Graef Rollins on Dec 17 at 7:54 am:
> On Mon, Dec 16 2013, David Belohrad <david@belohrad.ch> 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.
prev parent reply other threads:[~2013-12-17 16:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-16 9:49 display text/html by default David Belohrad
2013-12-17 15:54 ` Jameson Graef Rollins
2013-12-17 16:08 ` David Belohrad
2013-12-17 16:17 ` Austin Clements [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131217161756.GA15179@mit.edu \
--to=amdragon@mit.edu \
--cc=david@belohrad.ch \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).