[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-users
Subject:    Re: Strange problem
From:       Alain Bench <messtic () oreka ! com>
Date:       2004-09-25 7:57:30
Message-ID: 20040925075728.GA20779 () oreka ! com
[Download RAW message or body]

Salut Sébastien,

 On Tuesday, September 14, 2004 at 11:33:41 AM +0200, Sébastien Hinderer wrote:

>| folder-hook . 'push ":set record=^<enter>"'
>| folder-hook "!" 'push ":set record==outbox<enter>"'
> But if I run mutt in the spool file [...] record points to the spool
> file.

    Folder-hooks both match, both pushes are executed, in order. But
push commands feed input buffer in reverse order. I mean:

| push ":A"
| push ":B"

    ...will give ":B:A" in input. So your first $record=^ is really
executed last, and remains the active value.

    Perhaps change first "." pattern to "!!" (not spool). And BTW change
key ":" to function "<enter-command>".


Bye!	Alain.
-- 
Microsoft Outlook Express users concerned about readability: For much
better viewing quotes in your messages, check the little freeware
program OE-QuoteFix by Dominik Jain on <URL:http://flash.to/oblivion/>.
It'll change your life. :-) Now exists also for Outlook.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic