Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* How do I list all groups by default
@ 2005-07-07 23:44 Angelina Carlton
  2005-07-07 23:47 ` Adam Sjøgren
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Angelina Carlton @ 2005-07-07 23:44 UTC (permalink / raw)



Hello

I am trying Gnus for the first time and wish to list all my
subscribed groups, particularly the email ones prefixed by
"nnml"

In my .gnus.el I have tried: 

(setq gnus-permanently-visible-groups
     '(("nnml")))

But got an "invalid" regex error. 

Then I tried by way of group parameters:

(setq gnus-parameters
         '(("^nnml.*"               ;; does this not match anything
	 (visible . t)              ;; beginning with nnml?  
	 (charset . utf-8)
	 (subscribed . t)
         (expiry-wait . never)
	 (display . 200))
      
         ;; Mail from emms
         ("^nnml.*emms.*"
         (to-address . "emms-help@gnu.org")
         (to-list . "emms-help@gnu.org")	 
	 (subscribed . t)
         (expiry-wait . never)
	 (display . 200)
	 (charset . utf-8)
	 (visible . t))
      
         ;; Mail from emacs        
         ("^nnml.*emacs.*"
         (to-address . "help-gnu-emacs@gnu.org")
         (to-list . "help-gnu-emacs@gnu.org")	 
	 (subscribed . t)
         (expiry-wait . never)
	 (display . 200)
	 (charset . utf-8)
	 (visible . t)))) 

Neither of these work and I have to press L to see all my mail folders
Not a big deal, but if its possible I would like to see them no matter
how many messages each group contains, if any.

Thank you..

-- 
-----Angelina Carlton-----
orchid on irc.freenode.net
     brat@magma.ca
web:bzgirl.bakadigital.com
--------------------------


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-07 23:44 How do I list all groups by default Angelina Carlton
@ 2005-07-07 23:47 ` Adam Sjøgren
  2005-07-08  0:35   ` Angelina Carlton
  2005-07-08 18:52 ` Johan Bockgård
  2005-07-08 19:31 ` Malte Spiess
  2 siblings, 1 reply; 13+ messages in thread
From: Adam Sjøgren @ 2005-07-07 23:47 UTC (permalink / raw)


On Thu, 07 Jul 2005 19:44:24 -0400, Angelina wrote:

> I am trying Gnus for the first time and wish to list all my
> subscribed groups, particularly the email ones prefixed by
> "nnml"

> In my .gnus.el I have tried: 

> (setq gnus-permanently-visible-groups
>      '(("nnml")))

> But got an "invalid" regex error. 

How about:

  (setq gnus-permanently-visible-groups "^nnml:.*")

?


  Best regards,

-- 
 "Remember, Robert, in life anything can happen."             Adam Sjøgren
                                                         asjo@koldfront.dk


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-07 23:47 ` Adam Sjøgren
@ 2005-07-08  0:35   ` Angelina Carlton
  2005-07-08  3:45     ` Angelina Carlton
  2005-07-08  9:44     ` Adam Sjøgren
  0 siblings, 2 replies; 13+ messages in thread
From: Angelina Carlton @ 2005-07-08  0:35 UTC (permalink / raw)


asjo@koldfront.dk (Adam Sjøgren) writes:


> How about:
>   (setq gnus-permanently-visible-groups "^nnml:.*")

I tried that just now, it did not work either.

-- 
-----Angelina Carlton-----
orchid on irc.freenode.net
     brat@magma.ca
web:bzgirl.bakadigital.com
--------------------------


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-08  0:35   ` Angelina Carlton
@ 2005-07-08  3:45     ` Angelina Carlton
  2005-07-08  9:44     ` Adam Sjøgren
  1 sibling, 0 replies; 13+ messages in thread
From: Angelina Carlton @ 2005-07-08  3:45 UTC (permalink / raw)



Well It looks like I can make customizations using 
M-x gnus-group-customize which writes it to the .newsrc-eld file.

