Gnus development mailing list
 help / color / mirror / Atom feed
* when one has a list of 35 groups one wants to subscribe to
@ 2010-10-22  3:54 jidanni
  2010-10-22  6:47 ` Tassilo Horn
  0 siblings, 1 reply; 15+ messages in thread
From: jidanni @ 2010-10-22  3:54 UTC (permalink / raw)
  To: ding

(info "(gnus) Subscription Commands") should mention what to do when one
has a list of 35 groups one wants to subscribe to.

All we can find out is we must manually add each one by hand.

One might think oh just put them into .newsrc and have it reread that.
Reading (info "(gnus) Startup Files"), that might work on a fresh gnus
but we have turned off and removed .newsrc long ago and rereading it
would surely destroy our other groups. Nope, none of (info "(gnus) New
Groups") is right either, as that has nothing to do with our list of 35
groups.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: when one has a list of 35 groups one wants to subscribe to
  2010-10-22  3:54 when one has a list of 35 groups one wants to subscribe to jidanni
@ 2010-10-22  6:47 ` Tassilo Horn
  2010-10-22  6:55   ` jidanni
  2010-10-22  7:13   ` [PATCH] Mention subscriptions via Server buffer at Subscription Commands (was: when one has a list of 35 groups one wants to subscribe to) Tassilo Horn
  0 siblings, 2 replies; 15+ messages in thread
From: Tassilo Horn @ 2010-10-22  6:47 UTC (permalink / raw)
  To: jidanni; +Cc: ding

jidanni@jidanni.org writes:

> (info "(gnus) Subscription Commands") should mention what to do when
> one has a list of 35 groups one wants to subscribe to.
>
> All we can find out is we must manually add each one by hand.
>
> One might think oh just put them into .newsrc and have it reread that.

I wouldn't have come to that idea. :-)

When I want to subscribe to many groups, I enter that server via the
*Server* buffer so that I can see the complete group listing and use
isearch to find my groups.  So I guess, a link to the server buffer
would be a good thing to have in that section.  (I'll add one...)

Bye,
Tassilo



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: when one has a list of 35 groups one wants to subscribe to
  2010-10-22  6:47 ` Tassilo Horn
@ 2010-10-22  6:55   ` jidanni
  2010-10-22  7:06     ` Tassilo Horn
  2010-10-22 17:50     ` James Cloos
  2010-10-22  7:13   ` [PATCH] Mention subscriptions via Server buffer at Subscription Commands (was: when one has a list of 35 groups one wants to subscribe to) Tassilo Horn
  1 sibling, 2 replies; 15+ messages in thread
From: jidanni @ 2010-10-22  6:55 UTC (permalink / raw)
  To: tassilo; +Cc: ding

>>>>> "TH" == Tassilo Horn <tassilo@member.fsf.org> writes:

TH> When I want to subscribe to many groups, I enter that server via the
TH> *Server* buffer so that I can see the complete group listing and use
TH> isearch to find my groups.  So I guess, a link to the server buffer
TH> would be a good thing to have in that section.  (I'll add one...)

But there are a million groups in there. And my 35 groups are probably
scattered among them, so I would still have to find them one by one.
But I already have my list, one group per line, ready. But there is no
way for me to submit it to gnus. It is not as simple as
$ < list_of_groups xargs -n 1 other_leading_brand_newsreader --subscribe



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: when one has a list of 35 groups one wants to subscribe to
  2010-10-22  6:55   ` jidanni
@ 2010-10-22  7:06     ` Tassilo Horn
  2010-10-22  7:11       ` jidanni
  2010-10-22 17:50     ` James Cloos
  1 sibling, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2010-10-22  7:06 UTC (permalink / raw)
  To: jidanni; +Cc: ding

jidanni@jidanni.org writes:

>>>>>> "TH" == Tassilo Horn <tassilo@member.fsf.org> writes:
>
> TH> When I want to subscribe to many groups, I enter that server via the
> TH> *Server* buffer so that I can see the complete group listing and use
> TH> isearch to find my groups.  So I guess, a link to the server buffer
> TH> would be a good thing to have in that section.  (I'll add one...)
>
> But there are a million groups in there. And my 35 groups are probably
> scattered among them, so I would still have to find them one by one.

Do you know `isearch' (C-s)?

> But I already have my list, one group per line, ready. But there is no
> way for me to submit it to gnus. It is not as simple as
> $ < list_of_groups xargs -n 1 other_leading_brand_newsreader --subscribe

Well, yes, I think there's nothing like that.  But since that's only a
one time effort unless you change your interests on a daily basis... :-)

