From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69866 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Avoid opening secondary select methods as foreign servers Date: Tue, 03 Aug 2010 14:10:47 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <877hk7cy14.fsf@lifelogs.com> References: <87fwzwfi5l.fsf@topper.koldfront.dk> <87bpakfhtg.fsf@topper.koldfront.dk> <8739vwupt4.fsf_-_@topper.koldfront.dk> <87eif1kgtt.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1280862921 32401 80.91.229.12 (3 Aug 2010 19:15:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Aug 2010 19:15:21 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18253@lists.math.uh.edu Tue Aug 03 21:15:17 2010 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 1OgMxJ-0004Y2-5G for ding-account@gmane.org; Tue, 03 Aug 2010 21:15:17 +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 1OgMxB-00062V-4H; Tue, 03 Aug 2010 14:15:09 -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 1OgMx9-00062A-LH for ding@lists.math.uh.edu; Tue, 03 Aug 2010 14:15:07 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OgMx8-0006ER-6c for ding@lists.math.uh.edu; Tue, 03 Aug 2010 14:15:07 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OgMx7-00035h-00 for ; Tue, 03 Aug 2010 21:15:05 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OgMx7-0004R5-3N for ding@gnus.org; Tue, 03 Aug 2010 21:15:05 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Aug 2010 21:15:05 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Aug 2010 21:15:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 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" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:tWmPcz5mlkFJ+UcmYvEKj12hUNU= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69866 Archived-At: On Sat, 17 Jul 2010 22:13:02 +0200 asjo@koldfront.dk (Adam Sjøgren) wrote: AS> On Wed, 07 Jul 2010 01:57:11 +0200, Adam wrote: >> This patch changes gnus-secondary-select-method-p to only look at >> the first two elements in the list (nntp and "news.server.org"), >> because the incoming argument never has the entire list. >> gnus-check-server is then changed to call gnus-secondary-select-method-p >> and if the server in question is in secondary-select-methods, the >> configuration from there is used. >> --- >> lisp/gnus-int.el | 3 +++ >> lisp/gnus.el | 6 +++--- >> 2 files changed, 6 insertions(+), 3 deletions(-)I AS> I get the feeling that I've become Warnocked¹ here. AS> Anyone want to comment on the approach in the patch? AS> I have been using it since I posted it, to no ill effect. AS> I did have "nntp:news.gmane.org" for some groups in my .newsrc.eld, and AS> (nntp "news.gmange.org") for others; changing the former to the latter AS> stopped Gnus complaining about posting to possible unknown groups. It seems OK to me but I haven't seen the problem you are fixing so I can't verify it works. Has anyone? Can you explan how to trigger the bug? Ted