On Sat, May 13, 2000 at 11:43:52AM +0800, Greg Matheson wrote:
> On Fri, May 12, 2000 at 05:00:37PM +0200, Michael Tatge wrote:
> 
> > On Fri, May 12, 2000 at 08:57:40AM +0100, Chris Green wrote:
> > > In general I think I'd prefer the browser to *always* start from
> > > $folder...
> 
> > There is a rather uncomfortable way to achieve this. Type
> > c?cPath/to/folder
> 
> And this could be made a folder hook, couldn't it.

Unfortunately the <change-dir> prompt can't be overtyped as it is with
the <change-folder> prompt. Does anybody know the reason for this?
Currently you would have to delete the string at the prompt first which
is kind of difficult within a macro.

A very clumsy way to do it would be
macro index <key> c?c<backspace><backspace><backspace>...[as often as
needed]/path/to/$folder\n

> I had the opposite problem. I wanted to get back to the place in the
> mailboxes screen I had just been so I now have 38 folder-hooks in my
> .muttrc of the form:
> 
> folder-hook . 'macro index h <change-folder>?<tab><jump><enter>0<enter>'
> folder-hook '!' 'macro index h <change-folder>?<tab><jump><enter>1<enter>'
> folder-hook =tn 'macro index h <change-folder>?<tab><jump><enter>2<enter>'

I'm not sure if I understand you correctly. This way to are only able
to go from one folder to a specific other one. So
folder-hook =tn 'macro index h c=whatever mailbox #2 is in you example'
would do the same, right? In this case I would prefer changing
mailboxes manually rather then having a lot folder-hooks. But that's
certainly personal stile.

Michael
-- 
Swap read error.  You lose your mind.

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13

Reply via email to