Changeset 5311:96f931ae0b22 for doc
- Timestamp:
- 2007-11-20 10:46:52 (12 months ago)
- Branch:
- HEAD
- Files:
-
- 1 modified
-
doc/manual.xml.head (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/manual.xml.head
r5310 r5311 2672 2672 2673 2673 <sect1 id="save-hook"> 2674 <title>Specify default save filename</title> 2675 2676 <para> 2677 Usage: <literal>save-hook</literal> [!]<emphasis>pattern</emphasis> <emphasis>filename</emphasis> 2678 </para> 2679 2680 <para> 2681 This command is used to override the default filename used when saving 2682 messages. <emphasis>filename</emphasis> will be used as the default filename if the message is 2683 <emphasis>From:</emphasis> an address matching <emphasis>regexp</emphasis> or if you are the author and the 2684 message is addressed <emphasis>to:</emphasis> something matching <emphasis>regexp</emphasis>. 2685 </para> 2686 2687 <para> 2688 See <xref linkend="pattern-hook"/> for information on the exact format of <emphasis>pattern</emphasis>. 2674 <title>Specify default save mailbox</title> 2675 2676 <para> 2677 Usage: <literal>save-hook</literal> [!]<emphasis>pattern</emphasis> <emphasis>mailbox</emphasis> 2678 </para> 2679 2680 <para> 2681 This command is used to override the default mailbox used when saving 2682 messages. <emphasis>mailbox</emphasis> will be used as the default if the message 2683 matches <emphasis>pattern</emphasis>, see <xref linkend="pattern-hook"/> for information 2684 on the exact format. 2685 </para> 2686 2687 <para> 2688 To provide more flexibility and good defaults, Mutt applies the 2689 expandos of <link linkend="index-format">$index_format</link> to 2690 <emphasis>mailbox</emphasis> after it was expanded. 2689 2691 </para> 2690 2692 … … 2696 2698 2697 2699 <screen> 2700 # default: save all to ~/Mail/<author name> 2701 save-hook . ~/Mail/%F 2702 # save from me@turing.cs.hmc.edu/me@cs.hmc.edu to $folder/elinks 2698 2703 save-hook me@(turing\\.)?cs\\.hmc\\.edu$ +elkins 2704 # save from aol.com to $folder/spam 2699 2705 save-hook aol\\.com$ +spam 2700 2706 </screen> … … 2724 2730 2725 2731 <para> 2732 To provide more flexibility and good defaults, Mutt applies the 2733 expandos of <link linkend="index-format">$index_format</link> to 2734 <emphasis>mailbox</emphasis> after it was expanded. 2735 </para> 2736 2737 <para> 2726 2738 See <xref linkend="pattern-hook"/> for information on the exact format of <emphasis>pattern</emphasis>. 2727 2739 </para> … … 2747 2759 <para> 2748 2760 This command is a shortcut, equivalent to doing both a <link linkend="fcc-hook">fcc-hook</link> 2749 and a <link linkend="save-hook">save-hook</link> with its arguments. 2761 and a <link linkend="save-hook">save-hook</link> with its arguments, 2762 including %-expansion on <emphasis>mailbox</emphasis> according 2763 to <link linkend="index-format">$index_format</link>. 2750 2764 </para> 2751 2765
