Paul --

...and then Paul Brannan said...
% On Mon, Dec 03, 2001 at 10:31:53AM -0500, Brendan Cully wrote:
% > > > * Paul Brannan <[EMAIL PROTECTED]> [011130 15:42]:
% > > > > 1) When I start mutt, I see this message:
% > > > >      fcntl: No locks available (errno = 37)
% > > > >    How can I make it go away?
...
% > inspiration for the $imap_servernoise variable, which you may wish to unset.
% > That will probably solve both 1 and 2.
% 
% This solves #2, but not #1 :(

Interesting.  What does

  mutt -v

show you?  Do you have dotlocking available?  It looks to me as though
mutt can only use fcntl locks but they are not supported on your system;
mutt is usually pretty good at figuring out how it should lock.


% 
% > This is your best bet. what about something like:
% > macro index $ ':set delete=yes<enter><sync-mailbox>:set delete=no<enter>'
% 
% That works really well.  However, this does not:
% 
%   macro index $ ':set delete=ask-yes<enter><sync-mailbox>:set delete=no<enter>'
% 
% All I get is a beep, and delete remains set to "ask-yes".

That makes sense.  Your macro sets it to ask-yes and then tries to sync
the mailbox, which will generate a y/n prompt.  Instead of passing mutt
an expected value, however, you try to next give it a colon, which will
of course cause an error.

If you want the messages to be deleted when you sync, set it to "yes" in
your macro; if not, leave it at "no" and forget about the macro.  If you
want to be asked then just set it to ask-no and forget about the macro,
and when you usually don't want to delete (like when you change folders,
IIRC) just hit return twice (once when you find and choose your mailbox
and once to take the default "no").


% 
% Paul


:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg20984/pgp00000.pgp
Description: PGP signature

Reply via email to