From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76093 Path: news.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.gnus.general Subject: Re: Wrong behaviour while fetching message with IMAP Date: Fri, 28 Jan 2011 10:46:26 -0500 Message-ID: <874o8t1165.fsf@andy.bu.edu> References: <87vd19yg8y.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296229626 5545 80.91.229.12 (28 Jan 2011 15:47:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 28 Jan 2011 15:47:06 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24445@lists.math.uh.edu Fri Jan 28 16:47:01 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PiqXL-0008WV-I0 for ding-account@gmane.org; Fri, 28 Jan 2011 16:46:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PiqXD-00013Q-QH; Fri, 28 Jan 2011 09:46:51 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PiqXC-000138-Cj for ding@lists.math.uh.edu; Fri, 28 Jan 2011 09:46:50 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PiqX7-00061Z-JD for ding@lists.math.uh.edu; Fri, 28 Jan 2011 09:46:50 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PiqX6-0005qK-Rr for ding@gnus.org; Fri, 28 Jan 2011 16:46:44 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PiqX4-0008Ji-JQ for ding@gnus.org; Fri, 28 Jan 2011 16:46:42 +0100 Original-Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Jan 2011 16:46:42 +0100 Original-Received: from cohen by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Jan 2011 16:46:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: rain.gmane.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:R6b+TjnO/1ojjDKP/So3AnGcYTc= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76093 Archived-At: >>>>> "Lars" == Lars Ingebrigtsen writes: Lars> Julien Danjou writes: >> Clicking on a message id in a mail, does very weird thing it >> seems. >> >> Simplified backtrace: >> >> * >> gnus-read-header("<92164B15-45D1-4D76-9AF6-8E1E098C04BD@telia.com>") Lars> Interesting. This basically boils down to the two following Lars> commands: Lars> 17:16:09 7071 EXAMINE "ding" 17:16:16 7072 UID SEARCH HEADER Lars> Message-Id "<92164B15-45D1-4D76-9AF6-8E1E098C04BD@telia.com>" Lars> And this is what my IMAP server is returning: Lars> * SEARCH 7072 OK Search completed (0.032 secs). Lars> I.e., it didn't find it. I think. But the article is clearly Lars> in the ding mailbox, and fetching messages by Message-ID used Lars> to work. I mean, that's what's used when moving articles, Lars> too... Lars> And that code hasn't changed for a while. Lars> Anybody? This is with a Dovecot IMAP server. I just tried it and it worked for me (I haven't updated from git since Jan 24 though). Just to be clear: I emailed myself a message with the message-id of an existing email on my imap server in the body. Clicking on the message-id in this new email adds the old one to the summary buffer and opens the email in the article buffer. I also stepped through nnimap-find-article-by-message-id while this was happening to see that the search was performed and the message was found. Both messages were in the same imap group (since IMAP SEARCH doesn't work across groups I suppose that the messages would have to be in the same group). Regards, Andy