Earl Hood <earl(_at_)earlhood(_dot_)com> wrote:
On June 27, 2002 at 21:54, Tobias Nijweide wrote:
* I have a folder where I always want to use a different '-form'
option for scan.
Don't have a solution for this. You could code a variant of the patches
I mention below, with (recursive) searching of format files in maildirs.
An alternative is to do some shell scripting (or bash functions if
using bash) to get the desired effect. For example, you write your
own version of scan that checks the current folder, and then calls
nmh's scan with the proper -form option.
Yeah...I'd thought of that, but the arg list parsing problem (that you
mentioned) is what made me want to check to see if anyone had done
a more general solution. Also, I kinda vaguely remembered that exmh had
something like this (folder-specific settings) and thought that it could
have enough general appeal to be a reasonable addition to nmh.
To be more robust, the scripts could loop the argument list before
hand to see if a '+folder' argument is specified and to use it
when checking for folder specific format files. I leave this
as an excercise for the reader :-)