Okay, I agree about the headers, but how exactly does one get %decode() to
work in a filter for the replied text?? I just tried...
from:nocomponent,formatfield="From: %decode()":
from:nocomponent,formatfield="From: %decode(%(putstr{text}))":
Sigh. I won't defend mh-format(5) syntax because it's kinda weird, but
it's actually all in the man page (and I told you the wrong syntax for
decode, because even though I have been inside of that code I always forget
the damn syntax)). You probably want something closer to:
%(decode{text})
If you wanted to nest these functions (which you don't in this case) you'd
do something like:
%(decode(putstr{text}))
But that would probably end up with you printing out the text twice. You
might actually prefer:
%(putstr(decode{text}))
But I think that's redundant .... yes, actually, I just checked. It is.
You might find the tools "ap" and "fmtcomp" helpful (they're both in the
nmh lib directory).
--Ken
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers