[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] Re: mhpath

From: Bill Wohler
Subject: [Nmh-workers] Re: mhpath
Date: Thu, 03 Nov 2005 09:26:05 -0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Jon Steinhart <address@hidden> 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?

    address@hidden:878]$ mhparam Current-Folder
    address@hidden:879]$ echo $?
    address@hidden:880]$ folder +lists
    lists+ has no messages       ;        (others).
    address@hidden:881]$ mhparam Current-Folder
    address@hidden:882]$ echo $?

Bill Wohler <address@hidden>  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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]