Re: Search in limited index

2019-10-06 Thread Cameron Simpson

On 27Sep2019 11:05, Salve Håkedal  wrote:
If I limit (l) the saved mail index to one person by searching for that 
persons name, the entries in the index is reduced to only mails from 
that person. Within only these mails, how can I search for i.e.  
"price" in the mail bodies?


Just do an ordinary search for "~b price". It will be applied only to 
those messages available under the limit. I find this very handy.


Cheers,
Cameron Simpson 


Re: Search in limited index

2019-10-06 Thread Francesco Ariis
Hello Salve,

On Fri, Sep 27, 2019 at 11:05:10AM +0200, Salve Håkedal wrote:
> If I limit (l) the saved mail index to one person by searching for that
> persons name, the entries in the index is reduced to only mails from that
> person. Within only these mails, how can I search for i.e. "price" in the
> mail bodies?

You can stack filters and they'll be merged together with a logical
and, so modifying the limit as

~f Name ~b Someothertext

will do.

Limiting first and then searching for a particular body string will
work too, going through the messages with  (`n` on my
machine).

Does this help?
-F


Re: Search in limited index

2019-10-06 Thread lists
On Fri, Sep 27, 2019 at 11:05:10AM +0200, Salve Håkedal wrote:
> If I limit (l) the saved mail index to one person by searching for
> that persons name, the entries in the index is reduced to only mails
> from that person. Within only these mails, how can I search for i.e.
> "price" in the mail bodies?

You can just AND the patterns. This does not even require extra syntax,
just use e.g. this as the limit pattern:

  ~f Salve ~b price

See the manual at http://www.mutt.org/doc/manual/#complex-patterns for
more details.


Search in limited index

2019-10-06 Thread Salve Håkedal

Hi

If I limit (l) the saved mail index to one person by searching for that 
persons name, the entries in the index is reduced to only mails from 
that person. Within only these mails, how can I search for i.e. "price" 
in the mail bodies?


--
Mvh Salve Håkedal