On 2014-11-13 Thu 23:07, Alasdair Muckart wrote:
> I'm running 24.4 and mu4e from git on OS X 10.10 and this is reliably
> hanging my emacs session when I view certain emails, requiring it to be
> force killed.
>
> If I change to using OS X textutil it gives me a slightly useless rendering
> but doesn't cause emacs to hang.
>
> It seems to be trying to open an https session and I'm getting an error in
> the minibuffer "eeror in process filter: Symbol's value as variable is
> void: url-http-response-status
>
> If I open the messages buffer before running mu4e I can see that it is
> attempting to open a TLS connection to
api.inktad.com but this is failing.
> I can kill the gnutls sessions from terminal but that doesn't un-hang
> emacs.
>
> It looks like it trys with gnutls-cli a few times and eventually falls back
> to openssl.
>
> I'm a little worried that viewing an HTML email without following any links
> in it or anything is causing mu4e to follow links or connections in that
> email without any user intervention. Is there a way to prevent that from
> happening?
>
> Unfortunately the email in question is a flight itinerary that has a load
> of my personal information in it or I'd attach a copy of it here.
I experienced hangs and overall poor performance in earlier versions of
shr. However, this seems to have improved a lot more recently since
shr and eww are under heavy development. With the current version of
Emacs, I didn't experience any hangs and render times are much faster
now. So perhaps try to update Emacs. If the problem persists, you
could file a bug with Emacs.
The second issue is that shr may retrieve data from untrusted URLs which
is bad for a number of reasons. I don't know whether it's possible to
bar shr from making connections but that would be a very useful feature,
also in other contexts. So that may be a good feature request.
Titus