Bye,
Tassilo



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: when one has a list of 35 groups one wants to subscribe to
  2010-10-22  7:06     ` Tassilo Horn
@ 2010-10-22  7:11       ` jidanni
  2010-10-22  7:28         ` Tassilo Horn
  2010-10-22  9:17         ` Steinar Bang
  0 siblings, 2 replies; 15+ messages in thread
From: jidanni @ 2010-10-22  7:11 UTC (permalink / raw)
  To: tassilo; +Cc: ding

TH> Do you know `isearch' (C-s)?

35 times?!



^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH] Mention subscriptions via Server buffer at Subscription Commands (was: when one has a list of 35 groups one wants to subscribe to)
  2010-10-22  6:47 ` Tassilo Horn
  2010-10-22  6:55   ` jidanni
@ 2010-10-22  7:13   ` Tassilo Horn
  2010-10-22  7:18     ` [PATCH] Mention subscriptions via Server buffer at Subscription Commands jidanni
  2010-10-22 14:53     ` Lars Magne Ingebrigtsen
  1 sibling, 2 replies; 15+ messages in thread
From: Tassilo Horn @ 2010-10-22  7:13 UTC (permalink / raw)
  To: ding; +Cc: jidanni

	* gnus.texi (Subscription Commands): Mention that you can also
	subscribe to new groups via the Server buffer, which is probably more
	convenient when subscribing to many groups.
---
 texi/ChangeLog |    6 ++++++
 texi/gnus.texi |    6 ++++++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/texi/ChangeLog b/texi/ChangeLog
index a5246c9..353e8a7 100644
--- a/texi/ChangeLog
+++ b/texi/ChangeLog
@@ -1,3 +1,9 @@
+2010-10-22  Tassilo Horn  <tassilo@member.fsf.org>
+
+	* gnus.texi (Subscription Commands): Mention that you can also
+	subscribe to new groups via the Server buffer, which is probably more
+	convenient when subscribing to many groups.
+
 2010-10-21  Julien Danjou  <julien@danjou.info>
 
 	* message.texi (Message Headers): Allow message-default-headers to be a
diff --git a/texi/gnus.texi b/texi/gnus.texi
index 95ae10a..882c384 100644
--- a/texi/gnus.texi
+++ b/texi/gnus.texi
@@ -2211,6 +2211,12 @@ selected.
 @section Subscription Commands
 @cindex subscription
 
+The following commands allow for managing your subscriptions in the
+Group buffer.  If you want to subscribe to many groups, it's probably
+more convenient to go to the @ref{Server Buffer}, and choose the
+server there using @kbd{RET} or @kbd{SPC}.  Then you'll have the
+commands listed in @ref{Browse Foreign Server} at hand.
+
 @table @kbd
 
 @item S t
-- 
1.7.3.1

Tassilo Horn <tassilo@member.fsf.org> writes:

> When I want to subscribe to many groups, I enter that server via the
> *Server* buffer so that I can see the complete group listing and use
> isearch to find my groups.  So I guess, a link to the server buffer
> would be a good thing to have in that section.  (I'll add one...)

Ok, I've tried to add one.  If it seems ok, could someone please commit
it for me?  (Since Gnus switched from CVS to git, I think I've lost my
credentials...)

BTW: Is that the right way to send patches made with "git format-patch"?
I think Carsten Dominik (org-mode author) once told me that the patch
has to come first in the mail so that it can be applied more easily from
inside mail clients, because then one could pipe the complete mail to
git.  I guess with Gnus, you don't have that restriction and only pipe
the patch, no matter where it is, right?

Bye,
Tassilo



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] Mention subscriptions via Server buffer at Subscription Commands
  2010-10-22  7:13   ` [PATCH] Mention subscriptions via Server buffer at Subscription Commands (was: when one has a list of 35 groups one wants to subscribe to) Tassilo Horn
@ 2010-10-22  7:18     ` jidanni
  2010-10-22 14:53     ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 15+ messages in thread
