From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80376 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: how do I subscribe to a group as a string from code? Date: Thu, 20 Oct 2011 09:20:05 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87mxcv3fu2.fsf@lifelogs.com> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319120889 8957 80.91.229.12 (20 Oct 2011 14:28:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2011 14:28:09 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28664@lists.math.uh.edu Thu Oct 20 16:28:05 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 1RGtbH-0000GB-LE for ding-account@gmane.org; Thu, 20 Oct 2011 16:28:03 +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 1RGtbG-00037D-IW; Thu, 20 Oct 2011 09:28:02 -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 1RGtTs-00030z-7k for ding@lists.math.uh.edu; Thu, 20 Oct 2011 09:20:24 -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 1RGtTo-0007Ux-FP for ding@lists.math.uh.edu; Thu, 20 Oct 2011 09:20:21 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RGtTl-0003DZ-Le for ding@gnus.org; Thu, 20 Oct 2011 16:20:17 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RGtTl-0003zB-IS for ding@gnus.org; Thu, 20 Oct 2011 16:20:17 +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 16:20:17 +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 16:20:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 14 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:EPK4SRep94J4PccURTyTFbi/OqA= X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80376 Archived-At: 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 looked at `gnus-browse-unsubscribe-group'. It's very tightly tied to the server browsing buffer. I can dig into the backend functionality more, but was hoping someone could save me a few hours of poking around. Thanks Ted