diff options
| author | Glenn Morris | 2011-11-23 19:12:46 -0500 |
|---|---|---|
| committer | Glenn Morris | 2011-11-23 19:12:46 -0500 |
| commit | 01d06b1fc449b3b6d7637576d634ad8704bb8433 (patch) | |
| tree | 8bf6f279bc9a421317ab08fd29dfaa705790355c | |
| parent | 7262a87c73d26c6ce7c25699198c981b560a0d1a (diff) | |
| download | emacs-01d06b1fc449b3b6d7637576d634ad8704bb8433.tar.gz emacs-01d06b1fc449b3b6d7637576d634ad8704bb8433.zip | |
* rmail.texi (Rmail Output): Mention rmail-automatic-folder-directives.
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/rmail.texi | 16 |
2 files changed, 21 insertions, 0 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 6e687bcefc9..e27c778679c 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-11-24 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * rmail.texi (Rmail Output): | ||
| 4 | Mention rmail-automatic-folder-directives. (Bug#9657) | ||
| 5 | |||
| 1 | 2011-11-21 Chong Yidong <cyd@gnu.org> | 6 | 2011-11-21 Chong Yidong <cyd@gnu.org> |
| 2 | 7 | ||
| 3 | * mark.texi (Global Mark Ring): Fix description of global mark | 8 | * mark.texi (Global Mark Ring): Fix description of global mark |
diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi index 71c23655608..0df4a3a7bb5 100644 --- a/doc/emacs/rmail.texi +++ b/doc/emacs/rmail.texi | |||
| @@ -571,6 +571,22 @@ the file name to use, or more generally it may be any Lisp expression | |||
| 571 | that returns a file name as a string. @code{rmail-output-file-alist} | 571 | that returns a file name as a string. @code{rmail-output-file-alist} |
| 572 | applies to both @kbd{o} and @kbd{C-o}. | 572 | applies to both @kbd{o} and @kbd{C-o}. |
| 573 | 573 | ||
| 574 | @vindex rmail-automatic-folder-directives | ||
| 575 | Rmail can automatically save messages from your primary Rmail file | ||
| 576 | (the one that @code{rmail-file-name} specifies) to other files, based | ||
| 577 | on the value of the variable @code{rmail-automatic-folder-directives}. | ||
| 578 | This variable is a list of elements (@samp{directives}) that say which | ||
| 579 | messages to save where. Each directive is a list consisting of an | ||
| 580 | output file, followed by one or more pairs of a header name and a regular | ||
| 581 | expression. If a message has a header matching the specified regular | ||
| 582 | expression, that message is saved to the given file. If the directive | ||
| 583 | has more than one header entry, all must match. Rmail checks directives | ||
| 584 | when it shows a message from the file @code{rmail-file-name}, and | ||
| 585 | applies the first that matches (if any). If the output file is | ||
| 586 | @code{nil}, the message is deleted, not saved. For example, you can use | ||
| 587 | this feature to save messages from a particular address, or with a | ||
| 588 | particular subject, to a dedicated file. | ||
| 589 | |||
| 574 | @node Rmail Labels | 590 | @node Rmail Labels |
| 575 | @section Labels | 591 | @section Labels |
| 576 | @cindex label (Rmail) | 592 | @cindex label (Rmail) |