From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44425 Path: main.gmane.org!not-for-mail From: Nicolas Kowalski Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap slow for message copy Date: Fri, 26 Apr 2002 20:07:15 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1019844505 3716 127.0.0.1 (26 Apr 2002 18:08:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2002 18:08:25 +0000 (UTC) Cc: ding Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 171A8u-0000xp-00 for ; Fri, 26 Apr 2002 20:08:24 +0200 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 171A8K-0004Qr-00; Fri, 26 Apr 2002 13:07:48 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 26 Apr 2002 13:08:00 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA12346 for ; Fri, 26 Apr 2002 13:07:47 -0500 (CDT) Original-Received: (qmail 4630 invoked by alias); 26 Apr 2002 18:07:24 -0000 Original-Received: (qmail 4625 invoked from network); 26 Apr 2002 18:07:24 -0000 Original-Received: from imag.imag.fr (129.88.30.1) by gnus.org with SMTP; 26 Apr 2002 18:07:24 -0000 Original-Received: from ormelune.imag.fr (ormelune.imag.fr [129.88.43.35]) by imag.imag.fr (8.11.6/8.11.6) with ESMTP id g3QI7HM18693; Fri, 26 Apr 2002 20:07:19 +0200 (MEST) Original-Received: from astazou.imag.fr.imag.fr (astazou [129.88.43.102]) by ormelune.imag.fr (8.10.2+Sun/jtpda-5.3.3) with ESMTP id g3QI6OG01296 ; Fri, 26 Apr 2002 20:06:25 +0200 (MET DST) Original-To: Simon Josefsson X-Face: #v^9{p"~.e3TDs~r\ (Simon Josefsson's message of "Fri, 26 Apr 2002 19:23:46 +0200 (CEST)") Original-Lines: 27 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.1 (Cuyahoga Valley, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44425 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44425 Simon Josefsson writes: > The problem is that the Gnus backend interface doesn't use COPY when > copying something, I think, so it ends up using fetch+store. Of course, > the nnimap backend could detect this situation and use COPY instead. (As > it does when moving messages, I think.) Hm, reading nnimap.el (line 1294), I see : (deffoo nnimap-request-accept-article (group &optional server last) (when (nnimap-possibly-change-server server) (let (uid) (if (setq uid (if (string= nnimap-current-server nnimap-current-move-server) ;; moving article within same server, speed it up... (and (nnimap-possibly-change-group nnimap-current-move-group) (imap-message-copy (number-to-string nnimap-current-move-article) group 'dontcreate nil nnimap-server-buffer)) So the optimization already exists...I simply do not understand what this function is supposed to do, nor how to use it with a group-to-group copy.