Mike --

...and then Mike Arrison said...
% 
% Howdy,

Hiya!


%         I'm trying to get a new message flag to display in front of my
% folder name in the folder index view. So I'm doing the following:
% 
%    set folder_format="%2C %N %8s %d %f"

That makes sense.


% 
% Because according to the manual:
%    %N N if folder has new mail, blank otherwise

Yep.  You can trust that.


% 
% I'm seeing:
% 
%    10      66442 May 13 08:48 apache_users

Hmmm...  That says to me that your access-time timestamp has been updated
by something looking at the folder, be it biff or wnewmail or your shell
or even mutt.  You can check with

  ls -lFc --full-time apache_users
  ls -lFu --full-time apache_users

and perhaps discover that the latter is later than the former.  In order
for mutt to put the "N" flag by the folder, the modification time (the
first command) must be later than the access time (the second command).
To force the situation so that mutt sees the folder as updated, use

  touch -m apache_users

to udpate the modification time and then (after using the ls commands to
assure yourself that the mod time is fresh while the acc time is old) ask
mutt for a folder listing; if mutt still doesn't show the "N" flag then
go back to your other window (you are doing this in two or three windows
to keep things simple, right? :-) and use ls again to see if the acc time
has been updated behind your back.


% 
% Unfortunately, I never see an 'N' even though when I enter a folder, it
% clearly shows new messages (marked with an 'N') like so:
% 
%    1 N   May 12 12:05 XXXXXXXXXX (0.5K) XXXXXXXXXX

Actually, *that* "N" has nothing to do with the outer N; see the archives
for vast discussions of "undread mail" and "folders" and the meaning of
the former in relation to the latter :-)


% 
% How do I get that 'N' on the folder view to display?  Thanks in advance.

It's supposed to be easy, really.  The problem is all of these other
programs that want to be the first to tell you about new mail!


%         -Mike Arrison


HTH & HAND

:-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: msg28040/pgp00000.pgp
Description: PGP signature

Reply via email to