From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68853 Path: news.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus' speed Date: Fri, 31 Jul 2009 15:06:09 +1000 Organization: How about yours? http://rimspace.net/resume/ Message-ID: <87k51pmofy.fsf@rimspace.net> References: <87zlao7j1z.fsf@CPU107.opentrends.net> <87iqhb7w7a.fsf@CPU107.opentrends.net> <873a8f8i0b.fsf@lifelogs.com> <871vnysodu.fsf@rimspace.net> <87d47i70sy.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1249017550 3241 80.91.229.12 (31 Jul 2009 05:19:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 05:19:10 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M17273@lists.math.uh.edu Fri Jul 31 07:19:03 2009 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.50) id 1MWkWE-0008Lt-6B for ding-account@gmane.org; Fri, 31 Jul 2009 07:19:02 +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 1MWkVW-0004Nb-9N; Fri, 31 Jul 2009 00:18:18 -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 1MWkVR-0004NA-B8 for ding@lists.math.uh.edu; Fri, 31 Jul 2009 00:18:13 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1MWkVP-00011L-MU for ding@lists.math.uh.edu; Fri, 31 Jul 2009 00:18:13 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1MWkVy-0003S9-00 for ; Fri, 31 Jul 2009 07:18:46 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MWkVM-0005oB-PZ for ding@gnus.org; Fri, 31 Jul 2009 05:18:08 +0000 Original-Received: from sdcarl02.strategicdata.com.au ([203.214.67.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Jul 2009 05:18:08 +0000 Original-Received: from daniel by sdcarl02.strategicdata.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Jul 2009 05:18:08 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sdcarl02.strategicdata.com.au User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (gnu/linux) Cancel-Lock: sha1:6ZF4F7j2WE9J+6mtoaO3Qhlk8WE= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68853 Archived-At: Ted Zlatanov writes: > On Thu, 30 Jul 2009 15:58:37 +1000 Daniel Pittman wrote: > > DP> Ted Zlatanov writes: >>> I think the backend rewrite would be fairly minor, but there are many >>> internal and user-visible functions in Gnus that also will need to be >>> modified. It's a lot of work. > > DP> I think that saying "fairly minor" is misleading here: adding the capability > DP> to the IMAP backend isn't enormously hard, but defining a sound (and portable) > DP> API, and implementing it, is quite non-trivial. > > I'd do it with the IMAP convention of "1.2.3" to mean part 3 of part 2 of > part 1 as an optional parameter for the backend command to fetch the body, > and an extra backend command to get a message's structure (list of strings > as above with the associated data). Given that the IMAP data structure is more or less an sexpr, using that fairly directly made sense to me. Given it is really the only model, too, with any widespread use ... [...] > Your itemized list seems very thorough and you've obviously thought > about this more than I. Are you interested in coordinating this effort? At the moment, no, otherwise I would probably be writing the code instead of just talking about it. As it is, I looked at this a couple of years back, so my knowledge might well be out-of-date. Sorry. I hate to just offer advice and not actual code, but I don't think volunteering for the later will help anyone out. Regards, Daniel -- ✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707 ♽ made with 100 percent post-consumer electrons