Gnus development mailing list
 help / color / mirror / Atom feed
From: dme@dme.org
Cc: ding@gnus.org
Subject: Re: IMAP searching - any thoughts ?
Date: 15 Jun 2000 14:10:22 +0100	[thread overview]
Message-ID: <m37lbr3xa9.fsf@serafina-pekkala.dme.org> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Thu, 15 Jun 2000 14:48:28 +0200"

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 808 bytes --]

"kg" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 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.



      reply	other threads:[~2000-06-15 13:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-15  9:22 dme
2000-06-15 11:22 ` Kai Großjohann
2000-06-15 11:49   ` dme
2000-06-15 12:48     ` Kai Großjohann
2000-06-15 13:10       ` dme [this message]

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

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

  git send-email \
    --in-reply-to=m37lbr3xa9.fsf@serafina-pekkala.dme.org \
    --to=dme@dme.org \
    --cc=ding@gnus.org \
    /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.
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 NNTP newsgroup(s).