unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jake Colman <colman@ppllc.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: Ted Zlatanov <tzz@lifelogs.com>, "ding\@gnus.org" <ding@gnus.org>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: Exchange 2007 Issues When Copying Between Folders
Date: Tue, 01 Apr 2008 10:13:48 -0400	[thread overview]
Message-ID: <76d4p9k6hv.fsf@dev-d01.ppllc.com> (raw)
In-Reply-To: <878wzxr7ny.fsf@mocca.josefsson.org> (Simon Josefsson's message of "Tue, 1 Apr 2008 10:06:41 -0400")

>>>>> "SJ" == Simon Josefsson <simon@josefsson.org> writes:

   SJ> Ted Zlatanov <tzz@lifelogs.com> writes:
   >> On Mon, 31 Mar 2008 10:54:12 -0400 Jake Colman <colman@ppllc.com> wrote:
   >> 
   JC> Ted suggested that I post here as I find more issues with using Gnus
   JC> with Exchange 2007.
   >> 
   JC> If I move an email between IMAP folders ('B m'), I get the following
   SJ> messages:
   >> 
   JC> Registry: Registering article 6 with group
   SJ> nnimap+exchange-d01:INBOX/Development/gnu
   JC> Registry: Registering article 7 with group
   SJ> nnimap+exchange-d01:INBOX/Development/gnu
   JC> Moving to nnimap+exchange-d01:INBOX/Development/CVS: (6)...
   JC> nnimap-request-move-article: this is an internal move
   JC> The specified message set is invalid.
   JC> Couldn't Move article 6: The specified message set is invalid.
   JC> nnimap: Updating info for nnimap+exchange-d01:INBOX/Development/gnu...
   JC> nnimap: Updating info for
   SJ> nnimap+exchange-d01:INBOX/Development/gnu...done
   >> 
   JC> The message is, in fact, copied between the 'gnu' folder and the 'CVS'
   JC> folder but it is not deleted from the 'gnu' folder.
   >> 
   JC> I am attaching the output of the imap-debug buffer showing everything
   SJ> starting
   JC> with pressing 'B m'.
   >> 
   >> The command that caused the problem:
   >> 
   >> 511 UID FETCH * UID
   >> 
   >> (copying emacs-devel regarding the maintenance issue)
   >> 
   >> Simon Josefsson hasn't replied to my pings, so I think he may not be
   >> available for imap.el support.  Simon, please let us know if that's not
   >> the case.

   SJ> Hi!  Sorry for not responding, I have been busy with other things, and I
   SJ> don't have much time to work on (nn)imap.el any more.  I have time to
   SJ> review concrete patches, but little time to help debug problems with
   SJ> some servers.

   SJ> However, the recently installed patch for Gnus is definitely the wrong
   SJ> thing:

   SJ> -         (imap-fetch "1,*" "UID" nil 'nouidfetch)
   SJ> +         (imap-fetch "1:*" "UID" nil 'nouidfetch)

   SJ> This generates thousands and thousands of unnecessary lines of output,
   SJ> such as:

   SJ> 669 FETCH 1:* UID
   SJ> * 1 FETCH (UID 53159)
   SJ> * 2 FETCH (UID 53160)
   SJ> * 3 FETCH (UID 53161)
   SJ> ...
   SJ> * 103915 FETCH (UID 157074)
   SJ> * 103916 FETCH (UID 157075)
   SJ> * 103917 FETCH (UID 157076)
   SJ> 669 OK Completed

   SJ> That's about 2-3MB of output, and that was getting information for one
   SJ> of my folders (I subscribe to maybe 100-150 folders..).

   SJ> This slows down pressing 'g' on my server from sub-seconds to a very
   SJ> long time (I pressed C-g after half a minute).

   SJ> This is how the output should look like:

   SJ> 698 FETCH 1,* UID
   SJ> * 1 FETCH (UID 53159)
   SJ> * 103918 FETCH (UID 157077)
   SJ> 698 OK Completed

   SJ> That's 89 bytes and takes ms's to transfer.

   SJ> If you want this bug workaround in the code, please make it conditional
   SJ> on some variable that is disabled by default.  I suggest documenting
   SJ> that this may slow down things considerably.


Simon,

Can you suggest something better to fix this problem?  I'm sure that I'm
not the only user who will want to use Gnus with Exchange 2007.  This
fix, incorrect though it may be, does work.  Is there something other
IMAP command that will get data in the way Gnus needs to see it?

...Jake

-- 
Jake Colman
Director of Software Development
Principia Partners LLC
101 West Elm Street
Suite 620
Conshohocken, PA  19428
+1 (610) 755-9786
www.principiapartners.com



  reply	other threads:[~2008-04-01 14:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <767ifjymej.fsf@dev-d01.ppllc.com>
2008-03-31 18:50 ` Exchange 2007 Issues When Copying Between Folders Ted Zlatanov
2008-04-01 14:06   ` Simon Josefsson
2008-04-01 14:13     ` Jake Colman [this message]
2008-04-01 14:14     ` Jake Colman
2008-04-01 14:21       ` Simon Josefsson
2008-04-01 14:29         ` Simon Josefsson
2008-04-01 14:34           ` Jake Colman
2008-04-01 14:49             ` Simon Josefsson
2008-04-01 22:00     ` Gaute Strokkenes
2008-04-01 22:08       ` Simon Josefsson
2008-04-02 14:19     ` Ted Zlatanov
2008-04-02 14:33       ` Simon Josefsson
2008-04-03 13:09         ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=76d4p9k6hv.fsf@dev-d01.ppllc.com \
    --to=colman@ppllc.com \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=simon@josefsson.org \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).