<<< Date Index >>>     <<< Thread Index >>>

Re: Strange problem



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.