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

Re: save-hook and imap question



* Wilkinson, Alex [Wed, 02 Jun 2004 17:16:42 +0930]:
> Hi all,

> I have a situation where I view my INBOX on imap server. However, when I want 
> to
> save a message I want to save it to $HOME/Mail/ and not onto the IMAP server.

> What I want is to save the message to $HOME/Mail/bob.smith, and just store my 
> INBOX on
> the imap server. e.g Create $HOME/Mail/bob.smith ? ([yes]/no):

> I have looked over the manual several times and couldn't find out.

> I was thinking something along the lines of:

> folder-hook . save-hook .* =<something that means save as $HOME/Mail/<who the 
> mail was from>

> Ideas anyone ?

  here comes a dirty hack. i will deny having written it. ;-)

    macro index s  "<save-message><bol><delete-char>~/Mail/<eol>"
    macro pager s  "<save-message><bol><delete-char>~/Mail/<eol>"

-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
Faced with the choice between changing one's mind and proving that there
is no need to do so, almost everyone gets busy with the proof.
                -- J.K. Galbraith