From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69959 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Async pre-treatment of articles Date: Sat, 28 Aug 2010 22:27:00 +0200 Organization: Programmerer Ingebrigtsen Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283027321 27018 80.91.229.12 (28 Aug 2010 20:28:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 28 Aug 2010 20:28:41 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18345@lists.math.uh.edu Sat Aug 28 22:28:40 2010 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 1OpS0z-0003BD-RI for ding-account@gmane.org; Sat, 28 Aug 2010 22:28:38 +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 1OpRzj-0000pz-FH; Sat, 28 Aug 2010 15:27:19 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OpRzg-0000pl-7Z for ding@lists.math.uh.edu; Sat, 28 Aug 2010 15:27:16 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OpRzZ-0007kw-Tx for ding@lists.math.uh.edu; Sat, 28 Aug 2010 15:27:15 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OpRzZ-0006DP-00 for ; Sat, 28 Aug 2010 22:27:09 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OpRzZ-0002Zb-0H for ding@gnus.org; Sat, 28 Aug 2010 22:27:09 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Aug 2010 22:27:08 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Aug 2010 22:27:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUYAgdwNSj7v2RXIRsz Dw69ZTUiBgs+heLhAAACUklEQVQ4jV2Ty46jMBBFS+oW6/EYsg8j9rHsZN3INbWHjPe0sPz/n9C3 iqQf4wUCDvW6tyDnfGKWRhu1tlVplbkKMwFEFq6z7CeidxFpOLWS8y5mqfvt5PwbpTz/ak0Z+eic E6m4usvrKTjX9ssBgvP+tKcU2+UlxhQk1tvWyIWgqN0azT3htOZ92wjA+ZykcaNEBl6yT9SRd4vP 1gk9z+57ADcMnnWQ7RPQa3zbaMAg/4MWekHEooC/paJuzwA4pskBOg2gl9g+wbdM3UbdASI3oZ/n CaThs5xysh46G1ABnhvVoQxLNCAwQQGEx9O8jlO5a7FO4z9BvY7jON3TZtVJ/VATqcsKximhDSRu D3Dpah4M9OiDv8Bb41hWy6WgVUwePRzZOMUyDQiI0AArgWWIMbooKc5juY7l7J4A/gUXa4rXcS1r KcvtC6Dd2huYxlISAIqgeHAhGZjWqaxTMhMqtgQhB0BP0zr2LNXWJ6G41JuBcSwA7QDa1a3KAcoP 4NypSg4632LAdiYGjN4DuGKSTF5tZgUqSZM8DKsR2Kn9kmZyXvgJSmbrl7yJKJX/lnVVdQ8gNiD+ g5rmqUDfhQ/AFC0XwA5jS+k5yzegqaomKqjW9H0lDB4WL7uBsdz5cSixaoXw2SLuVqIqQK7ENfHV QHzUFtIu8HOnaM0uMSf2B8ClZhfDZGAJkYtaQsgnYVgOpc7DcndlWgygO7w/9DiXctf1QgjBeF3a 9Qmcgn8AkF6dWB/+LbZ2fwxg/RVMqP0bSMFZKsD7cFgEBY843Ev9AEeN5tNPmQbbAAAAAElFTkSu QmCC Mail-Copies-To: never X-Now-Playing: Current 93's _All the Pretty Little Horses_: "The Inmost Light Itself" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:Uu1Zo0xJDglBFl1k3oObLsnhUTE= X-Spam-Score: -0.5 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69959 Archived-At: Reading articles with pictures external pictures in them (for instance, the Gwene groups) is somewhat awkward. You first get the text, and then a few second later, the pictures are filled in, and the text moves around. It's annoying. I thought at first that the problem was that Emacs displayed the pictures slowly, but the problem is probably just that it takes a while for w3m to fetch the images. Re-reading articles where w3m has cached the images is very fast. So my immediate idea would be to add some sort of async pre-rendering of messages. That is, from the nntp pre-fetch code (or somewhere), point w3m at the message. However, for that to happen, Gnus really has to do all the decoding and charset stuff and Content-Transfer-Encoding stuff, so that's a pretty big chunk of code to run from an async hook... However, it occurs to me just now that if we special-case for CTE: 8bit, then I could just point w3m at a throwaway buffer containing the next article(s), and let it do its stuff there... Would that be to special-casey for general usefulness? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen