From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78595 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.gnus.general Subject: Re: Asynchroneous image retrieval in HTML rendering Date: Thu, 28 Apr 2011 22:03:47 +0200 Message-ID: <87r58mi1ng.fsf@gmail.com> References: <87bozwfw84.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304021517 714 80.91.229.12 (28 Apr 2011 20:11:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2011 20:11:57 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26897@lists.math.uh.edu Thu Apr 28 22:11:54 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QFXZ3-0002Xn-9R for ding-account@gmane.org; Thu, 28 Apr 2011 22:11:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QFXXW-0001gh-QM; Thu, 28 Apr 2011 15:10:18 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QFXXV-0001gY-6h for ding@lists.math.uh.edu; Thu, 28 Apr 2011 15:10:17 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QFXXU-0003hz-Ej for ding@lists.math.uh.edu; Thu, 28 Apr 2011 15:10:17 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QFXXT-0002mU-3R for ding@gnus.org; Thu, 28 Apr 2011 22:10:15 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QFXXS-0001ZY-Sv for ding@gnus.org; Thu, 28 Apr 2011 22:10:14 +0200 Original-Received: from ney92-7-78-233-218-202.fbx.proxad.net ([78.233.218.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2011 22:10:14 +0200 Original-Received: from antoine.levitt by ney92-7-78-233-218-202.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Apr 2011 22:10:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ney92-7-78-233-218-202.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78595 Archived-At: 24/04/11 00:18, Antoine Levitt > Right now, with mm-text-html-renderer set to 'shr or 'gnus-w3m, loading > images on slow servers takes ages, and hangs emacs (for instance, check > out gwene.com.wordpress.terrytao, which has latex code rendered into > lots of small images). 'w3m (with emacs-w3m installed) results in a nice > smooth display, and does not hang emacs. > > Is there a setting I missed somewhere? If not, how feasible is it to add > asynchroneous image retrieval to shr? Sorry if the subject has already > come up, but I didn't find anything about it. Alright, so this doesn't seem to generate a lot of enthusiasm. If it's too hard to implement full asynchroneous retrieval, is it possible to block images declared as being of size 1x1, which are heavily used as trackers in RSS feeds (for instance, gwene.uk.co.guardian)? It's a cheap hack, unlikely to break anything, and it'd save some nasty freezes on slow connections (the combination of prefetching, lots of images and slow DNS lookup is particularly annoying, causing long uninterruptible freezes)