Re: Change into an mbox - like chdir
On (22:07 10/07/07), Cameron Simpson <cs@xxxxxxxxxx> put forth the proposition:
> On 09Jul2007 12:55, Peter Wiersig <peter@xxxxxxxxxxxxxxx> wrote:
> | On Mon, Jul 09, 2007 at 12:49:57PM +0200, Peter Wiersig wrote:
> | > On Mon, Jul 09, 2007 at 08:42:12AM +0100, David Woodfall wrote:
> | > > Is there a way of setting up a macro or bind similar to change
> | > > dir that will change to mbox?
> | >
> | > You probably don't know that ! is a shortcut to your configured
> | > inbox, do you?
> | >
> | > See chapter "7. Mailbox Shortcuts" in your manual.
> |
> | I got another read on your message and have it interpreted another
> | way now:
> |
> | In case you want to switch mutt cwd to the directory that matches
> | the current mailfolder:
> |
> | I don't think there is a possibility for that.
>
> Inside mutt, no. But if you invoke mutt via a shell script you could cd into
> a mail folder and then start mutt. If you run mutt once for a single folder
> that would work ok (I do it this way). However, most people start mutt and
> switch from folder to folder within it, and once inside mutt you can't change
> directories.
>
> But I think we both misunderstand his request.
Sorry it's hard to explain what I mean. Basically, I have some keybinds set
up like this:
macro browser l "<c>^u/home/dive/mail/lists<return>"
Works fine, but, I want to be able to cd into an mbox. I can't with <c>
because I get an error about it not being a folder. So is there a command I
can use in a macro or bind that will cd to an mbox?
> --
> Cameron Simpson <cs@xxxxxxxxxx> DoD#743
> http://www.cskk.ezoshosting.com/cs/
>
> The ultimate result of shielding men from the results of folly is to fill the
> world with fools. - Tom Biggs, DoD #1146, <tom.biggs@xxxxxxxxxxx>
--
Have you ever wondered what makes Californians so calm? Besides drugs,
I mean. The answer is hot tubs. A hot tub is a redwood container
filled with water that you sit in naked with members of the opposite
sex, none of whom is necessarily your spouse. After a few hours in
their hot tubs, Californians don't give a damn about earthquakes or
mass murderers. They don't give a damn about anything , which is why
they are able to produce "Laverne and Shirley" week after week.
-- Dave Barry, "The Taming of the Screw"