Gnus development mailing list
 help / color / mirror / Atom feed
* Re: Add nnimap to gnus-auto-subscribed-groups
       [not found] ` <878wwnties.fsf@gmail.com>
       [not found]   ` <87od4xhco9.fsf@gmail.com>
@ 2009-02-20 12:05   ` Reiner Steib
  2009-02-20 18:26     ` David Engster
  1 sibling, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2009-02-20 12:05 UTC (permalink / raw)
  To: ding, Daniel Clemente; +Cc: bugs

On Sat, May 17 2008, Daniel Clemente wrote:
>   the manual says about gnus-auto-subscribed-groups :
>
>> By default this variable makes all new groups that
> come from mail back ends (nnml, nnbabyl, nnfolder,
> nnmbox, nnmh, and nnmaildir) subscribed.
>
>   I think that nnimap should be added there (at the
> manual and at the variable in latest gnus).

On Mon, Jun 30 2008, Daniel Clemente wrote:
>   Could this be done? We have to change the variable and the documentation. Maybe other mail methods should also be included there, not only imap.
>
>   I attach a patch to add nnimap there.

Does anyone see a problem with this change?

> diff -u -r7.66 gnus-start.el
> --- lisp/gnus-start.el	19 May 2008 08:47:42 -0000	7.66
> +++ lisp/gnus-start.el	30 Jun 2008 08:48:49 -0000
> @@ -342,7 +342,7 @@
>    :type 'boolean)
>
>  (defcustom gnus-auto-subscribed-groups
> -  "^nnml\\|^nnfolder\\|^nnmbox\\|^nnmh\\|^nnbabyl\\|^nnmaildir"
> +  "^nnml\\|^nnfolder\\|^nnmbox\\|^nnmh\\|^nnbabyl\\|^nnmaildir\\|^nnimap"
>    "*All new groups that match this regexp will be subscribed automatically.
>  Note that this variable only deals with new groups.  It has no effect
>  whatsoever on old groups.
> cvs server: Diffing pgg
> cvs server: Diffing smilies
> cvs server: Diffing texi
> Index: texi/gnus.texi
> ===================================================================
> RCS file: /usr/local/cvsroot/gnus/texi/gnus.texi,v
> retrieving revision 7.296
> diff -u -r7.296 gnus.texi
> --- texi/gnus.texi	17 Jun 2008 21:37:01 -0000	7.296
> +++ texi/gnus.texi	30 Jun 2008 08:48:59 -0000
> @@ -1348,9 +1348,9 @@
>  more meant for setting some ground rules, while the other variable is
>  used more for user fiddling.  By default this variable makes all new
>  groups that come from mail back ends (@code{nnml}, @code{nnbabyl},
> -@code{nnfolder}, @code{nnmbox}, @code{nnmh}, and @code{nnmaildir})
> -subscribed.  If you don't like that, just set this variable to
> -@code{nil}.
> +@code{nnfolder}, @code{nnmbox}, @code{nnmh}, @code{nnmaildir}, and
> +@code{nnimap}) subscribed.  If you don't like that, just set this
> +variable to @code{nil}.
>
>  New groups that match this regexp are subscribed using
>  @code{gnus-subscribe-options-newsgroup-method}.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



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

* Re: Add nnimap to gnus-auto-subscribed-groups
  2009-02-20 12:05   ` Reiner Steib
@ 2009-02-20 18:26     ` David Engster
  0 siblings, 0 replies; 3+ messages in thread
From: David Engster @ 2009-02-20 18:26 UTC (permalink / raw)
  To: ding; +Cc: Daniel Clemente

Reiner Steib <reinersteib+gmane@imap.cc> writes:
> On Sat, May 17 2008, Daniel Clemente wrote:
>>   the manual says about gnus-auto-subscribed-groups :
>>
>>> By default this variable makes all new groups that
>> come from mail back ends (nnml, nnbabyl, nnfolder,
>> nnmbox, nnmh, and nnmaildir) subscribed.
>>
>>   I think that nnimap should be added there (at the
>> manual and at the variable in latest gnus).
>
> On Mon, Jun 30 2008, Daniel Clemente wrote:
>>   Could this be done? We have to change the variable and the documentation. Maybe other mail methods should also be included there, not only imap.
>>
>>   I attach a patch to add nnimap there.
>
> Does anyone see a problem with this change?

Please see my original reply to that mail. I don't think IMAP supports
determining new groups.

-David



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

* Re: Add nnimap to gnus-auto-subscribed-groups
       [not found]   ` <87od4xhco9.fsf@gmail.com>
@ 2008-07-16 20:46     ` David Engster
  0 siblings, 0 replies; 3+ messages in thread
From: David Engster @ 2008-07-16 20:46 UTC (permalink / raw)
  To: Daniel Clemente; +Cc: ding

[From gnus.bug - Adding nnimap to gnus-auto-subscribed-groups]

Daniel Clemente <dcl441-bugs@yahoo.com> writes:
> (defcustom gnus-auto-subscribed-groups
>-  "^nnml\\|^nnfolder\\|^nnmbox\\|^nnmh\\|^nnbabyl\\|^nnmaildir"
>+  "^nnml\\|^nnfolder\\|^nnmbox\\|^nnmh\\|^nnbabyl\\|^nnmaildir\\|^nnimap"
>   "*All new groups that match this regexp will be subscribed automatically.
> Note that this variable only deals with new groups.  It has no effect
> whatsoever on old groups.

> Hi, was this fixed?

Does that really work for you? AFAIK, IMAP has no way of determining
which groups are actually new. If I create a new IMAP folder outside
Gnus and add nnimap to gnus-auto-subscribed-groups, nothing happens. But
I guess that may depend on the IMAP server (I use dovecot). Maybe it
works with other servers, but then I'd wonder what happens when you kill
a group and restart Gnus.

-David



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

end of thread, other threads:[~2009-02-20 18:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <284637.62771.qm@web53211.mail.re2.yahoo.com>
     [not found] ` <878wwnties.fsf@gmail.com>
     [not found]   ` <87od4xhco9.fsf@gmail.com>
2008-07-16 20:46     ` Add nnimap to gnus-auto-subscribed-groups David Engster
2009-02-20 12:05   ` Reiner Steib
2009-02-20 18:26     ` David Engster

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