Re: Access to "where I am" in mail hierarchy when using mutt -
On Fri, Feb 16, 2007 at 10:58:10PM +0100, Christoph Berg wrote:
> Re: Eur Ing Chris Green 2007-02-16 <20070216211320.GA2450@xxxxxxxxxxxxxxxxxxx>
> > Is there any variable or anything that can be used in mutt macros to
> > say where one is in the mail hierarchy?
>
> ^ expands to the current folder name.
>
Ah, thank you, I thought I'd read the manual pretty thoroughly but I
didn't spot that.
> > I want to be able to write mutt macros which can do things like create
> > or delete directories in the mail hierarchy while I'm running mutt.
> > This seems an obvious sort of thing to want to do but basic mutt
> > commands don't allow any manipulation of directories.
>
> Backticks work - `mkdir`.
>
Now I have ^ I think I have what I need.
--
Chris Green