From: jidanni @ 2010-10-22  7:18 UTC (permalink / raw)
  To: tassilo; +Cc: ding

OK, it would be neat on
(info "(gnus) Browse Foreign Server")
if there were a command where we could just paste all 35 groups into the
buffer at once... (wishlist idea for gnus.)



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: when one has a list of 35 groups one wants to subscribe to
  2010-10-22  7:11       ` jidanni
@ 2010-10-22  7:28         ` Tassilo Horn
  2010-10-22 10:15           ` Kan-Ru Chen
  2010-10-22  9:17         ` Steinar Bang
  1 sibling, 1 reply; 15+ messages in thread
From: Tassilo Horn @ 2010-10-22  7:28 UTC (permalink / raw)
  To: jidanni; +Cc: ding

jidanni@jidanni.org writes:

> TH> Do you know `isearch' (C-s)?
>
> 35 times?!

Well, if your groups have a something in common, e.g. you want to
subscribe to 20 emacs related Gmane groups, you search only once
followed by some `u' and `C-n'.

But ok, if your 35 groups are uniformly distributed accross all groups
on that server, then there's no good way that I'm aware of...

Bye,
Tassilo



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: when one has a list of 35 groups one wants to subscribe to
  2010-10-22  7:11       ` jidanni
  2010-10-22  7:28         ` Tassilo Horn
@ 2010-10-22  9:17         ` Steinar Bang
  1 sibling, 0 replies; 15+ messages in thread
From: Steinar Bang @ 2010-10-22  9:17 UTC (permalink / raw)
  To: ding

>>>>> jidanni@jidanni.org:

TH> Do you know `isearch' (C-s)?

> 35 times?!

`M-x occur' is nice, if the groups have names that can be matched with a
regexp. 




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: when one has a list of 35 groups one wants to subscribe to
  2010-10-22  7:28         ` Tassilo Horn
@ 2010-10-22 10:15           ` Kan-Ru Chen
  2010-10-22 10:41             ` jidanni
  0 siblings, 1 reply; 15+ messages in thread
From: Kan-Ru Chen @ 2010-10-22 10:15 UTC (permalink / raw)
  To: ding

Tassilo Horn <tassilo@member.fsf.org> writes:

> jidanni@jidanni.org writes:
>
>> TH> Do you know `isearch' (C-s)?
>>
>> 35 times?!
>
> Well, if your groups have a something in common, e.g. you want to
> subscribe to 20 emacs related Gmane groups, you search only once
> followed by some `u' and `C-n'.
>
> But ok, if your 35 groups are uniformly distributed accross all groups
> on that server, then there's no good way that I'm aware of...
>
> Bye,
> Tassilo

Some elisp-fu might help.

--8<---------------cut here---------------start------------->8---
(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)))
--8<---------------cut here---------------end--------------->8---




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: when one has a list of 35 groups one wants to subscribe to
  2010-10-22 10:15           ` Kan-Ru Chen
@ 2010-10-22 10:41             ` jidanni
  0 siblings, 0 replies; 15+ messages in thread
From: jidanni @ 2010-10-22 10:41 UTC (permalink / raw)
  To: kanru; +Cc: ding

>>>>> "KC" == Kan-Ru Chen <kanru@kanru.info> writes:

KC> Some elisp-fu might help.


