From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64983 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: closing all inactive server connections Date: Fri, 27 Jul 2007 20:18:37 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185582015 28696 80.91.229.12 (28 Jul 2007 00:20:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Jul 2007 00:20:15 +0000 (UTC) To: Ding Mailing List Original-X-From: ding-owner+M13493@lists.math.uh.edu Sat Jul 28 02:20:09 2007 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 1IEa2S-0002t3-O6 for ding-account@gmane.org; Sat, 28 Jul 2007 02:20:09 +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 1IEa1i-0007d5-KW; Fri, 27 Jul 2007 19:19:22 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IEa1f-0007ci-OQ for ding@lists.math.uh.edu; Fri, 27 Jul 2007 19:19:19 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IEa1Z-0006hd-Su for ding@lists.math.uh.edu; Fri, 27 Jul 2007 19:19:19 -0500 Original-Received: from blockstar.com ([170.224.69.95] helo=mail.blockstar.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IEa1Y-0008I7-00 for ; Sat, 28 Jul 2007 02:19:13 +0200 Original-Received: from tzz (c-24-14-57-89.hsd1.il.comcast.net [24.14.57.89]) by mail.blockstar.com (Postfix) with ESMTP id D19374184A0 for ; Fri, 27 Jul 2007 17:24:42 -0700 (PDT) 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" Mail-Followup-To: Ding Mailing List In-Reply-To: (Ted Zlatanov's message of "Fri, 27 Jul 2007 13:06:14 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (darwin) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64983 Archived-At: On Fri, 27 Jul 2007 13:06:14 -0400 Ted Zlatanov wrote: TZ> Here's a version of gnus-server-close-all-servers that works on all the TZ> server in the buffer. I preserved the old (buggy I think) behavior with TZ> the `some' parameter. Can I commit this change? It works for me. I had to revise the function, apparently I need both lists. (defun gnus-server-close-all-servers () "Close all servers." (interactive) (let ((servers (append gnus-inserted-opened-servers gnus-server-alist))) (dolist (server servers) (gnus-server-close-server (car server))))) I tested this on several Gnus setups and it seems OK. TZ> Unfortunately there were tabs in the gnus-srvr.el file (aren't we TZ> supposed to use untabify?) so the patch comes out too long. Any response on this? Reiner? The function gnus-server-close-server is definitely better that the old version, and I believe we shouldn't have tabs. I'll commit the untabified version unless I hear from someone. Thanks Ted