[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUS hide group from *Group* buffer when there no unread messages...
From: |
Eric Abrahamsen |
Subject: |
Re: GNUS hide group from *Group* buffer when there no unread messages... |
Date: |
Wed, 15 Aug 2012 11:10:01 +0800 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) |
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
- GNUS hide group from *Group* buffer when there no unread messages..., Oleksandr Gavenko, 2012/08/14
- Re: GNUS hide group from *Group* buffer when there no unread messages..., Oleksandr Gavenko, 2012/08/14
- Re: GNUS hide group from *Group* buffer when there no unread messages..., Adam Sjøgren, 2012/08/14
- Re: GNUS hide group from *Group* buffer when there no unread messages..., Oleksandr Gavenko, 2012/08/24
- Re: GNUS hide group from *Group* buffer when there no unread messages..., Andy Moreton, 2012/08/28
- Re: GNUS hide group from *Group* buffer when there no unread messages..., Oleksandr Gavenko, 2012/08/30
Re: GNUS hide group from *Group* buffer when there no unread messages..., Oleksandr Gavenko, 2012/08/24
Re: GNUS hide group from *Group* buffer when there no unread messages..., XeCycle, 2012/08/15