From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59078 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP article move Date: Mon, 08 Nov 2004 22:15:31 +0100 Message-ID: References: <4nr7n4b12g.fsf@lifelogs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099948652 28667 80.91.229.6 (8 Nov 2004 21:17:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Nov 2004 21:17:32 +0000 (UTC) Original-X-From: ding-owner+M7618@lists.math.uh.edu Mon Nov 08 22:17:16 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CRGt2-0006jK-00 for ; Mon, 08 Nov 2004 22:17:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CRGrf-0000Tk-00; Mon, 08 Nov 2004 15:15:51 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CRGrY-0000Te-00 for ding@lists.math.uh.edu; Mon, 08 Nov 2004 15:15:44 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CRGrV-0003H6-6v for ding@lists.math.uh.edu; Mon, 08 Nov 2004 15:15:41 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by justine.libertine.org (Postfix) with ESMTP id 00BEA3A01F3 for ; Mon, 8 Nov 2004 15:15:39 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CRGrS-0000ED-00 for ; Mon, 08 Nov 2004 22:15:38 +0100 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Nov 2004 22:15:38 +0100 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Nov 2004 22:15:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 20 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:kxn5obcAqhL+9C2JNJgrEiGPrEg= Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59078 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59078 "Ted Zlatanov" writes: > Can we optimize IMAP article moves so they use the server > capabilities? Right now, I think, we just copy and then delete the > old article. Across various backends that makes sense, but if it's > within the same IMAP backend, the server move can be much faster. > > I looked at gnus-sum.el, gnus-int.el, and nnimap.el. It seems > possible, although the changes would have to go all the way to the > top, because gnus-summary-move-article does the copy & delete action. > > If this works, Gnus will be much faster and more reliable in the > common case of article moves in IMAP. What are you proposing? There is some optimization in nnimap-request-move-article and nnimap-request-accept-article to make moving more efficient, and I thought it was pretty fast. But I rarely copy/move articles, so I wouldn't know. Maybe you could illustrate by comparing which IMAP commands are sent now, and which commands you want to be sent?