From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69710 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: One more use for gnus-expert-user Date: Fri, 04 Jun 2010 21:28:37 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y6eukyay.fsf@lifelogs.com> References: <87wrunmcqy.fsf@mithlond.arda> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275704941 5219 80.91.229.12 (5 Jun 2010 02:29:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Jun 2010 02:29:01 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Teemu Likonen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 05 04:28:55 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OKj81-0005tK-AV for ged-emacs-devel@m.gmane.org; Sat, 05 Jun 2010 04:28:53 +0200 Original-Received: from localhost ([127.0.0.1]:47671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKj80-0000LS-Ol for ged-emacs-devel@m.gmane.org; Fri, 04 Jun 2010 22:28:52 -0400 Original-Received: from [140.186.70.92] (port=44028 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKj7p-0000HJ-72 for emacs-devel@gnu.org; Fri, 04 Jun 2010 22:28:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKj7n-00063l-Oc for emacs-devel@gnu.org; Fri, 04 Jun 2010 22:28:41 -0400 Original-Received: from blockstar.com ([208.100.47.114]:34380 helo=mail.blockstar.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKj7n-00063E-M5 for emacs-devel@gnu.org; Fri, 04 Jun 2010 22:28:39 -0400 Original-Received: from heechee (c-98-227-29-141.hsd1.il.comcast.net [98.227.29.141]) by mail.blockstar.com (Postfix) with ESMTP id 3BD5BA68726; Fri, 4 Jun 2010 21:28:46 -0500 (CDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: <87wrunmcqy.fsf@mithlond.arda> (Teemu Likonen's message of "Sat, 29 May 2010 09:40:53 +0300") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125537 gmane.emacs.gnus.general:69710 Archived-At: On Sat, 29 May 2010 09:40:53 +0300 Teemu Likonen wrote: TL> Here's a patch that implements my suggestion: TL> diff --git i/lisp/gnus/gnus-agent.el w/lisp/gnus/gnus-agent.el TL> index f385c71..67af39b 100644 TL> --- i/lisp/gnus/gnus-agent.el TL> +++ w/lisp/gnus/gnus-agent.el TL> @@ -3631,7 +3631,8 @@ articles in every agentized group? ")) TL> deleting them?"))) TL> (while to-remove TL> (let ((dir (pop to-remove))) TL> - (if (gnus-y-or-n-p (format "Delete %s? " dir)) TL> + (if (or gnus-expert-user TL> + (gnus-y-or-n-p (format "Delete %s? " dir))) TL> (let* (delete-recursive TL> files f TL> (delete-recursive I'm OK with this (although it's pretty esoteric for most users), but the Gnus manual should be updated correspondingly as well. Can you include that in your patch? Thanks! Ted