I will live with that if I have to but the files format does not 
appear to be written for the lowly human to parse (it is fugly)
I would much rather this stuff go into my nicely formatted and commented
.gnus.el file.

Just to test, I customized my debian-user group with the M-x
gnus-group-customize command. Saved it by closing gnus and then
copied the relevant (I thought) parts out of the .newsrc-eld and into my
.gnus.el file:

("nnml+email:debian-user" 
	 (to-address . "debian-user@lists.debian.org")
	 (to-list . "debian-user@lists.debian.org")
	 (subscribed . t)
	 (charset . utf-8)
	 (large-newsgroup-initial . 50)
	 (visible . t))

Then I deleted the .newsrc-eld and the nncache to get a fresh start.	 
This also did not work, if the group was empty it would not remain
visible in the Group buffer and also, if I press "f" inside the article
summary, the wrong To address is completed (it sends the mail the
poster, and CC's the list which I don't want either)

-- 
-----Angelina Carlton-----
orchid on irc.freenode.net
     brat@magma.ca
web:bzgirl.bakadigital.com
--------------------------


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-08  0:35   ` Angelina Carlton
  2005-07-08  3:45     ` Angelina Carlton
@ 2005-07-08  9:44     ` Adam Sjøgren
  1 sibling, 0 replies; 13+ messages in thread
From: Adam Sjøgren @ 2005-07-08  9:44 UTC (permalink / raw)


On Thu, 07 Jul 2005 20:35:01 -0400, Angelina wrote:

> asjo@koldfront.dk (Adam Sjøgren) writes:

>> (setq gnus-permanently-visible-groups "^nnml:.*")

> I tried that just now, it did not work either.

I'm quite surprised, as I tested it before answering, and it works
here.

I just sourced the line above, went to the Group-buffer and pressed
'g', and all my nnml:-groups showed up.


  Best regards,

-- 
 "Q: Who tells you what to do?                                Adam Sjøgren
  A: The Bell Telephone Company. The telephone rings     asjo@koldfront.dk
     and I do what I'm told to do."


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-07 23:44 How do I list all groups by default Angelina Carlton
  2005-07-07 23:47 ` Adam Sjøgren
@ 2005-07-08 18:52 ` Johan Bockgård
  2005-07-08 19:31 ` Malte Spiess
  2 siblings, 0 replies; 13+ messages in thread
From: Johan Bockgård @ 2005-07-08 18:52 UTC (permalink / raw)


Angelina Carlton <brat@magma.ca> writes:

> Then I tried by way of group parameters:
>
> (setq gnus-parameters
>          '(("^nnml.*"               ;; does this not match anything
> 	 (visible . t)              ;; beginning with nnml?  

That will not work.

    Group parameters can be set via the `gnus-parameters' variable
    too. But some variables, such as `visible', have no effect.

(info "(gnus)Group Parameters")

-- 
Johan Bockgård


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-07 23:44 How do I list all groups by default Angelina Carlton
  2005-07-07 23:47 ` Adam Sjøgren
  2005-07-08 18:52 ` Johan Bockgård
@ 2005-07-08 19:31 ` Malte Spiess
  2005-07-08 21:52   ` Angelina Carlton
  2 siblings, 1 reply; 13+ messages in thread
From: Malte Spiess @ 2005-07-08 19:31 UTC (permalink / raw)


Angelina Carlton <brat@magma.ca> writes:

> Hello
>
> I am trying Gnus for the first time and wish to list all my
> subscribed groups, particularly the email ones prefixed by
> "nnml"
> [...]
> Neither of these work and I have to press L to see all my mail folders
> Not a big deal, but if its possible I would like to see them no matter
> how many messages each group contains, if any.
>
> Thank you..

Hello,

sorry, I can't be of any help, but I've got the same problem...
(Maybe that makes it more interesting for others to help. ;-) )
I guess it should be possible to somehow make Emacs execute
"M-x gnus-group-list-all-groups".

