X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=doc%2Fmanual.txt;h=042f880bf77f6503d6618e42e386d2f9c8591d7c;hp=74585ca445790834499d37054be4ce14b3408efb;hb=a739d748184bb73b17cb8bb97cea4cdeaff0d859;hpb=529bd38e97bf5b597a7e8149293b63c6fb82984e diff --git a/doc/manual.txt b/doc/manual.txt index 74585ca..042f880 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -4,7 +4,7 @@ by Andreas Krennmair and others originally based on _m_u_t_t by Michael Elkins and others - version devel-r453 + version devel-r456 AAbbssttrraacctt @@ -1162,21 +1162,24 @@ user_ and can be used just like any ordinary configuration or environment vari- able. - For example, to view the manual, users can either define three macros like the + For example, to view the manual, users can either define two macros like the following macro generic "!less -r /path/to/manual" "Show manual" macro pager "!less -r /path/to/manual" "Show manual" - macro index "!less -r /path/to/manual" "Show manual" for generic, pager and index. The alternative is to define a custom variable like so: - set user_manualcmd = '!less -r /path/to_manual" + set user_manualcmd = '!less -r /path/to_manual' macro generic "$user_manualcmd" "Show manual" macro pager "$user_manualcmd" "Show manual" macro index "$user_manualcmd" "Show manual" + to re-use the command sequence as in: + + macro index "$user_manualcmd | grep '\^[ ]\\+~. '" "Show Patterns" + Using this feature, arbitrary sequences can be defined once and recalled and reused where necessary. More advanced scenarios could include to save a vari- able's value at the beginning of macro sequence and restore it at end. @@ -1198,12 +1201,12 @@ will show 666. After doing the reset via + The Mutt Next Generation E-Mail Client 25 + reset user_foo a following query will give 42 as the result. After unsetting it via - The Mutt Next Generation E-Mail Client 25 - unset user_foo any query or operation (except the noted expansion within other statements) @@ -1247,14 +1250,15 @@ have multiple alias files, or you can have all aliases defined in your muttrc. On the other hand, the _c_r_e_a_t_e_-_a_l_i_a_s (section 2.5.4 , page 11) function can use + + The Mutt Next Generation E-Mail Client 26 + only one file, the one pointed to by the _$_a_l_i_a_s___f_i_l_e (section 7.4.5 , page 89) variable (which is ~/.muttrc by default). This file is not special either, in the sense that Mutt-ng will happily append aliases to any file, but in order for the new aliases to take effect you need to explicitly _s_o_u_r_c_e (section 3.29 , page 45) this file too. - The Mutt Next Generation E-Mail Client 26 - For example: source /usr/local/share/Mutt-ng.aliases @@ -1297,6 +1301,9 @@ alias The alias menu is the list of your personal aliases as defined in + + The Mutt Next Generation E-Mail Client 27 + your muttrc. It is the mapping from a short alias name to the full email address(es) of the recipient(s). @@ -1304,8 +1311,6 @@ The attachment menu is used to access the attachments on received messages. - The Mutt Next Generation E-Mail Client 27 - browser The browser is used for both browsing the local directory struc- ture, and for listing all of your incoming mailboxes. @@ -2077,8 +2082,8 @@ Scoring gets especially interesting when combined with the color command and the ~n pattern: - color black yellow "~n 10-" - color red yellow "~n 100-" + color index black yellow "~n 10-" + color index red yellow "~n 100-" The rules above mark all messages with a score between 10 and 99 with black and yellow, and messages with a score greater or equal 100 with red and yellow.