From: Cameron Simpson <c...@zip.com.au> Date: Sat, Dec 05, 2015 at 07:52:42AM +1100 > On 04Dec2015 20:45, Jurriaan <jurriaan_m...@onderneming10.net> wrote: > >Is there any way to have the 'l' command (limit) default to include > >searching the recipients email addresses in the sent mail folder? > > > What you want is the $simple_search configuration variable. > > If the expression supplied to <limit> or <search> does not look like a valid > pattern expression (~f and so forth) or one of the special words "all", > "tagged" etc, the string is embedded in the value of $simple_search, whose > default is: > > ~f %s | ~s %s > > i.e. search the author and subject as you observed. > > You could write a folder-hook to set $simple_search specially when in your > sent-email folder. For your interest, I set it to: > > set simple_search="~f %s | ~t %s | ~c %s | ~s %s" > > for all folders. >
Most excellent. I'm not sure what is more impressing: the power of mutt or the speed of it's users. This is easily adapted to the hooks I already had for normal and sent-mail folders, which alter index_format and sorting. Many thanks! Jurriaan