aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMiles Bader2008-07-26 09:13:11 +0000
committerMiles Bader2008-07-26 09:13:11 +0000
commitd62672f36a4aaf33ded7ced6e50c44b6a43e4942 (patch)
tree6c41c50f3cdfa167073ffff80771f3f2034add2e /doc
parent51dc79f87e7587f48acdd8d16ec41f2c6373edfb (diff)
downloademacs-d62672f36a4aaf33ded7ced6e50c44b6a43e4942.tar.gz
emacs-d62672f36a4aaf33ded7ced6e50c44b6a43e4942.zip
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1355
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog10
-rw-r--r--doc/misc/gnus.texi30
2 files changed, 29 insertions, 11 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 19be8135cdc..8fa35abc979 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,13 @@
12008-07-24 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * gnus.texi (Saving Articles): Describe the 2nd argument of
4 gnus-summary-save-in-pipe.
5 (SpamAssassin): Use it.
6
72008-07-22 Katsumi Yamaoka <yamaoka@jpl.org>
8
9 * gnus.texi (SpamAssassin): Fix gnus-summary-save-in-pipe usage.
10
12008-07-25 Carsten Dominik <dominik@science.uva.nl> 112008-07-25 Carsten Dominik <dominik@science.uva.nl>
2 12
3 * org.texi (Export options): Document the use of the creator flag. 13 * org.texi (Export options): Document the use of the creator flag.
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 3ce96ee181b..15a0109d94d 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -8619,14 +8619,23 @@ reader to use this setting.
8619 8619
8620@item gnus-summary-save-in-pipe 8620@item gnus-summary-save-in-pipe
8621@findex gnus-summary-save-in-pipe 8621@findex gnus-summary-save-in-pipe
8622Pipe the article to a shell command. This function takes optional one 8622Pipe the article to a shell command. This function takes optional two
8623argument; if it is a string, it is used as the command; if it is 8623arguments COMMAND and RAW. Valid values for COMMAND include:
8624@code{nil} or omitted, you will be prompted for the command; if it is 8624
8625the symbol @code{default}, the command which the 8625@itemize @bullet
8626@code{gnus-summary-pipe-output-default-command} variable holds or the 8626@item a string@*
8627command last used for saving will be used if it is non-@code{nil}. The 8627The executable command name and possibly arguments.
8628command should be a string that the shell can interpret (e.g. the 8628@item @code{nil}@*
8629executable command name and the arguments). 8629You will be prompted for the command in the minibuffer.
8630@item the symbol @code{default}@*
8631It will be replaced with the command which the variable
8632@code{gnus-summary-pipe-output-default-command} holds or the command
8633last used for saving.
8634@end itemize
8635
8636Non-@code{nil} value for RAW overrides @code{:decode} and
8637@code{:headers} properties (see below) and the raw article including all
8638headers will be piped.
8630@end table 8639@end table
8631 8640
8632The symbol of each function may have the following properties: 8641The symbol of each function may have the following properties:
@@ -24678,11 +24687,10 @@ might want to have a nifty function to call when you happen to read
24678spam. And here is the nifty function: 24687spam. And here is the nifty function:
24679 24688
24680@lisp 24689@lisp
24681 (defun my-gnus-raze-spam () 24690(defun my-gnus-raze-spam ()
24682 "Submit SPAM to Vipul's Razor, then mark it as expirable." 24691 "Submit SPAM to Vipul's Razor, then mark it as expirable."
24683 (interactive) 24692 (interactive)
24684 (gnus-summary-show-raw-article) 24693 (gnus-summary-save-in-pipe "razor-report -f -d" t)
24685 (gnus-summary-save-in-pipe "razor-report -f -d")
24686 (gnus-summary-mark-as-expirable 1)) 24694 (gnus-summary-mark-as-expirable 1))
24687@end lisp 24695@end lisp
24688 24696