emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/doc/misc/gnus.texi,v


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/doc/misc/gnus.texi,v
Date: Sat, 26 Jul 2008 09:13:13 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Miles Bader <miles>     08/07/26 09:13:12

Index: doc/misc/gnus.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/doc/misc/gnus.texi,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- doc/misc/gnus.texi  4 Jul 2008 00:07:45 -0000       1.30
+++ doc/misc/gnus.texi  26 Jul 2008 09:13:09 -0000      1.31
@@ -8619,14 +8619,23 @@
 
 @item gnus-summary-save-in-pipe
 @findex gnus-summary-save-in-pipe
-Pipe the article to a shell command.  This function takes optional one
-argument; if it is a string, it is used as the command; if it is
address@hidden or omitted, you will be prompted for the command; if it is
-the symbol @code{default}, the command which the
address@hidden variable holds or the
-command last used for saving will be used if it is address@hidden  The
-command should be a string that the shell can interpret (e.g. the
-executable command name and the arguments).
+Pipe the article to a shell command.  This function takes optional two
+arguments COMMAND and RAW.  Valid values for COMMAND include:
+
address@hidden @bullet
address@hidden a address@hidden
+The executable command name and possibly arguments.
address@hidden @address@hidden
+You will be prompted for the command in the minibuffer.
address@hidden the symbol @address@hidden
+It will be replaced with the command which the variable
address@hidden holds or the command
+last used for saving.
address@hidden itemize
+
address@hidden value for RAW overrides @code{:decode} and
address@hidden:headers} properties (see below) and the raw article including all
+headers will be piped.
 @end table
 
 The symbol of each function may have the following properties:
@@ -24678,11 +24687,10 @@
 spam.  And here is the nifty function:
 
 @lisp
- (defun my-gnus-raze-spam ()
+(defun my-gnus-raze-spam ()
   "Submit SPAM to Vipul's Razor, then mark it as expirable."
   (interactive)
-  (gnus-summary-show-raw-article)
-  (gnus-summary-save-in-pipe "razor-report -f -d")
+  (gnus-summary-save-in-pipe "razor-report -f -d" t)
   (gnus-summary-mark-as-expirable 1))
 @end lisp
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]