Greetings
        Malte

P.S.: Should you somehow find out how to do this later, please send me
      an E-Mail.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-08 19:31 ` Malte Spiess
@ 2005-07-08 21:52   ` Angelina Carlton
  2005-07-09  8:33     ` Adam Sjøgren
  2005-07-10  8:53     ` Malte Spiess
  0 siblings, 2 replies; 13+ messages in thread
From: Angelina Carlton @ 2005-07-08 21:52 UTC (permalink / raw)


Malte Spiess <cuts@arcor.de> writes:
> sorry, I can't be of any help, but I've got the same problem...
> (Maybe that makes it more interesting for others to help. ;-) )
> I guess it should be possible to somehow make Emacs execute
> "M-x gnus-group-list-all-groups".

What I ended up doing for each item was G-c to enter the interactive
customization mode. This took forever because I had about 20 to take
care of. Now everything works but it is disappointing because if I need
to make a small change or add something else, I have to repeat that
process all over again in every group. 

As was pointed out to me earlier, some of the setting wont stick if you
put them in .gnus This I think might be version dependant, as on my
Debian unstable computer (Version: 5.10.6-0.CVS.20050610-1) invoking 
(info "(gnus)Group Parameters") 
makes no mention of settings that wont stick.

Where as on my Debian Stable computer (Version: 5.10.6-0.CVS.20050317-1) it
does as Johan Bockgard  told me earlier that this is the case. 

Malte for now you can press L to make them appear and then decide if you
want to do it via the customization menus.


-- 
-----Angelina Carlton-----
orchid on irc.freenode.net
     brat@magma.ca
web:bzgirl.bakadigital.com
--------------------------


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-08 21:52   ` Angelina Carlton
@ 2005-07-09  8:33     ` Adam Sjøgren
  2005-07-10  8:53     ` Malte Spiess
  1 sibling, 0 replies; 13+ messages in thread
From: Adam Sjøgren @ 2005-07-09  8:33 UTC (permalink / raw)


On Fri, 08 Jul 2005 17:52:34 -0400, Angelina wrote:

> What I ended up doing for each item was G-c to enter the interactive
> customization mode. This took forever because I had about 20 to take
> care of. Now everything works but it is disappointing because if I need
> to make a small change or add something else, I have to repeat that
> process all over again in every group. 

You could probably solve this by using topics: Put all your email
groups under a single topic and set the relevant topic parameter on
that topic.

(I don't know why setting gnus-permanently-visible-groups doesn't work
for you, though).


  Best regards,

-- 
 "This is either madness... or brilliance."                   Adam Sjøgren
 "It's remarkable how often those two traits coincide."  asjo@koldfront.dk


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-08 21:52   ` Angelina Carlton
  2005-07-09  8:33     ` Adam Sjøgren
@ 2005-07-10  8:53     ` Malte Spiess
  2005-07-10 13:23       ` Angelina Carlton
  1 sibling, 1 reply; 13+ messages in thread
From: Malte Spiess @ 2005-07-10  8:53 UTC (permalink / raw)


Angelina Carlton <brat@magma.ca> writes:

> Malte Spiess <cuts@arcor.de> writes:
>> sorry, I can't be of any help, but I've got the same problem...
>> (Maybe that makes it more interesting for others to help. ;-) )
>> I guess it should be possible to somehow make Emacs execute
>> "M-x gnus-group-list-all-groups".
>
> What I ended up doing for each item was G-c to enter the interactive
> customization mode. This took forever because I had about 20 to take
> care of. Now everything works but it is disappointing because if I need
> to make a small change or add something else, I have to repeat that
> process all over again in every group. 

Doesn't sound very nice. :-(

> As was pointed out to me earlier, some of the setting wont stick if you
> put them in .gnus This I think might be version dependant, as on my
> Debian unstable computer (Version: 5.10.6-0.CVS.20050610-1) invoking 
> (info "(gnus)Group Parameters") 
> makes no mention of settings that wont stick.

Yeah, I tried to understand that info-stuff, too. Yet, everything I
tried didn't succeed.

> Where as on my Debian Stable computer (Version: 5.10.6-0.CVS.20050317-1) it
> does as Johan Bockgard  told me earlier that this is the case. 
>
> Malte for now you can press L to make them appear and then decide if you
> want to do it via the customization menus.

Okay, I'll stick to pressing L on each startup... :-(

Thanks anyway...
       Malte


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-10  8:53     ` Malte Spiess
@ 2005-07-10 13:23       ` Angelina Carlton
  2005-07-10 14:11         ` Malte Spiess
  0 siblings, 1 reply; 13+ messages in thread
