From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78892 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: keeping killed groups out of gnus-group-jump-to-group Date: Tue, 24 May 2011 21:42:47 -0400 Message-ID: <87mxibd088.fsf@ericabrahamsen.net> References: <87ipt189e9.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1306287851 26331 80.91.229.12 (25 May 2011 01:44:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 May 2011 01:44:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27192@lists.math.uh.edu Wed May 25 03:44:07 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QP38p-0006sF-2X for ding-account@gmane.org; Wed, 25 May 2011 03:44:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QP37p-0005Ju-Bd; Tue, 24 May 2011 20:43:05 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QP37o-0005Jk-33 for ding@lists.math.uh.edu; Tue, 24 May 2011 20:43:04 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QP37m-0003YF-9N for ding@lists.math.uh.edu; Tue, 24 May 2011 20:43:03 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QP37j-0006K0-Ad for ding@gnus.org; Wed, 25 May 2011 03:42:59 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QP37j-0006VE-7I for ding@gnus.org; Wed, 25 May 2011 03:42:59 +0200 Original-Received: from dyn-209-2-210-27.dyn.columbia.edu ([209.2.210.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 May 2011 03:42:59 +0200 Original-Received: from eric by dyn-209-2-210-27.dyn.columbia.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 May 2011 03:42:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dyn-209-2-210-27.dyn.columbia.edu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:7G9ykDfKDHFyJFlMK5R7vBIgUpU= X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78892 Archived-At: David Engster 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?