Jon Steinhart <[EMAIL PROTECTED]> writes:
> I have thought about this. There are time where one really wants to
> know THE current folder, which means none if there is none.
But there *is* a current folder if there isn't one in context, and
it's +inbox.
Why don't you use mhparam instead?
[EMAIL PROTECTED]:878]$ mhparam Current-Folder
[EMAIL PROTECTED]:879]$ echo $?
1
[EMAIL PROTECTED]:880]$ folder +lists
lists+ has no messages ; (others).
[EMAIL PROTECTED]:881]$ mhparam Current-Folder
lists
[EMAIL PROTECTED]:882]$ echo $?
0
--
Bill Wohler <[EMAIL PROTECTED]> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
_______________________________________________
Nmh-workers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/nmh-workers