-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Tuesday, June 9 at 08:51 PM, quoth Jan-Herbert Damm: >Hello, > >i am confused about mutt's searching behaviour. >if i use the "/" (slash)- command in the index of my inbox i can search for a >name of somebody who sent me a mail. But the same command doesn't work in my >"sent" box. There the search only seems to match strings in the subject line. > >i am sure there is a simple explanation.
The short-short answer is: it IS searching the name of the person that sent the mail, but in your sent box, they've all been sent by *you*. When you do a search (via "/"), you're being prompted for a "simple pattern". But if you don't specify a pattern (e.g. something that begins with a tilde-letter combo), mutt uses the $simple_search setting to build a pattern string. The *default* $simple_search is: ~f %s | ~s %s What that essentially means is "find messages that have this string (%s) in the from-header (~f) or that have this string (%s) in the subject line (~s). Presumably, in your sent box, you'd want it to also search the recipients (since, like I said, all the messages in your sent box were sent by YOU), so you could change it to being: ~f %s | ~s %s | ~C %s Check the manual's (or the muttrc man page's) description of "simple patterns" for more details on what those letters mean. ~Kyle - -- Only small minds want always to be right. -- King Louis XIV -----BEGIN PGP SIGNATURE----- Comment: Thank you for using encryption! iQIcBAEBCAAGBQJKLrJlAAoJECuveozR/AWe2G0P/33LSY6h2PGcpds002XM1w8c xrHBkVTQvmfciQKRhCwk1/gfEY7D7d2cE75LbgPaEBeGsr/TAWl+vn03MXelZamt 6t3Jg0OGFg9LM69C3axWIx0nWql+rwopQsWy/qE14Y2Y9Prr+WM3v3+Fl/Wi88zZ kynArs4wLxpeYmsJSX1xDAEmuP/aglx7xUb6eMeIl5XKW+kIL/aXN0L0MiXJsoua j58yWPtGnFiM6iC5yxTiIbajqhFlH03TynG9RAfVv3R3jZG2ZGSZW9tjsXNeWcqs KSSF1tLRLwsQlSf8+Zoq2rHY7mWnMVrP3DutY9lupifRrP2qEM/NsDXdWoHfJ6cI eKtd5tVhu3NeGSB0JxtfQ/X0M4/oFeqowzTipDmky8hJTAm6+8vHNpTvxOFCdEDE yVRni+rUQ/b31CQFB8r9vKMhL9rxI49UwWqXtqKbHu/fctVSOik5zuThA6UqM5Nw EUtX+vUTHoRJ6AQ1D1VF4dRbgf5euCKh+lMNHY3ZfTVmw5+v37EiZqpNv3itqFUD E/1bhamAtAsemMiyhb+No7MqktTP7YD/4RQdywJcI62SYI+LAd0Pimu9WWB4lgck BvPB9XJZEVCjhjRAqtngDsBYxQINz0APWRpD5bHwhdwIcqRpO6/j2KtVtgwKSzs5 zC21hO+IRmVkokDfM6qy =drU+ -----END PGP SIGNATURE-----