Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: function: find group level
Date: Tue, 01 Mar 2011 03:12:28 +0800	[thread overview]
Message-ID: <87sjv89dnn.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87aahg0z6o.fsf@lifelogs.com>

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




      reply	other threads:[~2011-02-28 19:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27  4:51 Eric Abrahamsen
2011-02-28 18:52 ` Ted Zlatanov
2011-02-28 19:12   ` Eric Abrahamsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sjv89dnn.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).