From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80379 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: how do I subscribe to a group as a string from code? Date: Thu, 20 Oct 2011 21:07:50 +0200 Message-ID: <87r527jxbt.fsf@thinkpad.tsdh.de> References: <87mxcv3fu2.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319137696 8709 80.91.229.12 (20 Oct 2011 19:08:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2011 19:08:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28667@lists.math.uh.edu Thu Oct 20 21:08:12 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 1RGxyN-0003SK-T7 for ding-account@gmane.org; Thu, 20 Oct 2011 21:08:12 +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 1RGxyA-0004O0-D5; Thu, 20 Oct 2011 14:07:58 -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 1RGxy8-0004Nh-Df for ding@lists.math.uh.edu; Thu, 20 Oct 2011 14:07:56 -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 1RGxy7-0000I9-3o for ding@lists.math.uh.edu; Thu, 20 Oct 2011 14:07:56 -0500 Original-Received: from out5.smtp.messagingengine.com ([66.111.4.29]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RGxy5-0002dq-F1 for ding@gnus.org; Thu, 20 Oct 2011 21:07:53 +0200 Original-Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id E3C8A20F97 for ; Thu, 20 Oct 2011 15:07:52 -0400 (EDT) Original-Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 20 Oct 2011 15:07:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=57BwLMGDaC06x+eY3F5uKzRrrxE=; b=fJSnAHSOVynyudTc/Wq0BqxY+FWp EV/2AuccD9ypje8y16Py8ETL+wTM38LhM2q/i6Idip7y2MMNUqoZXtPLGg0VAKk3 RGEaEN8bgM1jBwzYbknHqKynZcA8lclj3PDsLDnlAecrTH0792F0YqrPW3nKUmq2 ERTi+7tQniATU2c= X-Sasl-enc: cGCgq3AopbM3b/x+ZXFTvCWQFTu0dMH1l0xkSgJ8Al9z 1319137672 Original-Received: from thinkpad.tsdh.de (91-67-169-145-dynip.superkabel.de [91.67.169.145]) by mail.messagingengine.com (Postfix) with ESMTPSA id 58C43483476 for ; Thu, 20 Oct 2011 15:07:52 -0400 (EDT) In-Reply-To: <87mxcv3fu2.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 20 Oct 2011 09:20:05 -0500") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80379 Archived-At: 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. I've just tried (gnus-subscribe-newsgroup "nntp+Gmane:gwene.org.slashdot") and that did the trick. Do I understand your question wrongly, or did you miss the forest for the trees? Bye, Tassilo -- Sent from my Emacs