From: Tassilo Horn <tassilo@member.fsf.org>
To: info-gnus-english@gnu.org
Subject: Re: HTML Emails
Date: Fri, 19 Oct 2007 14:05:02 +0200 [thread overview]
Message-ID: <87bqav48ep.fsf@baldur.tsdh.de> (raw)
In-Reply-To: <m3abqg70p5.fsf@ieee.org>
Randy Yates <yates@ieee.org> writes:
Hi Randy,
> What I'd like to do is, when I'm in the summary buffer, have the body
> of all HTML messages suppressed - only the sender, subject,
> etc. (i.e., the header) should be displayed.
You could use
(setq mm-discouraged-alternatives
'("text/html" "text/richtext" "text/enriched"))
which supresses viewing the HTML part and displays the plain-text part
instead.
> Then if I decide it's from a trusted source, I'll invoke a key
> sequence to spawn firefox to read the message.
If you'd use the development version of gnus, you could invoke `K H'
then, which opens the message in a browser.
> How to do?
If you upgrade to the devel-version you get that for free.
> PS: When I substituted "firefox" for "w3m" I get
>
> Wrong type argument: listp, firefox
>
> in the minibuffer.
Yes, the variable only accepts a fixed set of values, firefox is none of
them.
,----[ C-h v mm-text-html-renderer RET ]
| mm-text-html-renderer is a variable defined in `mm-decode.el'.
| Its value is w3m
|
| Documentation:
| Render of HTML contents.
| It is one of defined renderer types, or a rendering function.
| The defined renderer types are:
| `w3' : use Emacs/W3;
| `w3m' : use emacs-w3m;
| `w3m-standalone': use w3m;
| `links': use links;
| `lynx' : use lynx;
| `html2text' : use html2text;
| nil : use external viewer.
`----
Oh, the last thing is interesting. What happens when you set it to nil?
Does it use firefox then? But be warned, this might be a security issue
if it openes FF unconditionally.
Bye,
Tassilo
--
A morning without coffee is like something without something else.
next prev parent reply other threads:[~2007-10-19 12:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 1:52 Randy Yates
2007-10-18 1:54 ` Randy Yates
2007-10-18 4:07 ` slack-rat
2007-10-18 7:14 ` Tassilo Horn
[not found] ` <mailman.2231.1192691693.18990.info-gnus-english@gnu.org>
2007-10-18 17:59 ` Randy Yates
2007-10-18 18:11 ` Randy Yates
2007-10-19 12:05 ` Tassilo Horn [this message]
[not found] ` <mailman.2291.1192795535.18990.info-gnus-english@gnu.org>
2007-10-19 14:31 ` Randy Yates
2007-10-20 14:50 ` Randy Yates
2007-10-20 16:42 ` Tassilo Horn
[not found] ` <mailman.2359.1192898563.18990.info-gnus-english@gnu.org>
2007-10-20 18:31 ` Randy Yates
2007-10-20 15:27 ` Tassilo Horn
2007-10-18 7:21 ` Reiner Steib
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=87bqav48ep.fsf@baldur.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=info-gnus-english@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.
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 NNTP newsgroup(s).