Changeset 5396:927465b4aab2 for doc

Show
Ignore:
Timestamp:
2008-05-21 09:30:43 (6 months ago)
Author:
Rocco Rutte <pdmef@…>
Branch:
HEAD
Message:

Improve documentation for handling multiple folders and new mail detection

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/manual.xml.head

    r5374 r5396  
    25242524<para> 
    25252525This command specifies folders which can receive mail and 
    2526 which will be checked for new messages.  By default, the 
    2527 main menu status bar displays how many of these folders have 
    2528 new messages. 
     2526which will be checked for new messages periodically. 
    25292527</para> 
    25302528 
     
    25392537 
    25402538<para> 
    2541 When changing folders, pressing <emphasis>space</emphasis> will cycle 
    2542 through folders with new mail. 
    2543 </para> 
    2544  
    2545 <para> 
    2546 Pressing TAB in the directory browser will bring up a menu showing the files 
    2547 specified by the <literal>mailboxes</literal> command, and indicate which contain new 
    2548 messages.  Mutt will automatically enter this mode when invoked from the 
    2549 command line with the <literal>-y</literal> option. 
     2539Mutt provides a number of advanced features for handling (possibly many) 
     2540folders and new mail within them, please refer to 
     2541<xref linkend="handling-folders"/> for details (including in what 
     2542situations and how often Mutt checks for new mail). 
    25502543</para> 
    25512544 
     
    25592552<emphasis role="bold">Note:</emphasis> the folders in the <literal>mailboxes</literal> command are resolved when 
    25602553the command is executed, so if these names contain <link linkend="shortcuts">shortcut characters</link> (such as ``='' and ``!''), any variable 
    2561 definition that affect these characters (like <link linkend="folder">&dollar;folder</link> and <link linkend="spoolfile">&dollar;spoolfile</link>) 
    2562 should be executed before the <literal>mailboxes</literal> command. If 
     2554definition that affects these characters (like <link linkend="folder">&dollar;folder</link> and <link linkend="spoolfile">&dollar;spoolfile</link>) 
     2555should be set before the <literal>mailboxes</literal> command. If 
    25632556none of these shorcuts are used, a local path should be absolute as 
    2564 otherwise mutt tries to find it within the current working directory 
     2557otherwise mutt tries to find it relative to the directory 
    25652558from where mutt was started which may not always be desired. 
    25662559</para> 
    25672560 
    25682561<para> 
    2569 For local folders, new mail is detected by comparing access and/or 
    2570 modification times of files and folders. The interval in which Mutt 
    2571 checks for new mail is defined by 
    2572 <link linkend="mail-check">&dollar;mail&lowbar;check</link>. 
    2573 </para> 
    2574  
    2575 <para> 
    2576 Special care is required with Mbox and Mmdf 
    2577 folders as Mutt assumes such a folder has new mail if it wasn't 
     2562For Mbox and Mmdf folders, new mail is detected by comparing access and/or 
     2563modification times of files: Mutt assumes a folder has new mail if it wasn't 
    25782564accessed after it was last modified. Utilities like <literal>biff</literal> or 
    25792565<literal>frm</literal> or any other program which accesses the mailbox might cause 
    25802566Mutt to never detect new mail for that mailbox if they do not properly reset the 
    2581 access time.  Backup tools are another common reason for updated access times. 
     2567access time. Other possible causes of Mutt not detecting new mail in these folders 
     2568are backup tools (updating access times) or filesystems mounted without 
     2569access time update support. 
     2570</para> 
     2571 
     2572<para> 
     2573In cases where new mail detection for Mbox or Mmdf folders appears to be 
     2574unreliable, the 
     2575<link linkend="check-mbox-size">&dollar;check&lowbar;mbox&lowbar;size</link> 
     2576option can be used to make Mutt track and consult file sizes for new 
     2577mail detection instead. 
    25822578</para> 
    25832579 
     
    26362632 
    26372633<para> 
    2638 <quote 
    2639 >unmy&lowbar;hdr to cc</quote 
    2640 > 
     2634<quote>unmy&lowbar;hdr to cc</quote> 
    26412635</para> 
    26422636 
     
    46734667</sect1> 
    46744668 
     4669<sect1 id="handling-folders"> 
     4670<title>Handling multiple folders</title> 
     4671 
     4672<para> 
     4673Mutt supports setups with multiple folders, allowing all of them to 
     4674be monitored for new mail (see <xref linkend="mailboxes"/> for details). 
     4675</para> 
     4676 
     4677<para> 
     4678When in the index menu and being idle (also see 
     4679<link linkend="timeout">&dollar;timeout</link>), Mutt periodically checks 
     4680for new mail in all folders which have been configured via the 
     4681<literal>mailboxes</literal> command. The interval depends on the folder 
     4682type: for local/IMAP folders it consults 
     4683<link linkend="mail-check">&dollar;mail&lowbar;check</link> and 
     4684<link linkend="pop-checkinterval">&dollar;pop&lowbar;checkinterval</link> 
     4685for POP folders. 
     4686</para> 
     4687 
     4688<para> 
     4689Outside the index menu the directory browser supports checking 
     4690for new mail using the <emphasis>check-new</emphasis> function which is 
     4691unbound by default. Pressing TAB will bring up a 
     4692menu showing the files specified by the <literal>mailboxes</literal> command, 
     4693and indicate which contain new messages. Mutt will automatically enter this 
     4694mode when invoked from the command line with the <literal>-y</literal> option. 
     4695</para> 
     4696 
     4697<para> 
     4698For the pager, index and directory browser menus, Mutt contains the 
     4699<emphasis>buffy-list</emphasis> function (bound to ``.'' by default) 
     4700which will print a list of folders with new mail in the command line at 
     4701the bottom of the screen. 
     4702</para> 
     4703 
     4704<para> 
     4705For the index, by default Mutt displays the number of mailboxes with new 
     4706mail in the status bar, please refer to the 
     4707<link linkend="index-format">&dollar;index&lowbar;format</link> 
     4708variable for details. 
     4709</para> 
     4710 
     4711<para> 
     4712When changing folders, Mutt fills the prompt with the first folder from 
     4713the mailboxes list containing new mail (if any), pressing 
     4714<emphasis>space</emphasis> will cycle through folders with new mail. 
     4715</para> 
     4716 
     4717</sect1> 
     4718 
    46754719<sect1 id="editing-threads"> 
    46764720<title>Editing threads</title>