Gnus development mailing list
 help / color / mirror / Atom feed
From: David Engster <deng@randomsample.de>
To: ding@gnus.org
Subject: Re: keeping killed groups out of gnus-group-jump-to-group
Date: Tue, 24 May 2011 15:51:00 +0200	[thread overview]
Message-ID: <m2y61wjjgb.fsf@ibookg4-c2.pc.gwdg.de> (raw)
In-Reply-To: <87ipt189e9.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 23 May 2011 16:11:26 -0400")

Eric Abrahamsen writes:
> Very simply: I'm using a mairix server, and ido for all autocompletion.
> The mairix server includes a complete list of all my nnmail groups,
> killed, and they all show up when I hit 'j' to jump to a group, usually
> *before* the real nnmail group, which makes it hard to use. I don't know
> where the list of groups is created -- is there a way I can have it
> filter out killed groups?

I don't know either. You could use an advice to at least filter the
nnmairix groups:

(defadvice gnus-group-completing-read (before remove-nnmairix-groups activate)
  (unless collection
    (mapatoms
     (lambda (g)
       (unless (string-match nnmairix-group-prefix (symbol-name g))
	 (push g collection)))
     gnus-active-hashtb)))

It's not nice, but it should work...

-David



  reply	other threads:[~2011-05-24 13:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 20:11 Eric Abrahamsen
2011-05-24 13:51 ` David Engster [this message]
2011-05-25  1:42   ` Eric Abrahamsen
2011-05-25  4:43     ` Eric Abrahamsen

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=m2y61wjjgb.fsf@ibookg4-c2.pc.gwdg.de \
    --to=deng@randomsample.de \
    --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).