From: Tomas Nordin <tomasn@posteo.net>
To: Help-Gnu-Emacs <help-gnu-emacs@gnu.org>
Subject: HTML rendering and docview not
Date: Tue, 09 May 2017 23:24:09 +0200 [thread overview]
Message-ID: <87y3u5ohae.fsf@fliptop> (raw)
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
next reply other threads:[~2017-05-09 21:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-09 21:24 Tomas Nordin [this message]
2017-05-10 4:58 ` HTML rendering and docview not Tomas Nordin
2017-05-10 5:22 ` Emanuel Berg
2017-05-13 18:15 ` Tomas Nordin
2017-05-15 21:53 ` Emanuel Berg
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y3u5ohae.fsf@fliptop \
--to=tomasn@posteo.net \
--cc=help-gnu-emacs@gnu.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 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.