* rendering in text, how to stop web trackers
@ 2022-02-07 23:24 Andrew
2022-02-07 23:44 ` Byung-Hee HWANG
2022-02-07 23:55 ` Adam Sjøgren
0 siblings, 2 replies; 3+ messages in thread
From: Andrew @ 2022-02-07 23:24 UTC (permalink / raw)
To: ding
I generally use gnus in a terminal emulator (emacs -nw).
I'm getting more and more HTML only mail, but I really prefer
straight monochrome text.
My ideal behavior is:
if there's a text part to a message, show that
if there's only html, show that
but (in order to stop tracking) do not load anything from the net
and if there are URLs/images in the message, give me an easy
way to view, copy & paste the URL
I've got html as a discouraged alternative:
(setq mm-discouraged-alternatives
'("text/html"
"text/richtext"))
I'm rendering with w3m:
(setq mm-inline-text-html-renderer
'mm-inline-text-html-render-with-w3m)
(setq mm-text-html-renderer 'gnus-w3m)
How do I tell w3m to not fetch anything and just render what came in the
message? Or should I use shr or something else to render?
--thanks for any clues
--a
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rendering in text, how to stop web trackers
2022-02-07 23:24 rendering in text, how to stop web trackers Andrew
@ 2022-02-07 23:44 ` Byung-Hee HWANG
2022-02-07 23:55 ` Adam Sjøgren
1 sibling, 0 replies; 3+ messages in thread
From: Byung-Hee HWANG @ 2022-02-07 23:44 UTC (permalink / raw)
To: ding
akb+lists.ding@mirror.to (Andrew) writes:
> I generally use gnus in a terminal emulator (emacs -nw).
> I'm getting more and more HTML only mail, but I really prefer
> straight monochrome text.
>
> My ideal behavior is:
> if there's a text part to a message, show that
> if there's only html, show that
> but (in order to stop tracking) do not load anything from the net
> and if there are URLs/images in the message, give me an easy
> way to view, copy & paste the URL
>
> I've got html as a discouraged alternative:
> (setq mm-discouraged-alternatives
> '("text/html"
> "text/richtext"))
>
> I'm rendering with w3m:
> (setq mm-inline-text-html-renderer
> 'mm-inline-text-html-render-with-w3m)
> (setq mm-text-html-renderer 'gnus-w3m)
>
> How do I tell w3m to not fetch anything and just render what came in the
> message? Or should I use shr or something else to render?
C-g
if i wrong, forgive me, and thanks!
Sincerely, Gnus fan Byung-Hee
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rendering in text, how to stop web trackers
2022-02-07 23:24 rendering in text, how to stop web trackers Andrew
2022-02-07 23:44 ` Byung-Hee HWANG
@ 2022-02-07 23:55 ` Adam Sjøgren
1 sibling, 0 replies; 3+ messages in thread
From: Adam Sjøgren @ 2022-02-07 23:55 UTC (permalink / raw)
To: ding
Andrew writes:
> How do I tell w3m to not fetch anything and just render what came in the
> message?
I think that is supposed to be the default, looking at this variable:
,----[ C-h v mm-w3m-safe-url-regexp RET ]
| mm-w3m-safe-url-regexp is a variable defined in ‘mm-decode.el’.
| Its value is "\\`cid:"
|
| Documentation:
| Regexp matching URLs which are considered to be safe.
| Some HTML mails might contain a nasty trick used by spammers, using
| the <img> tag which is far more evil than the [Click Here!] button.
| It is most likely intended to check whether the ominous spam mail has
| reached your eyes or not, in which case the spammer knows for sure
| that your email address is valid. It is done by embedding an
| identifier string into a URL that you might automatically retrieve
| when displaying the image. The default value is "\\‘cid:" which only
| matches parts embedded to the Multipart/Related type MIME contents and
| Gnus will never connect to the spammer’s site arbitrarily. You may
| set this variable to nil if you consider all urls to be safe.
`----
?
> Or should I use shr or something else to render?
I think shr renders HTML better, but it probably various a lot with the
emails.
Oh, I have also set mm-automatic-display to (remove "text/html"
mm-automatic-display) :-)
Best regards.
Adam
--
"LUFTVAFFEL!" Adam Sjøgren
asjo@koldfront.dk
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-07 23:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07 23:24 rendering in text, how to stop web trackers Andrew
2022-02-07 23:44 ` Byung-Hee HWANG
2022-02-07 23:55 ` Adam Sjøgren
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).