Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Noticing new folders using nnimap
       [not found] <yujwuv5cev9.fsf@pellinore.raleigh.ibm.com>
@ 2002-04-19 20:40 ` Simon Josefsson
  0 siblings, 0 replies; only message in thread
From: Simon Josefsson @ 2002-04-19 20:40 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-19 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <yujwuv5cev9.fsf@pellinore.raleigh.ibm.com>
2002-04-19 20:40 ` Noticing new folders using nnimap Simon Josefsson

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