all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* HTML rendering and docview not
@ 2017-05-09 21:24 Tomas Nordin
  2017-05-10  4:58 ` Tomas Nordin
  0 siblings, 1 reply; 5+ messages in thread
From: Tomas Nordin @ 2017-05-09 21:24 UTC (permalink / raw)
  To: Help-Gnu-Emacs

Hello list

This is maybe a question for the notmuch list but I try here. I have
emacs 26.0.50 and notmuch 0.24 (new computer, new everything). In a
notmuch-show buffer (reading a message) on an attachment "button" one
can call notmuch-show-view-part. If part is a pdf, docview will run and
the pdf is displayed within emacs. Very cool, but I would prefer it to
open with an external application.

For rendering html parts in a message, it is done now with something,
but I prefer it to be done with w3m.

Some settings

(setq browse-url-browser-function 'w3m-goto-url)

# .mailcap
application/pdf; evince %s; test=test -n "$DISPLAY"
text/html; /usr/bin/w3m -I %{charset} -dump -T text/html %s; copiousoutput; description=HTML Text; nametemplate=%s.html

I am tired and I cannot find the ways to configure this, any pointers
will make me happy.

Best regards
--
Tomas



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

end of thread, other threads:[~2017-05-15 21:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-09 21:24 HTML rendering and docview not Tomas Nordin
2017-05-10  4:58 ` Tomas Nordin
2017-05-10  5:22   ` Emanuel Berg
2017-05-13 18:15     ` Tomas Nordin
2017-05-15 21:53       ` Emanuel Berg

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.