From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69833 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: (gnus-summary-goto-article ) extremely slow for certain IMAP server Date: Mon, 26 Jul 2010 22:29:12 +0200 Message-ID: <87lj8yyokn.fsf@randomsample.de> References: <201007262042.04971.tassilo@member.fsf.org> <87pqyayrfy.fsf@randomsample.de> <201007262143.28216.tassilo@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280176185 30967 80.91.229.12 (26 Jul 2010 20:29:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2010 20:29:45 +0000 (UTC) Cc: ding@gnus.org, =?iso-8859-1?Q?S=E9bastien?= Vauban , David Maus To: Tassilo Horn Original-X-From: ding-owner+M18223@lists.math.uh.edu Mon Jul 26 22:29:43 2010 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 1OdUIx-000746-As for ding-account@gmane.org; Mon, 26 Jul 2010 22:29:43 +0200 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 1OdUIm-00015d-4J; Mon, 26 Jul 2010 15:29:32 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OdUIk-00015N-DV for ding@lists.math.uh.edu; Mon, 26 Jul 2010 15:29:30 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OdUIj-0007AP-Bd for ding@lists.math.uh.edu; Mon, 26 Jul 2010 15:29:30 -0500 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OdUIh-0002Kd-00 for ; Mon, 26 Jul 2010 22:29:27 +0200 Original-Received: from dslc-082-082-174-024.pools.arcor-ip.net ([82.82.174.24] helo=spaten) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OdUIg-0001Ys-Ai; Mon, 26 Jul 2010 22:29:26 +0200 In-Reply-To: <201007262143.28216.tassilo@member.fsf.org> (Tassilo Horn's message of "Mon, 26 Jul 2010 21:43:02 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Mail-Copies-To: never Mail-Followup-To: Tassilo Horn , ding@gnus.org, =?iso-8859-1?Q?S=E9bastien?= Vauban , David Maus X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69833 Archived-At: Tassilo Horn writes: >> Yes. You could use nnimap-retrieve-headers-from-file and check if you >> find the MID there. > > Hm, ok. How do I get server for a given nnimap+Foo:some.group spec? > `gnus-group-server'? Well, that depends... In any case, the nnimap- functions don't accept the 'nnimap:' prefix. I think the safest way is to make a detour over the group's method: (nth 1 (gnus-find-method-for-group group)) That may be costly, but otherwise you have to fiddle with the different naming conventions of primary, secondary and foreign groups. And you don't want that. -David