From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67108 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: add a gnus-summary-pipe-output-default-command variable Date: Wed, 02 Jul 2008 20:47:52 +0900 Organization: Emacsen advocacy group Message-ID: References: <87hcb9mw4i.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214999409 13859 80.91.229.12 (2 Jul 2008 11:50:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jul 2008 11:50:09 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15572@lists.math.uh.edu Wed Jul 02 13:50:55 2008 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.50) id 1KE0rO-0003MG-R3 for ding-account@gmane.org; Wed, 02 Jul 2008 13:50:55 +0200 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 1KE0pQ-0002GC-UE; Wed, 02 Jul 2008 06:48:52 -0500 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 1KE0pP-0002G3-RL for ding@lists.math.uh.edu; Wed, 02 Jul 2008 06:48:51 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KE0pM-00049l-97 for ding@lists.math.uh.edu; Wed, 02 Jul 2008 06:48:51 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KE0pf-0000S4-00 for ; Wed, 02 Jul 2008 13:49:07 +0200 Original-Received: from localhost ([127.0.0.1]:34761) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1KE0ol-0007XE-IA for ding@gnus.org; Wed, 02 Jul 2008 06:48:12 -0500 X-Hashcash: 1:20:080702:ding@gnus.org::WDAKN2Ib/3Ss8wC3:0000SMgb 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.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:3+TnTXPJjet3UFRxfwUFKYCNkpY= 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: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67108 Archived-At: >>>>> jidanni@jidanni.org wrote: > I see. Also please document gnus-last-shell-command in Info, for users > who just want a first default if there is none yet. Thanks. I considered using of `gnus-last-shell-command' for setting the default (or the initial) command by a user, but reached the conclusion that it is better to provide options individually for the features (as you suggested). Currently those are pipe and muttprint. So, `gnus-last-shell-command' is still an internal variable and I think it is not worth being mentioned in Info. Now you can use `gnus-summary-pipe-output-default-command' for `gnus-summary-pipe-output' (and `gnus-summary-save-in-pipe') as well as `gnus-summary-muttprint-program' for `gnus-summary-pipe-to-muttprint'. BTW, I've fixed some bugs in relation to the saving articles features: 1. The functions set to `gnus-default-article-saver' can't be controlled by the `:headers' property. cf. (info "(gnus)Saving Articles") 2. The 2nd argument HEADERS passed to `gnus-summary-pipe-output' is not effective. 3. `gnus-summary-pipe-output' and `gnus-summary-save-in-pipe' always pass decoded articles to the pipe. The last one might not be a bug but I believe there must be demand of piping raw articles to a shell command. The default behavior is unchanged. Regards,