<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #2967: limit could be smarter about filtering



#2967: limit could be smarter about filtering
--------------------------+-------------------------------------------------
  Reporter:  myon         |       Owner:  mutt-dev
      Type:  enhancement  |      Status:  closed  
  Priority:  minor        |   Milestone:          
 Component:  mutt         |     Version:  1.5.16  
Resolution:  worksforme   |    Keywords:          
--------------------------+-------------------------------------------------
Changes (by pdmef):

  * status:  new => closed
  * resolution:  => worksforme


Old description:

> {{{
> ----- Forwarded message from martin f krafft <madduck@xxxxxxxxxx> -----
>
> Date: Mon, 8 Oct 2007 12:25:18 +0100
> From: martin f krafft <madduck@xxxxxxxxxx>
> Reply-To: martin f krafft <madduck@xxxxxxxxxx>, 445821@xxxxxxxxxxxxxxx
> To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
> Subject: Bug#445821: could be smarter about filtering
>
> Package: mutt
> Version: 1.5.16-3
> Severity: wishlist
>
> If I limit a mailbox with a pattern like '~L dato ~b mutt', then
> mutt could really just search the body of messages to or from dato.
> However, mutt searches all bodies.
>
> It would be nice if mutt could do a two-stage search and run
> expensive patterns only on the result of less-expensive patterns, so
> that in the above example, only messages to or from dato would be
> body-searched.
> }}}

New description:

 {{{
 ----- Forwarded message from martin f krafft <madduck@xxxxxxxxxx> -----

 Date: Mon, 8 Oct 2007 12:25:18 +0100
 From: martin f krafft <madduck@xxxxxxxxxx>
 Reply-To: martin f krafft <madduck@xxxxxxxxxx>, 445821@xxxxxxxxxxxxxxx
 To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
 Subject: Bug#445821: could be smarter about filtering

 Package: mutt
 Version: 1.5.16-3
 Severity: wishlist

 If I limit a mailbox with a pattern like '~L dato ~b mutt', then
 mutt could really just search the body of messages to or from dato.
 However, mutt searches all bodies.

 It would be nice if mutt could do a two-stage search and run
 expensive patterns only on the result of less-expensive patterns, so
 that in the above example, only messages to or from dato would be
 body-searched.
 }}}

--

Comment:

 I can't reproduce it here, with $thorough_search set and unset and the
 code already has the optimization.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2967#comment:6>
Mutt <http://www.mutt.org/>
The Mutt mail user agent