Re: mailbox does not sync from a macro
Hello Gary,
you have saved my life ;-)
Am 2006-05-22 17:52:52, schrieb Gary Johnson:
> I'm not sure, but I think I know what's happening. Whenever I type
> 's' to save a message, after entering the file name, I get a prompt
> that says either
>
> Create /home/garyjohn/Mail/filename? ([yes]/no):
>
> or
>
> Append messages to /home/garyjohn/Mail/filename? ([yes]/no):
>
> My guess is that your macro is answering that prompt with
> "<sync-mailbox>" and a Return. If that's the case, then I think a
> solution would be to follow the file name with "\n\n" instead of
> just "\n".
Bingo, that it was!
> Also, I don't think you need to follow "<sync-mailbox>" with "\n".
> The parser executes the function when it reads the ">". The extra
> "\n" will be seen as another command and could cause you other
> problems.
Thanks again
Michelle Konzack
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)