Re: where does it search
Hi, * bill lam wrote: Thanks Vance and Kyle. I once had to kill mutt when searching gmail imap with ~b. If your mutt is recent enough, it also supports body caching so that already viewed message won't be downloaded again (for searching or any other operation): http://dev.mutt.org/doc/manual.html#tuning-messages Regards, Rocco
Re: where does it search
Hi, * Vance Shipley wrote: I have been using a bookmark for http://www.mutt.org/doc/manual. I now see that a more up to date manual is here http://dev.mutt.org/doc/manual.html where this is documented. It's not about outdated or up-to-date, please use the manual for the version of mutt you're using which should be installed locally. http://www.mutt.org/doc/manual/ says it applies to version 1.4.2.3 which is still the lates official stable release (to which the manual at dev.mutt.org in parts doesn't apply). Regards, Rocco
where does it search
In index page, / or T can search a pattern or regex, and there are modifiers like ~h ~b to force searching inside header or body etc. But what is the context for searching without any such modifiers, does it search the header or body or just what is visible of the index screen? TIA -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
Re: where does it search
Hi, * bill lam wrote: In index page, / or T can search a pattern or regex, and there are modifiers like ~h ~b to force searching inside header or body etc. But what is the context for searching without any such modifiers, does it search the header or body or just what is visible of the index screen? This feature is called simple search, see $simple_search and its documentation: mutt generates a pattern with modifiers for you. Regards, Rocco
Re: where does it search
Bill, Something which is undocumented, as far as I can see, is that when working with an IMAP mail store you can search conduct the search on the server. If you do a /~b it will have to download all the messages to do the search. If you replace '~' with '=' in your search pattern (e.g. /=b foo) it will compile a search function and send it to the server. This should really make it into the manual as it's very important for IMAP users. -Vance On Fri, Sep 26, 2008 at 12:03:12AM +0800, bill lam wrote: } In index page, / or T can search a pattern or regex, and there are } modifiers like ~h ~b to force searching inside header or body etc. } But what is the context for searching without any such modifiers, does } it search the header or body or just what is visible of the index } screen?
Re: where does it search
On Thu, 25 Sep 2008, Rocco Rutte wrote: This feature is called simple search, see $simple_search and its documentation: mutt generates a pattern with modifiers for you. Thank you Rocco! The friendly way to rtfm. ;-) -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
Re: where does it search
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday, September 25 at 12:38 PM, quoth Vance Shipley: Something which is undocumented, as far as I can see, is that when working with an IMAP mail store you can search conduct the search on the server. If you do a /~b it will have to download all the messages to do the search. If you replace '~' with '=' in your search pattern (e.g. /=b foo) it will compile a search function and send it to the server. This should really make it into the manual as it's very important for IMAP users. From the muttrc man page: =b STRING messages which contain STRING in the message body. If IMAP is enabled, searches for STRING on the server, rather than downloading each message and searching it locally. (I wrote that part of the documentation.) ~Kyle - -- Captain, the most elementary and valuable statement in science, the beginning of wisdom is I do not know. -- Lt. Cmdr Data -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iEYEARECAAYFAkjbwNEACgkQBkIOoMqOI17l/ACfWFYBavTB9wcf3/msjqO3ZAW7 GMQAn1N9ZKUsbNcgkZuEjy5YlmbKvtVG =EfBF -END PGP SIGNATURE-
Re: where does it search
Kyle, I have been using a bookmark for http://www.mutt.org/doc/manual. I now see that a more up to date manual is here http://dev.mutt.org/doc/manual.html where this is documented. -Vance On Thu, Sep 25, 2008 at 11:48:17AM -0500, Kyle Wheeler wrote: } From the muttrc man page: } } =b STRING messages which contain STRING in the message body. If } IMAP is enabled, searches for STRING on the server, } rather than downloading each message and searching it } locally.
Re: where does it search
Thanks Vance and Kyle. I once had to kill mutt when searching gmail imap with ~b. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3