Gnus development mailing list
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
Subject: Re: searching mail
Date: 31 Mar 1999 05:27:39 -0800	[thread overview]
Message-ID: <m3pv5paiwk.fsf@satellite.local.lan> (raw)
In-Reply-To: John Saylor's message of "30 Mar 1999 21:46:55 -0500"

John Saylor <jsaylor@mediaone.net> writes:

> Hi
> 
> I've been using gnus to read mail, and I like it. One thing I'm
> missing is the ability to search my mail messages for a phrase- like
> "posting-styles".
> 
> I saw Kai had posted something on gnu.emacs.sources to provice an
> emacs front end to a search engine which seems nice, but a little high 
> on overhead. Are there any other options in gnus for searching mail?

Kai's nnir.el is by far the best method becaues it can search one or
all groups ( your choice)

Gnus does have native search ability though.  In a group you can
search for a regular expression using the command 'M-s' and then enter
the expression at the prompt.

This method is rather slow, as it shows you each hit as you go.

The "limiting" features are excellent for author, subject etc
searches.  (In group buffer press C-c C-i then g <type Limiting><RET>
to learn about those features)

There is one more handy search technique that will find a string in
the body as you mention.

Try the `&' command and follow the prompts.  When asked for "header"
at the prompt, say "Body" then enter the search string.  Gnus will ask
you what command to execute on its findings.  Enter "#".

Gnus will then tear thru the group putting the "Process" (#) mark on
any articles containing the string you entered.  You can then limit
the view to those articles by pressing `/ n'  

This way is fast and powerful, but is limited to one group at a time.
Although may work on `Virtural' grouos or in `Topics'.  I haven't
tried that.

In group/summary buffer press C-c C-i  g then type <searching for
articles><RET>  to read about this technique.


> 
> Also, what about saving mail? Can anyone offer arguments as to why
> it's better to put them all messages in a single big file or many
> smaller files?
> 
> Anyone who switched from one way to the other? And why?

Not exactly, but I think the nnfolder is an example of a spool file,
and I've noticed it to be much slower to enter or generate a summary,
than the nnml groups.

> 
> As always, thanks.
> 
> -- 
> \js
> 
> "Well, social relevance is a schtick, like mysteries, social relevance, 
> science fiction..."
> -- Art Spiegelman
> 

-- 
Harry Putnam <reader@newsguy.com>
Running Redhat Linux 5.2
See  http://www.jtan.com/~reader  for A brief pictorial 
saga of construction work in the trade of "Boilermaker"


      parent reply	other threads:[~1999-03-31 13:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-31  2:46 John Saylor
1999-03-31 13:23 ` Kai.Grossjohann
1999-03-31 13:27 ` Harry Putnam [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=m3pv5paiwk.fsf@satellite.local.lan \
    --to=reader@newsguy.com \
    /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).