From: Angelina Carlton @ 2005-07-10 13:23 UTC (permalink / raw)


Malte Spiess <cuts@arcor.de> writes:
> Okay, I'll stick to pressing L on each startup... :-(

> Thanks anyway...
>        Malte

Actually yesterday I did manage to get it working with this regex:

(setq gnus-permanently-visible-groups "^nnml\\+email\\:.*")


-- 
-----Angelina Carlton-----
orchid on irc.freenode.net
     brat@magma.ca
web:bzgirl.bakadigital.com
--------------------------


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-10 13:23       ` Angelina Carlton
@ 2005-07-10 14:11         ` Malte Spiess
  2005-07-10 14:15           ` Malte Spiess
  0 siblings, 1 reply; 13+ messages in thread
From: Malte Spiess @ 2005-07-10 14:11 UTC (permalink / raw)


Angelina Carlton <brat@magma.ca> writes:

> Malte Spiess <cuts@arcor.de> writes:
>> Okay, I'll stick to pressing L on each startup... :-(
>
>> Thanks anyway...
>>        Malte
>
> Actually yesterday I did manage to get it working with this regex:
>
> (setq gnus-permanently-visible-groups "^nnml\\+email\\:.*")

Unfortunately that doesn't have any effect on my settings, but I guess
I'll just have to adjust it (I hope). ;-)

Greetings
        Malte


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: How do I list all groups by default
  2005-07-10 14:11         ` Malte Spiess
@ 2005-07-10 14:15           ` Malte Spiess
  0 siblings, 0 replies; 13+ messages in thread
From: Malte Spiess @ 2005-07-10 14:15 UTC (permalink / raw)


Malte Spiess <cuts@arcor.de> writes:

> Angelina Carlton <brat@magma.ca> writes:
>
>> Malte Spiess <cuts@arcor.de> writes:
>>> Okay, I'll stick to pressing L on each startup... :-(
>>
>>> Thanks anyway...
>>>        Malte
>>
>> Actually yesterday I did manage to get it working with this regex:
>>
>> (setq gnus-permanently-visible-groups "^nnml\\+email\\:.*")
>
> Unfortunately that doesn't have any effect on my settings, but I guess
> I'll just have to adjust it (I hope). ;-)

Yup, now I simply added
(setq gnus-permanently-visible-groups ".*")
which works fine for me. (Should have guessed it.)

Greetings
        Malte


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-07-10 14:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-07 23:44 How do I list all groups by default Angelina Carlton
2005-07-07 23:47 ` Adam Sjøgren
2005-07-08  0:35   ` Angelina Carlton
2005-07-08  3:45     ` Angelina Carlton
2005-07-08  9:44     ` Adam Sjøgren
2005-07-08 18:52 ` Johan Bockgård
2005-07-08 19:31 ` Malte Spiess
2005-07-08 21:52   ` Angelina Carlton
2005-07-09  8:33     ` Adam Sjøgren
2005-07-10  8:53     ` Malte Spiess
2005-07-10 13:23       ` Angelina Carlton
2005-07-10 14:11         ` Malte Spiess
2005-07-10 14:15           ` Malte Spiess

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