From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31429 Path: main.gmane.org!not-for-mail From: dme@dme.org Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP searching - any thoughts ? Date: 15 Jun 2000 14:10:22 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035167840 13977 80.91.224.250 (21 Oct 2002 02:37:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:37:20 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 7F6C0D0520 for ; Thu, 15 Jun 2000 09:15:47 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id IAC03273; Thu, 15 Jun 2000 08:15:31 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 15 Jun 2000 08:14:50 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id IAA06033 for ; Thu, 15 Jun 2000 08:14:39 -0500 (CDT) Original-Received: from mail.dme.org (something.dme.org [212.240.232.120]) by mailhost.sclp.com (Postfix) with ESMTP id 93A69D051F for ; Thu, 15 Jun 2000 09:15:06 -0400 (EDT) Original-Received: (from daemon@localhost) by mail.dme.org (8.8.5/8.8.5) id OAA03451; Thu, 15 Jun 2000 14:10:40 +0100 (BST) Original-Received: from serafina-pekkala.dme.org(10.0.0.6) via SMTP by mail.dme.org, id smtpd003449; Thu Jun 15 13:10:32 2000 Original-Received: (from dme@localhost) by serafina-pekkala.dme.org (8.9.3/8.9.3) id OAA06128; Thu, 15 Jun 2000 14:10:31 +0100 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Thu, 15 Jun 2000 14:48:28 +0200" Original-Lines: 23 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Acadia) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31429 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31429 "kg" =3D=3D Kai Gro=DFjohann writes: kg> Please tell me how it goes. I grabbed it and have it working. Something that confused me was the need to mark the groups before searching. I've changed the IMAP search function to allow me to specify the full string passed to the IMAP server: ; (imap-search (concat "TEXT \"" qstring "\"") buf)) (imap-search qstring buf)) Which allows searches such as: sentsince 13-jun-2000 body "woolly mammoth" which is much quicker (on my Cyrus server anyway) than: text "woolly mammoth" Admittedly, they don't necessarily produce the same results (the latter is likely to get more), but that's part of the reason for the change. Thanks - it's most splendid ! dme.