Gnus development mailing list
 help / color / mirror / Atom feed
* Async pre-treatment of articles
@ 2010-08-28 20:27 Lars Magne Ingebrigtsen
  2010-08-28 20:34 ` Adam Sjøgren
  0 siblings, 1 reply; 15+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-08-28 20:27 UTC (permalink / raw)
  To: ding

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




^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-08-29 13:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-28 20:27 Async pre-treatment of articles Lars Magne Ingebrigtsen
2010-08-28 20:34 ` Adam Sjøgren
2010-08-28 20:39   ` Adam Sjøgren
2010-08-28 20:44     ` Lars Magne Ingebrigtsen
2010-08-28 20:55       ` Adam Sjøgren
2010-08-28 20:59         ` Adam Sjøgren
2010-08-28 21:18           ` Lars Magne Ingebrigtsen
2010-08-28 21:21             ` Adam Sjøgren
2010-08-28 21:28               ` Lars Magne Ingebrigtsen
2010-08-28 21:44                 ` Adam Sjøgren
2010-08-28 21:40         ` Lars Magne Ingebrigtsen
2010-08-28 23:54           ` Steinar Bang
2010-08-29  0:07             ` Lars Magne Ingebrigtsen
2010-08-29 13:36             ` Adam Sjøgren
2010-08-28 23:50       ` Steinar Bang

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).