On Mon, Mar 24, 2014 at 11:11:20AM +1100, Cameron Simpson wrote:
> On 23Mar2014 18:42, Eduardo Alvarez <[email protected]> wrote:
> > On Sun, Mar 23, 2014 at 07:57:07PM +0100, Matthias Apitz wrote:
> > > Is there such feature in mutt somehow?
> > 
> > Creative use of scoring can achieve this.
> 
> Really? That's interesting. Can you provide a recipe or suggestion?
> Incomplete is fine. I don't presently use scoring, and this sounds
> like a relevant excuse to learn.

Well, on second thought, it's probably not what Matthias really wants...at
least, not what I'm guessing he wants, which is to not display threads he has
marked "unwanted" on the index. What you can do, is, set the score based on the
subject of the thread, then sort by scoring. It won't hide the threads, but at
least put them at the bottom of the index so they're not interweaved with wanted
messages.

So to set the score for a thread, one could do this:

score '~s this_thread_deemed_unworthy' 0
set score='sort'

Alternatively, you could use color to visually mark the offending threads as
such. For example

color index red black "~n 0"

Or you could even mark them for deletion immediately:

set score_threshold_delete=0

Another solution, not strictly for mutt, is to write a procmail recipe that
deleted all messages matching the subject of the offending thread.

-- 
Eduardo Alvarez

"Stercus, Stercus, Stercus, moriturus sum"
  -- Rincewind The Wizzard

-- 
Eduardo Alvarez

"Stercus, Stercus, Stercus, moriturus sum"
  -- Rincewind The Wizzard

Attachment: pgpn2gOtvADgl.pgp
Description: PGP signature

Reply via email to