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

Re: Setting Mutt exit code



On Thu, Sep 25, 2003 at 01:37:39PM +0200, Johan Almqvist wrote:

> * Florian Weimer <fw@xxxxxxxxxxxxx> [030925 13:12]:
> > Exactly.  I currently invoke mutt in a loop to display several mail
> > folders, and I need some way to exit this loop prematurely.
> 
> Why do you have to invoke mutt several times for this? That doesn't seem
> like the best way to do it - what's wrong with mailboxes= and 'c'? Also,
> you could re-bind x or q or whatever you use to exit mutt to go to the
> next mailbox instead?

The list of mailboxes is dynamically generated, and using "x" or "q"
would require temporary files which result in all kinds of problems.