Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: keeping killed groups out of gnus-group-jump-to-group
Date: Tue, 24 May 2011 21:42:47 -0400	[thread overview]
Message-ID: <87mxibd088.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <m2y61wjjgb.fsf@ibookg4-c2.pc.gwdg.de>

David Engster <deng@randomsample.de> writes:

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

Thanks! I was definitely expecting to have to advise something…

However, just putting this in my .gnus.el and evaluating it doesn't seem
to do anything, do have to put it somewhere special?




  reply	other threads:[~2011-05-25  1:42 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
2011-05-25  1:42   ` Eric Abrahamsen [this message]
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=87mxibd088.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).