Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug report: ZSH stats every file in Maildir even with no_mail_warning option set.



Peter Stephenson wrote:
> On Thu, 11 Dec 2008 12:30:34 +0100
> VÃclav Haisman <v.haisman@xxxxxxxxxx> wrote:
>> I am having problems with ZSH stat()ing every file in my ~/Maildir even
>> though I have setopt no_mail_warning in my .zshrc. After a discussion
>> about this in #ZSH@FreeNode I have also tried unsetopt MAIL_WARNING and
>> unsetopt MAIL_WARN, without success. The main problem with this is that
>> it can take several seconds to stat() the thousands of files in the Maildir.
> 
> What is $mailpath set to?  Try setting
> 
> mailpath=()
The set command shows mailpath=(). But my environment has both MAIL and
MAILDIR set to the Maildir directory.

> 
> The option MAIL_WARN is just an alias for MAIL_WARNING.
> 

--
VH



Messages sorted by: Reverse Date, Date, Thread, Author