unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* display text/html by default
@ 2013-12-16  9:49 David Belohrad
  2013-12-17 15:54 ` Jameson Graef Rollins
  0 siblings, 1 reply; 4+ messages in thread
From: David Belohrad @ 2013-12-16  9:49 UTC (permalink / raw)
  To: notmuch

Dear all,

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?

thanks
.d.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: display text/html by default
  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
  0 siblings, 2 replies; 4+ messages in thread
From: Jameson Graef Rollins @ 2013-12-17 15:54 UTC (permalink / raw)
  To: David Belohrad, notmuch

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

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.

jamie.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: display text/html by default
  2013-12-17 15:54 ` Jameson Graef Rollins
@ 2013-12-17 16:08   ` David Belohrad
  2013-12-17 16:17   ` Austin Clements
  1 sibling, 0 replies; 4+ messages in thread
From: David Belohrad @ 2013-12-17 16:08 UTC (permalink / raw)
  To: Jameson Graef Rollins, notmuch

Hi Jamie,

thanks for this tip. It somehow solves the situation :)

.d.


Jameson Graef Rollins <jrollins@finestructure.net> writes:

> 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.
>
> jamie.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: display text/html by default
  2013-12-17 15:54 ` Jameson Graef Rollins
  2013-12-17 16:08   ` David Belohrad
@ 2013-12-17 16:17   ` Austin Clements
  1 sibling, 0 replies; 4+ messages in thread
From: Austin Clements @ 2013-12-17 16:17 UTC (permalink / raw)
  To: David Belohrad; +Cc: notmuch

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-17 16:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).