On Sat, Aug 11, 2007 at 08:54:12AM -0600, Kyle Wheeler wrote: > On Saturday, August 11 at 11:57 AM, quoth Chris G: > >Do the commands hooked by folder-hook get executed as the selected > >folder is opened, i.e. just before the folder index is displayed? Is > >this the *only* time folder-hook gets executed? > > Yup. > OK, thanks.
> >Is the name of the folder used for matching the RE just the filename > >(if it's an mbox) or the directory name (if it's a maildir) with no > >attached hierarchy? > > The hierarchy is attached; the pattern is matched against the full > folder name. > So if I go to a folder whose full path is:- /home/chris/Mail/france/meteo ... and in the line a the top of mutt I see:- =france/meteo Can the folder hook RE match on /home/chris/Mail/france/meteo or =france/meteo or just meteo? -- Chris Green