From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80380 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: how do I subscribe to a group as a string from code? Date: Thu, 20 Oct 2011 14:28:44 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y5wf1mz7.fsf@lifelogs.com> References: <87mxcv3fu2.fsf@lifelogs.com> <87r527jxbt.fsf@thinkpad.tsdh.de> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319138986 18419 80.91.229.12 (20 Oct 2011 19:29:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2011 19:29:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28668@lists.math.uh.edu Thu Oct 20 21:29:42 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 1RGyJC-0005Ds-2r for ding-account@gmane.org; Thu, 20 Oct 2011 21:29:42 +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 1RGyIg-0004VB-Uw; Thu, 20 Oct 2011 14:29:11 -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 1RGyIf-0004Uv-4E for ding@lists.math.uh.edu; Thu, 20 Oct 2011 14:29:09 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RGyId-0000NR-OQ for ding@lists.math.uh.edu; Thu, 20 Oct 2011 14:29:08 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RGyIb-0003Dm-Nx for ding@gnus.org; Thu, 20 Oct 2011 21:29:05 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RGyIb-00051m-Jf for ding@gnus.org; Thu, 20 Oct 2011 21:29:05 +0200 Original-Received: from adsl-75-38-26-142.dsl.irvnca.sbcglobal.net ([75.38.26.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Oct 2011 21:29:05 +0200 Original-Received: from tzz by adsl-75-38-26-142.dsl.irvnca.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Oct 2011 21:29:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-75-38-26-142.dsl.irvnca.sbcglobal.net 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-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:ClTP2v2XFQeDIyQRvB4+tZAWlww= X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80380 Archived-At: On Thu, 20 Oct 2011 21:07:50 +0200 Tassilo Horn wrote: TH> Ted Zlatanov writes: >> I need this for my gnus-sync.el work. I have save and read working, >> now I want to be able to sync subscriptions. As soon as that's >> working I'll put it out. >> >> Given a string: "nntp+news.gwene.org:gwene.org.slashdot" I want to >> subscribe to that group. The server is not necessarily defined, but >> it's OK to fail in that case. TH> I've just tried TH> (gnus-subscribe-newsgroup "nntp+Gmane:gwene.org.slashdot") TH> and that did the trick. Do I understand your question wrongly, or did TH> you miss the forest for the trees? Whoa, how the .... does that work? I don't have a "Gmane" server defined in my backends, but it subscribed to it and I can look at that group on Gmane. This also works in my original case, where I have that foreign server defined: (gnus-subscribe-newsgroup "nntp+news.gwene.org:gwene.org.slashdot") so I guess it solves my problem, but I'm really curious why the "Gmane" server worked without a definition and I am not sure if I can rely on this behavior for general sync. Ted