From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33974 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap: article moving Date: 02 Jan 2001 11:13:53 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87elymc13u.fsf@lovi.inf.elte.hu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169985 27974 80.91.224.250 (21 Oct 2002 03:13:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:13:05 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 4EC39D049D for ; Tue, 2 Jan 2001 06:15:01 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id FAB19953; Tue, 2 Jan 2001 05:14:20 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 02 Jan 2001 05:13:26 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id FAA05903 for ; Tue, 2 Jan 2001 05:13:14 -0600 (CST) Original-Received: from dolk.extundo.com (dolk.extundo.com [195.42.214.242]) by mailhost.sclp.com (Postfix) with ESMTP id 33792D049D for ; Tue, 2 Jan 2001 06:13:35 -0500 (EST) Original-Received: from barbar.josefsson.org (localhost.localdomain [127.0.0.1]) (authenticated) by dolk.extundo.com (8.11.1/8.11.1) with ESMTP id f02BDR021526; Tue, 2 Jan 2001 12:13:28 +0100 X-Draft-From: ("nnimap+dolk:INBOX.ding" 1427) Original-To: NAGY Andras In-Reply-To: <87elymc13u.fsf@lovi.inf.elte.hu> Mail-Copies-To: nobody User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/21.0.94 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 38 Xref: main.gmane.org gmane.emacs.gnus.general:33974 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33974 NAGY Andras writes: > Been curious how efficiently nnimap works Nnimap is painfully slow. At some point (or rather an interval) in time, I hope to extend the Gnus<->backend interface to make IMAP groups work much faster. Don't blame IMAP for nnimap speed, IMAP can be very fast. Two hints to speed things up considerably (at least if your reading habits are close enough to mine): (setq gnus-keep-backlog 10 gnus-asynchronous t) > and made the following test: select an nnimap group, do not view any > articles, but select one in the summary buffer. Press B m > (gnus-summary-move-article), enter a mailbox name on the same > (physical and virtual) server, press ENTER and leave the group. > > I'd expect nnimap to do a server-side move (copy uid and mark as > deleted), without downloading the article. Unfortunately, the article > is downloaded _two times_, but interestingly, not uploaded again, so > the server-side move actually takes place, but why the download then? Nnimap does not know that the target is a nnimap group at the time the article is fetched. So it download the article and save some variables, and if nnimap is later invoked with an instruction to "accept" a new article, it notices the variables and simply invoke a "move" command rather than uploading the article. As for downloading the article twice, that's simply stupid. imap.el actually cache stuff so nnimap should take advantage of that. However, perhaps `gnus-keep-backlog' work too? Perhaps the Gnus Move command can "hint" to the backend what the target group is. Hm.