From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80646 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: how to make gnus-summary-pipe-output always give the raw article Date: Wed, 07 Dec 2011 15:42:23 +0900 Organization: Emacsen advocacy group Message-ID: References: <878vmp9hjx.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1323240237 29909 80.91.229.12 (7 Dec 2011 06:43:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2011 06:43:57 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28928@lists.math.uh.edu Wed Dec 07 07:43:53 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RYBEN-0001Sk-Ky for ding-account@gmane.org; Wed, 07 Dec 2011 07:43:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RYBDQ-00013L-MW; Wed, 07 Dec 2011 00:42:52 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RYBDI-000135-Lq for ding@lists.math.uh.edu; Wed, 07 Dec 2011 00:42:44 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RYBDH-00014D-Mf for ding@lists.math.uh.edu; Wed, 07 Dec 2011 00:42:44 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RYBDG-0002D0-43 for ding@gnus.org; Wed, 07 Dec 2011 07:42:42 +0100 Original-Received: from localhost ([127.0.0.1]:58298) by orlando.hostforweb.net with smtp (Exim 4.69) (envelope-from ) id 1RYBDD-0007ML-Sl for ding@gnus.org; Wed, 07 Dec 2011 00:42:40 -0600 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (i686-pc-cygwin) Cancel-Lock: sha1:CpNtVNgnlNhKcl6nerbsi6CVQ4I= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80646 Archived-At: jidanni@jidanni.org wrote: > (info "(gnus) Saving Articles") is too complicated. Sorry. But it is documented: ,---- | The symbol of each function may have the following properties: | | `:decode' | The value non-`nil' means save decoded articles. This is | meaningful only with `gnus-summary-save-in-file', | `gnus-summary-save-body-in-file', `gnus-summary-write-to-file', | `gnus-summary-write-body-to-file', and `gnus-summary-save-in-pipe'. [...] | `:headers' | The value specifies the symbol of a variable of which the value | specifies headers to be saved. If it is omitted, | `gnus-save-all-headers' and `gnus-saved-headers' control what | headers should be saved. `---- > All I want to do is make | get the same raw articles o does. > Yes | M-i r some_command works, but I want r to always be in force, without > having to type the M-i r each time. This will probably be yours: (eval-after-load "gnus-art" '(put 'gnus-summary-save-in-pipe :decode nil)) If you want all headers to save, make sure `gnus-save-all-headers' is left to be the default (i.e. `t'), and use this: (eval-after-load "gnus-art" '(progn (put 'gnus-summary-save-in-pipe :decode nil) (put 'gnus-summary-save-in-pipe :headers nil)))