From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73525 Path: news.gmane.org!not-for-mail From: "JJ" Newsgroups: gmane.emacs.gnus.general Subject: Re: when one has a list of 35 groups one wants to subscribe to Date: Sun, 24 Oct 2010 12:58:34 -0400 (EDT) Message-ID: <33835.85.90.127.118.1287939514.squirrel@mail.hcoop.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1287939552 14946 80.91.229.12 (24 Oct 2010 16:59:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2010 16:59:12 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21894@lists.math.uh.edu Sun Oct 24 18:59:11 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 1PA3uZ-0007b7-9o for ding-account@gmane.org; Sun, 24 Oct 2010 18:59:11 +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 1PA3uB-0007jL-6v; Sun, 24 Oct 2010 11:58:47 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PA3u9-0007j5-2x for ding@lists.math.uh.edu; Sun, 24 Oct 2010 11:58:45 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PA3u7-0005gl-H5 for ding@lists.math.uh.edu; Sun, 24 Oct 2010 11:58:44 -0500 Original-Received: from deleuze.hcoop.net ([69.90.123.67] ident=Debian-exim) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PA3u6-0000PR-00 for ; Sun, 24 Oct 2010 18:58:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=mail.hcoop.net ident=hcoop) by deleuze.hcoop.net with esmtp (Exim 4.63) (envelope-from ) id 1PA3ty-0004Va-Ie for ding@gnus.org; Sun, 24 Oct 2010 12:58:34 -0400 Original-Received: from 85.90.127.118 (SquirrelMail authenticated user jj) by mail.hcoop.net with HTTP; Sun, 24 Oct 2010 12:58:34 -0400 (EDT) User-Agent: SquirrelMail/1.4.9a X-Priority: 3 (Normal) Importance: Normal X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73525 Archived-At: Kan-Ru Chen writes: > Some elisp-fu might help. > > (let ((list-of-newsgroup '("gmane.announce" > "gmane.emacs.devel" > "gmane.emacs.gnus.general" > ; ... 32 more > ))) > (dolist (new-list list-of-newsgroup) > (gnus-subscribe-newsgroup new-list))) I'm often faced with a similar task with RSS feeds, i.e. having tens of these that I want to resubscribe to automatically. What would be the syntax for RSS feeds, since Gnus asks for three entries when subscribing to an RSS feed via `G R': `URL to Search for RSS' `Title' and `Description' So for instance: http://www.nytimes.com/services/xml/rss/nyt/GlobalHome.xml NY Times Global Funny newspaper and this 35 times... -- JJ