From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Behavior of Gnus when called from an hyperlink Date: Mon, 19 Jul 2010 22:37:08 +0200 Message-ID: <87wrsrmcnf.fsf@mundaneum.com> References: <87r5jrcx9g.fsf@mundaneum.com> <8763138nna.fsf@thinkpad.tsdh.de> <87ocev5pn3.fsf@mundaneum.com> <87fx071fsg.fsf@mundaneum.com> <23582.1277735944@gamaville.dokosmarshall.org> <87vd936wiq.fsf@mundaneum.com> <87eifr3t52.fsf@thinkpad.tsdh.de> <87vd8gcu6k.fsf@mundaneum.com> <87oce7j26i.fsf@thinkpad.tsdh.de> <87fwzjfyf8.fsf@mundaneum.com> <878w5bkxx7.fsf@mundaneum.com> <87hbjyzicz.fsf@thinkpad.tsdh.de> <13292.1279382554@gamaville.dokosmarshall.org> <87zkxpanh1.fsf@mundaneum.com> <23154.1279399784@gamaville.dokosmarshall.org> <87zkxpg5cg.fsf@mundaneum.com> <87wrstn4a9.fsf@mundaneum.com> <87fwzf51t1.fsf@thinkpad.tsdh.de> <87d3ujbrwt.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi David, Tassilo and Nick, David Maus wrote: > Tassilo Horn wrote: >> Please check, if that function is that slow for all message-ids or if >> that's only for some. The function has a "FIXME: Should this try to use >> CHARSET? -- fx", and maybe this answer has to be answered with Yes! > > I think this is not very likely: With the CHARSET argument a client can > inform the server that the search string is in a charset different than t= he > default 7bit ASCII (Cf. rfc3501, 6.4.4). > > You could rule out the server being the culprit by performing the search > manually: > > gnutls-cli --crlf --port 993 your.mail.host.here > > 0x1 LOGIN "user" "password" > 0x2 SELECT Inbox.work > 0x3 SEARCH HEADER "Message-ID" "message id w/o angle brackets" > > 0x4 LOGOUT Great idea to test that. I began with it (before going to edebug more functions): --8<---------------cut here---------------start------------->8--- [sva@mundaneum] />nc -vv mail imap Connection to mail 143 port [tcp/imap2] succeeded! * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=3DORDEREDSUBJE= CT THREAD=3DREFERENCES SORT QUOTA IDLE ACL ACL2=3DUNION STARTTLS XMAGICTRAS= H] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPY= ING for distribution information. 0x1 LOGIN "sva" "" 0x1 OK LOGIN Ok. 0x2 SELECT INBOX.mc * FLAGS ($MDNSent Junk gnus-save gnus-forward NonJunk $Forwarded \Draft \An= swered \Flagged \Deleted \Seen \Recent) * OK [PERMANENTFLAGS ($MDNSent Junk gnus-save gnus-forward NonJunk $Forward= ed \* \Draft \Answered \Flagged \Deleted \Seen)] Limited * 27072 EXISTS * 0 RECENT * OK [UIDVALIDITY 1097250695] Ok * OK [MYRIGHTS "acdilrsw"] ACL 0x2 OK [READ-WRITE] Ok 0x3 SEARCH HEADER "Message-ID" "871vbrxzo6.fsf-pwAqS3aGAJQybS5Ee8rs3A@public.gmane.org" * SEARCH 26856 0x3 OK SEARCH done. 0x3 SEARCH HEADER "Message-ID" "871vbrxzo6.fsf-pwAqS3aGAJQybS5Ee8rs3A@public.gmane.org" * SEARCH 26856 0x3 OK SEARCH done. 0x4 LOGOUT * BYE Courier-IMAP server shutting down 0x4 OK LOGOUT completed [sva@mundaneum] /> --8<---------------cut here---------------end--------------->8--- Did twice the same request. Did take twice 5 mins... > My main account uses Courier on Debian, too and search for a particular > message id within ~7000 messages is quite fast. In my case, the culprit seems well to be our mail server, then. > Couldn't find this information in the tread: Is it slow for a particular > message or slow on Inbox.work in general? I answered this in the early beginning of the thread: time taken for opening the link seems to be (linearly?) dependant on the size of the mail groups. In INBOX.mc (the group for all work-related emails, containing ~27,000 emails), it takes ~5 mins to open a link from Org. In other normally-sized groups (a couple of 100's of emails), it took a cou= ple of seconds (> 10 s). Maybe a problem is that I keep all of my emails (but the spams...) since the beginning: now, over 140,000 emails entered my INBOX -- only the spams left it. What would be your pieces of advice in such a case? Do I need to test something extra? Get a local imap server? Others (like asking for fixing the search on our Courier mail server)? Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode