Gnus development mailing list
 help / color / mirror / Atom feed
* function: find group level
@ 2011-02-27  4:51 Eric Abrahamsen
  2011-02-28 18:52 ` Ted Zlatanov
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Abrahamsen @ 2011-02-27  4:51 UTC (permalink / raw)
  To: ding

I'm trying to write a function to set bbdb/news-auto-create-p based on
the subscription level of each group, to be put in
gnus-select-group-hook.

I've gone tramping through some of the source, and can't for the life of
me figure out how to get the subscription level of the group that's
being entered. Surely there's a utility function for this?

Thanks!
Eric




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

* Re: function: find group level
  2011-02-27  4:51 function: find group level Eric Abrahamsen
@ 2011-02-28 18:52 ` Ted Zlatanov
  2011-02-28 19:12   ` Eric Abrahamsen
  0 siblings, 1 reply; 3+ messages in thread
From: Ted Zlatanov @ 2011-02-28 18:52 UTC (permalink / raw)
  To: ding

On Sun, 27 Feb 2011 12:51:51 +0800 Eric Abrahamsen <eric@ericabrahamsen.net> wrote: 

EA> I'm trying to write a function to set bbdb/news-auto-create-p based on
EA> the subscription level of each group, to be put in
EA> gnus-select-group-hook.

EA> I've gone tramping through some of the source, and can't for the life of
EA> me figure out how to get the subscription level of the group that's
EA> being entered. Surely there's a utility function for this?

Does this work for you?

(gnus-group-level gnus-newsgroup-name)

Ted




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

* Re: function: find group level
  2011-02-28 18:52 ` Ted Zlatanov
@ 2011-02-28 19:12   ` Eric Abrahamsen
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Abrahamsen @ 2011-02-28 19:12 UTC (permalink / raw)
  To: ding

On Tue, Mar 01 2011, Ted Zlatanov wrote:

> On Sun, 27 Feb 2011 12:51:51 +0800 Eric Abrahamsen <eric@ericabrahamsen.net> wrote: 
>
> EA> I'm trying to write a function to set bbdb/news-auto-create-p based on
> EA> the subscription level of each group, to be put in
> EA> gnus-select-group-hook.
>
> EA> I've gone tramping through some of the source, and can't for the life of
> EA> me figure out how to get the subscription level of the group that's
> EA> being entered. Surely there's a utility function for this?
>
> Does this work for you?
>
> (gnus-group-level gnus-newsgroup-name)

Very much so, thank you!

I've got plenty to learn about the gnus source code.

Eric




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

end of thread, other threads:[~2011-02-28 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-27  4:51 function: find group level Eric Abrahamsen
2011-02-28 18:52 ` Ted Zlatanov
2011-02-28 19:12   ` Eric Abrahamsen

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).