* IMAP "SEARCH" capability?
@ 2003-09-10 17:27 Chris Shenton
2003-09-10 17:34 ` Bjørn Mork
2003-09-10 17:58 ` David S Goldberg
0 siblings, 2 replies; 9+ messages in thread
From: Chris Shenton @ 2003-09-10 17:27 UTC (permalink / raw)
Previously, when I accessed locally-stored mail with nnml, I ran
glimpse on the mail files every night then used "nnir" to search it.
I recently switched to using Gnus' nnimap, currently against a
courier-imap server. I'm currently using Gnus v5.10.2. I can't find
a search feature for imap.
When I've used Mozilla's mail client against the same server I can use
its "Search Messages" function and find it very helpful. I can't find
anything similar in the Gnus *info* docs or by scanning the source
code.
Am I missing a search function? Are there alternatives?
Thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IMAP "SEARCH" capability?
2003-09-10 17:27 IMAP "SEARCH" capability? Chris Shenton
@ 2003-09-10 17:34 ` Bjørn Mork
2003-09-10 17:58 ` David S Goldberg
1 sibling, 0 replies; 9+ messages in thread
From: Bjørn Mork @ 2003-09-10 17:34 UTC (permalink / raw)
Chris Shenton <chris@shenton.org> writes:
> Previously, when I accessed locally-stored mail with nnml, I ran
> glimpse on the mail files every night then used "nnir" to search it.
>
> I recently switched to using Gnus' nnimap, currently against a
> courier-imap server. I'm currently using Gnus v5.10.2. I can't find
> a search feature for imap.
(setq nnir-search-engine 'imap)
Depending on your version of nnir you may also have to do something
like (setq nnir-mail-backend (nth 0 gnus-secondary-select-methods))
Bjørn
--
It's well known that you remind me of Karl Marx.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IMAP "SEARCH" capability?
2003-09-10 17:27 IMAP "SEARCH" capability? Chris Shenton
2003-09-10 17:34 ` Bjørn Mork
@ 2003-09-10 17:58 ` David S Goldberg
2003-09-21 15:03 ` Amos Gouaux
` (2 more replies)
1 sibling, 3 replies; 9+ messages in thread
From: David S Goldberg @ 2003-09-10 17:58 UTC (permalink / raw)
I use nnir for that capability. If you don't see imap there, then
perhaps you need a newer version. The one I use is quite old but it
works well enough that I haven't found a need to go searching for a
newer one (though I'm fairly certain I've seen Kai announce them).
`nnir-version' is a variable declared in Lisp.
-- loaded from "nnir"
Value: "$Id: nnir.el,v 1.68 2001/05/26 23:34:07 grossjoh Exp $"
--
Dave Goldberg
david.goldberg6@verizon.net
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IMAP "SEARCH" capability?
2003-09-10 17:58 ` David S Goldberg
@ 2003-09-21 15:03 ` Amos Gouaux
2003-09-27 8:18 ` Torsten Hilbrich
2003-09-27 10:21 ` Torsten Hilbrich
2 siblings, 0 replies; 9+ messages in thread
From: Amos Gouaux @ 2003-09-21 15:03 UTC (permalink / raw)
>>>>> On Wed, 10 Sep 2003 13:58:38 -0400,
>>>>> David S Goldberg <david.goldberg6@verizon.net> (dsg) writes:
dsg> I use nnir for that capability. If you don't see imap there, then
dsg> perhaps you need a newer version. The one I use is quite old but it
dsg> works well enough that I haven't found a need to go searching for a
dsg> newer one (though I'm fairly certain I've seen Kai announce them).
dsg> `nnir-version' is a variable declared in Lisp.
dsg> -- loaded from "nnir"
dsg> Value: "$Id: nnir.el,v 1.68 2001/05/26 23:34:07 grossjoh Exp $"
Does anybody have a mirror of this? Kai's old site
ftp://ls6-ftp.cs.uni-dortmund.de/pub/src/emacs/nnir.el
appears to be down. I noticed he posted in here not long ago that
nnsearch.el is/will be replacing nnir.el, but it seems nnsearch.el
doesn't yet have IMAP support?
--
Amos
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IMAP "SEARCH" capability?
2003-09-10 17:58 ` David S Goldberg
2003-09-21 15:03 ` Amos Gouaux
@ 2003-09-27 8:18 ` Torsten Hilbrich
2003-09-27 10:21 ` Torsten Hilbrich
2 siblings, 0 replies; 9+ messages in thread
From: Torsten Hilbrich @ 2003-09-27 8:18 UTC (permalink / raw)
David S Goldberg <david.goldberg6@verizon.net> writes:
> I use nnir for that capability. If you don't see imap there, then
> perhaps you need a newer version. The one I use is quite old but it
> works well enough that I haven't found a need to go searching for a
> newer one (though I'm fairly certain I've seen Kai announce them).
I have made some changes to nnir concerning IMAP searches:
- the current group is searched if no group is marked
(an error was signalled before)
- Using the prefix argument C-u you can select whether to search
the full message (the only option before that change), a list
of well known headers, or any header input in the minibuffer.
I use completing-read here with history support.
I made the changes based on:
;; $Id: nnir.el,v 1.1.1.1 2003/04/04 20:16:09 lolando Exp $
Here is one variable introduced to give you an impression of what has
been added.
(defvar nnir-imap-search-arguments
'(("Whole message" . "TEXT")
("Subject" . "SUBJECT")
("To" . "TO")
("From" . "FROM")
(nil . "HEADER \"%s\"")))
If anyone is interested, I could either send the changes via private mail
or to the list (please tell me if that would be okay). The
new definitions are about 80 lines.
Torsten
BTW: Is Kai still maintaining the nnir.el code?
BTW2: License of the changes is, of course, GPL.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IMAP "SEARCH" capability?
2003-09-10 17:58 ` David S Goldberg
2003-09-21 15:03 ` Amos Gouaux
2003-09-27 8:18 ` Torsten Hilbrich
@ 2003-09-27 10:21 ` Torsten Hilbrich
2003-09-30 21:10 ` Kai Grossjohann
2 siblings, 1 reply; 9+ messages in thread
From: Torsten Hilbrich @ 2003-09-27 10:21 UTC (permalink / raw)
[Note: Repost, the first message was with from wrong from header]
David S Goldberg <david.goldberg6@verizon.net> writes:
> I use nnir for that capability. If you don't see imap there, then
> perhaps you need a newer version. The one I use is quite old but it
> works well enough that I haven't found a need to go searching for a
> newer one (though I'm fairly certain I've seen Kai announce them).
I have made some changes to nnir concerning IMAP searches:
- the current group is searched if no group is marked
(an error was signalled before)
- Using the prefix argument C-u you can select whether to search
the full message (the only option before that change), a list
of well known headers, or any header input in the minibuffer.
I use completing-read here with history support.
I made the changes based on:
;; $Id: nnir.el,v 1.1.1.1 2003/04/04 20:16:09 lolando Exp $
Here is one variable introduced to give you an impression of what has
been added.
(defvar nnir-imap-search-arguments
'(("Whole message" . "TEXT")
("Subject" . "SUBJECT")
("To" . "TO")
("From" . "FROM")
(nil . "HEADER \"%s\"")))
If anyone is interested, I could either send the changes via private mail
or to the list (please tell me if that would be okay). The
new definitions are about 80 lines.
Torsten
BTW: Is Kai still maintaining the nnir.el code?
BTW2: Of course the changes are licensed throught the GPL.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IMAP "SEARCH" capability?
2003-09-27 10:21 ` Torsten Hilbrich
@ 2003-09-30 21:10 ` Kai Grossjohann
2003-09-30 22:15 ` Adam Sjøgren
2003-10-17 18:05 ` Lars Magne Ingebrigtsen
0 siblings, 2 replies; 9+ messages in thread
From: Kai Grossjohann @ 2003-09-30 21:10 UTC (permalink / raw)
Torsten Hilbrich <gnus@myrkr.in-berlin.de> writes:
> BTW: Is Kai still maintaining the nnir.el code?
I'm trying to, and failing. Too little time :-/ From time to time, I
incorporate patches that people send, without testing them. It's not
a desirable state of affairs.
Maybe committing it to the contrib directory will help in one way or
another.
I also don't really have time to work on nnsearch now.
But my newborn daughter is just more fun! 8-)
> BTW2: Of course the changes are licensed throught the GPL.
If it is to be part of Gnus, copyright assignment will be needed.
Are you willing to do the paperwork?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IMAP "SEARCH" capability?
2003-09-30 21:10 ` Kai Grossjohann
@ 2003-09-30 22:15 ` Adam Sjøgren
2003-10-17 18:05 ` Lars Magne Ingebrigtsen
1 sibling, 0 replies; 9+ messages in thread
From: Adam Sjøgren @ 2003-09-30 22:15 UTC (permalink / raw)
On Tue, 30 Sep 2003 23:10:08 +0200, Kai wrote:
> I also don't really have time to work on nnsearch now.
> But my newborn daughter is just more fun! 8-)
Congratulations!
Given your contributions I think you can easily be excused :-)
Best regards,
--
"Vi är små citroner" Adam Sjøgren
asjo@koldfront.dk
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: IMAP "SEARCH" capability?
2003-09-30 21:10 ` Kai Grossjohann
2003-09-30 22:15 ` Adam Sjøgren
@ 2003-10-17 18:05 ` Lars Magne Ingebrigtsen
1 sibling, 0 replies; 9+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-10-17 18:05 UTC (permalink / raw)
Kai Grossjohann <kai.grossjohann@gmx.net> writes:
> I also don't really have time to work on nnsearch now.
>
> But my newborn daughter is just more fun! 8-)
Congratulations. :-)
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-10-17 18:05 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-10 17:27 IMAP "SEARCH" capability? Chris Shenton
2003-09-10 17:34 ` Bjørn Mork
2003-09-10 17:58 ` David S Goldberg
2003-09-21 15:03 ` Amos Gouaux
2003-09-27 8:18 ` Torsten Hilbrich
2003-09-27 10:21 ` Torsten Hilbrich
2003-09-30 21:10 ` Kai Grossjohann
2003-09-30 22:15 ` Adam Sjøgren
2003-10-17 18:05 ` Lars Magne Ingebrigtsen
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).