From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47799 Path: main.gmane.org!not-for-mail From: Danny Siu Newsgroups: gmane.emacs.gnus.general Subject: Re: HEADS UP: Largely rewritten gnus-agent implementation. Date: Sun, 24 Nov 2002 02:40:35 +0800 Organization: Adobe Systems Incorporated Sender: owner-ding@hpc.uh.edu Message-ID: References: <84bs4ggtnq.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1038077072 15011 80.91.224.249 (23 Nov 2002 18:44:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 23 Nov 2002 18:44:32 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18FfGY-0003tz-00 for ; Sat, 23 Nov 2002 19:44:30 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18FfEg-0003Z3-00; Sat, 23 Nov 2002 12:42:34 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 23 Nov 2002 12:43:20 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@[209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA14254 for ; Sat, 23 Nov 2002 12:43:01 -0600 (CST) Original-Received: (qmail 16396 invoked by alias); 23 Nov 2002 18:42:06 -0000 Original-Received: (qmail 16391 invoked from network); 23 Nov 2002 18:42:06 -0000 Original-Received: from smtp-relay-2.adobe.com (192.150.11.2) by gnus.org with SMTP; 23 Nov 2002 18:42:06 -0000 Original-Received: from inner-relay-2.corp.adobe.com (inner-relay-2 [153.32.1.52]) by smtp-relay-2.adobe.com (8.12.3/8.12.3) with ESMTP id gANIcOkw001388 for ; Sat, 23 Nov 2002 10:38:27 -0800 (PST) Original-Received: from mailsj-v1.corp.adobe.com (mailsj-dev.corp.adobe.com [153.32.1.192]) by inner-relay-2.corp.adobe.com (8.12.3/8.12.3) with ESMTP id gANIfRL8003630 for ; Sat, 23 Nov 2002 10:41:27 -0800 (PST) Original-Received: from GIGI.corp.adobe.com ([130.248.170.2]) by mailsj-v1.corp.adobe.com (Netscape Messaging Server 4.15 v1 Jul 11 2001 16:32:57) with ESMTP id H61L9200.VBW for ; Sat, 23 Nov 2002 10:41:26 -0800 Original-To: ding@gnus.org X-Mailer: Oort Gnus v0.08 X-Location: Hong Kong X-Face: fHBvLrQQW(GRz#RNTAN(,')p8NGv}{6dMh\:?%*D\+8hgkiA_dub1@\,Y"r5'a8C(8e~cGG(WFTU\OlAqI[B?V7m'ZGkquvZ/d k~E"A"@WK;0mLF&\%W1kIC]O"z#/>YNUefE1%5/NUX;ml]@$nW;05Z9uZ/CqTz]A)+`1ROuF~||pG= k>Zi@hE- X-Emacs: 21.2.1 Mail-Followup-To: ding@gnus.org In-Reply-To: <84bs4ggtnq.fsf@lucy.cs.uni-dortmund.de> (kai.grossjohann@uni-duisburg.de's message of "Sat, 23 Nov 2002 17:03:37 +0100") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-msvc-nt5.0.2195) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47799 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47799 I am only using nnnil as primary and nnimap as secondary backend. I removed all .fetched files, did a 'gnus-agent-regenerate', and 'J s' - gnus-agent-regenerate seems to do the right finally: it recreates .agentview based on articles that have already been download on disk. This alone saved me hours of agent refetching time! Thanks for making this works. - i have (setq gnus-agent-mark-unread-after-downloaded nil) but sometimes articles are marked read ('O') after being splitted to the its destination group. - .agentview files may contain bogus info, like "nil 2" etc. (or it has a new format now?) - i am seeing all my dormanted articles became read (marked 'O')!!! I know that nnimap stores gnus specific marks, like dormant, on IMAP servers that support custom marks. this is a major problem for agent right now. agent is working much better than before and i am seeing some operations are much faster too.=20=20 thanks for the good work, Kevin and Kai! Kai Gro=DFjohann writes: Kai> Kevin Greiner did a really great job, I think, of improving Kai> gnus-agent and making it more efficient, too. I kind of forgot what Kai> exactly he has changed, but I can say the following: Kai> * The old .fetched files that I introduced are not needed anymore. Kai> * gnus-agent-consider-all-articles is supported properly. Kai> There is a sanity check in there which invokes (debug), so if you see Kai> that, please report it to Kevin and/or me, with some information Kai> about what you were seeing. After gathering the data (especially the Kai> contents of the backtrace buffer), it should be safe to just Kai> continue, the mess will be cleaned up automatically. Kai> The ChangeLog entries are from me, they are probably bogus to some Kai> degree. This can be sorted out later, though. Kai> Kevin is gone over the weekend and he suggested that I wait with Kai> committing this, but I'm too excited to wait! Kai> Ah, maybe I should mention some gotcha. With previous versions of Kai> the code (but not the one I'm checking in!) I saw that articles were Kai> marked as read when entering the group and they appeared to be gone. Kai> If this happens, don't panik. Instead, do C-x u from the group Kai> buffer (gnus-undo, to revert the marking as read), then use `J u' on Kai> the group to fetch it, then try to enter the group again. This Kai> worked reliably to make the articles reappear when I tried it. (The Kai> problem only happens in plugged mode.) I don't think that you will Kai> see this, but just in case... Kai> I think that's it! Please report your findings. Kai> kai -- ~/.signature is: umop ap!sdn (Frank Nobis) --=20 Danny Siu