Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: Noticing new folders using nnimap
Date: Fri, 19 Apr 2002 22:40:17 +0200	[thread overview]
Message-ID: <ilu3cxr4e32.fsf@extundo.com> (raw)
In-Reply-To: <yujwuv5cev9.fsf@pellinore.raleigh.ibm.com>

Dan Poirier <poirier@us.ibm.com> writes:

> I would like new folders on my IMAP server to appear in my *Group*
> buffer without my having to do anything special each time I start
> Gnus.  I can't seem to get Gnus to notice them, even using C-u C-u F.
>
> I currently have to use ^ and SPC to visit the server's list of
> folders and manually subscribe to new folders.  Any suggestions?

You could try something like this.  Does it work?

Index: nnimap.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnimap.el,v
retrieving revision 6.28
diff -u -u -w -r6.28 nnimap.el
--- nnimap.el	2002/04/12 11:51:01	6.28
+++ nnimap.el	2002/04/19 20:58:50
@@ -1168,7 +1174,7 @@
       (nnimap-before-find-minmax-bugworkaround)
       (dolist (pattern (nnimap-pattern-to-list-arguments
 			nnimap-list-pattern))
-	(dolist (mbx (imap-mailbox-lsub "*" (car pattern) nil
+	(dolist (mbx (imap-mailbox-list "*" (car pattern) nil
 					nnimap-server-buffer))
 	  (or (catch 'found
 		(dolist (mailbox (imap-mailbox-get 'list-flags mbx


           reply	other threads:[~2002-04-19 20:40 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <yujwuv5cev9.fsf@pellinore.raleigh.ibm.com>]

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=ilu3cxr4e32.fsf@extundo.com \
    --to=jas@extundo.com \
    /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).