* "Lee J. Moore" <[EMAIL PROTECTED]> [2002-06-30 19:13 +0100]: > On Sun, 30 Jun 2002, Rob 'Feztaa' Park wrote: > > > Alas! Lee J. Moore spake thus: > [..] > > > `~/bin/maildir-count ~/Maildir/%f` > > > > > > ...it's actually, ~/Maildir/%f and *not* ~/Maildir/submaildir > > > that's being passed to the bash script. > > > > Well, yeah. The backticks are being evaluated when mutt starts, not when > > viewing a folder. So of course, %f cannot be expanded because mutt can't > > possibly know what it is. > > It's a pity that muttrc printf style format strings can't be > expanded into bash variables - allowing the user to pass them to > external scripts/programs. > > set $thisvariable="%f" > set folder_format="`~/bin/myscript $thisvariable`" > > I was hoping to have an incredibly descriptive folder_format > list, but my plans have been dashed by my little oversight. ;-)
I have the vague feeling to remember that <[EMAIL PROTECTED]> was about a patch for this problem. Nicolas