From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: info-gnus-english@gnu.org
Subject: Re: GNUS hide group from *Group* buffer when there no unread messages...
Date: Wed, 15 Aug 2012 11:10:01 +0800 [thread overview]
Message-ID: <87r4r8c0l2.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87ehn94jod.fsf@fsfe.org>
On Tue, Aug 14 2012, Kevin Brubeck Unhammer wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> And 'j' for `gnus-group-jump-to-group' will find any group, visible or
>> not! This is my main method for *Group* buffer navigation, and for your
>> exact use-case: 'j' to find a group, then 'C-u a' to compose a message
>> to it.
>
> Is it possible to make that use "ido" type completion?
But of course!
(setq gnus-completing-read-function 'gnus-ido-completing-read)
I have problems with this, largely because nnmairix (for reasons I will
never understand) creates dummy copies of all your groups. So when you
hit 'j' you're suddenly confronted by a sea of nonexistent groups that
get in the way of where you want to go. Someone in this group, I
believe, once provided me with this:
--8<---------------cut here---------------start------------->8---
(defadvice gnus-group-completing-read (before remove-nnmairix-groups activate)
(unless collection
(mapatoms
(lambda (g)
(unless (string-match "\\(nnml\\|archive\\)" (symbol-name g))
(push g collection)))
gnus-active-hashtb)))
--8<---------------cut here---------------end--------------->8---
Unfortunately this also filters out all my nnml+archive groups, even
though it looks like it shouldn't. Probably I could fix it myself
without too much work, but I haven't bothered…
Anyway, hope that helps.
E
--
GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.11)
of 2012-08-06 on pellet
Ma Gnus v0.6
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next prev parent reply other threads:[~2012-08-15 3:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-14 9:17 Oleksandr Gavenko
2012-08-14 9:26 ` Oleksandr Gavenko
2012-08-14 9:32 ` Adam Sjøgren
2012-08-14 13:13 ` Eric Abrahamsen
2012-08-14 14:44 ` Kevin Brubeck Unhammer
2012-08-15 3:10 ` Eric Abrahamsen [this message]
2012-08-15 6:12 ` Kevin Brubeck Unhammer
2012-08-24 14:57 ` Oleksandr Gavenko
2012-08-28 12:01 ` Andy Moreton
2012-08-30 10:12 ` Oleksandr Gavenko
[not found] ` <mailman.7811.1346321591.855.info-gnus-english@gnu.org>
2012-09-07 17:27 ` Randal L. Schwartz
2012-09-09 19:04 ` Lars Ingebrigtsen
2012-08-24 17:10 ` Oleksandr Gavenko
2012-08-15 7:03 ` XeCycle
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=87r4r8c0l2.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=info-gnus-english@gnu.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).