KC> (let ((list-of-newsgroup '("gmane.announce"
KC>                            "gmane.emacs.devel"
KC>                            "gmane.emacs.gnus.general"
KC>                            ; ... 32 more
KC>                            )))
KC>   (dolist (new-list list-of-newsgroup)
KC>     (gnus-subscribe-newsgroup new-list)))

Maybe that should be put into the manual.

(It's to late for me to test. I did them all by hand already.)



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] Mention subscriptions via Server buffer at Subscription Commands
  2010-10-22  7:13   ` [PATCH] Mention subscriptions via Server buffer at Subscription Commands (was: when one has a list of 35 groups one wants to subscribe to) Tassilo Horn
  2010-10-22  7:18     ` [PATCH] Mention subscriptions via Server buffer at Subscription Commands jidanni
@ 2010-10-22 14:53     ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 15+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-22 14:53 UTC (permalink / raw)
  To: ding

Tassilo Horn <tassilo@member.fsf.org> writes:

> 	* gnus.texi (Subscription Commands): Mention that you can also
> 	subscribe to new groups via the Server buffer, which is probably more
> 	convenient when subscribing to many groups.

Thanks; applied.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: when one has a list of 35 groups one wants to subscribe to
  2010-10-22  6:55   ` jidanni
  2010-10-22  7:06     ` Tassilo Horn
@ 2010-10-22 17:50     ` James Cloos
  1 sibling, 0 replies; 15+ messages in thread
From: James Cloos @ 2010-10-22 17:50 UTC (permalink / raw)
  To: jidanni; +Cc: tassilo, ding

>>>>> "j" == jidanni  <jidanni@jidanni.org> writes:

j> It is not as simple as
j> $ < list_of_groups xargs -n 1 other_leading_brand_newsreader --subscribe

What I did was to have a script generate a file full of lisp such as:

(gnus-subscribe-group "nnimap+l:Bugs/Debian/atjtimex")

and use M-x load-file to run it.

It would not be difficult to write a script which matches the api you
show above to create such an elisp file.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: when one has a list of 35 groups one wants to subscribe to
  2010-10-24 16:58 when one has a list of 35 groups one wants to subscribe to JJ
@ 2010-10-24 17:23 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 15+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-24 17:23 UTC (permalink / raw)
  To: ding

"JJ" <ding_gnus.org@sumou.com> writes:

> 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'

Unfortunately, `gnus-group-make-rss-group' doesn't take the parameters
as, er, parameters, but assumes that they're entered from the
minibuffer.  But I think you could probably hack around that easily --
just take a look at the function and plug in your data where needed.

> So for instance:
> http://www.nytimes.com/services/xml/rss/nyt/GlobalHome.xml
> NY Times Global
> Funny newspaper
>
> and this 35 times...

http://gwene.org   :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: when one has a list of 35 groups one wants to subscribe to
@ 2010-10-24 16:58 JJ
  2010-10-24 17:23 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 15+ messages in thread
From: JJ @ 2010-10-24 16:58 UTC (permalink / raw)
  To: ding

Kan-Ru Chen <kanru@kanru.info> 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




^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-10-24 17:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-22  3:54 when one has a list of 35 groups one wants to subscribe to jidanni
2010-10-22  6:47 ` Tassilo Horn
2010-10-22  6:55   ` jidanni
2010-10-22  7:06     ` Tassilo Horn
2010-10-22  7:11       ` jidanni
2010-10-22  7:28         ` Tassilo Horn
2010-10-22 10:15           ` Kan-Ru Chen
2010-10-22 10:41             ` jidanni
2010-10-22  9:17         ` Steinar Bang
2010-10-22 17:50     ` James Cloos
2010-10-22  7:13   ` [PATCH] Mention subscriptions via Server buffer at Subscription Commands (was: when one has a list of 35 groups one wants to subscribe to) Tassilo Horn
2010-10-22  7:18     ` [PATCH] Mention subscriptions via Server buffer at Subscription Commands jidanni
2010-10-22 14:53     ` Lars Magne Ingebrigtsen
2010-10-24 16:58 when one has a list of 35 groups one wants to subscribe to JJ
2010-10-24 17:23 ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).