From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82002 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap-list-pattern doesn't work? Date: Wed, 04 Jul 2012 12:03:50 +0200 Message-ID: <87bojviw4p.fsf@thinkpad.tsdh.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1341402701 20400 80.91.229.3 (4 Jul 2012 11:51:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Jul 2012 11:51:41 +0000 (UTC) Cc: ding@gnus.org To: Carson Chittom Original-X-From: ding-owner+M30272@lists.math.uh.edu Wed Jul 04 13:51:40 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SmO7K-0005uw-Ni for ding-account@gmane.org; Wed, 04 Jul 2012 13:51:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SmO5l-0005Po-1s; Wed, 04 Jul 2012 06:49:57 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SmO5j-0005Pg-Hu for ding@lists.math.uh.edu; Wed, 04 Jul 2012 06:49:55 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SmO5g-0003U9-6T for ding@lists.math.uh.edu; Wed, 04 Jul 2012 06:49:54 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SmO5e-0003fi-Ku for ding@gnus.org; Wed, 04 Jul 2012 13:49:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id AF2241E030C; Wed, 4 Jul 2012 13:49:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZegD0krzXsrp; Wed, 4 Jul 2012 13:49:49 +0200 (CEST) X-CHKRCPT: Envelopesender noch thorn@fastmail.fm Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 1A3F91E0305; Wed, 4 Jul 2012 13:49:49 +0200 (CEST) In-Reply-To: (Carson Chittom's message of "Tue, 03 Jul 2012 13:53:53 -0500") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82002 Archived-At: Carson Chittom writes: Hi Carson, > I'm using Emacs 24, with the built-in Gnus. Amongst other things, in > ~/.gnus I have, following the manual, > > (setq gnus-secondary-select-methods > '((nnimap "Mailserver" > (nnimap-address "mail.example.com") > (nnimap-stream ssl) > (nnimap-list-pattern ("INBOX" "Mail/*"))))) > > The nnimap-list-pattern appears to do pretty much nothing at all. I just checked out the emacs-24 branch, and the version of Gnus included there doesn't define `nnimap-list-pattern' at all. So I'm rather sure it does pretty much nothing. ;-) Possibly, `nnimap-inbox' is what you want. ,---- | nnimap-inbox is a variable defined in `nnimap.el'. | Its value is nil | | Documentation: | The mail box where incoming mail arrives and should be split out of. | For example, "INBOX". | | This is a Gnus server variable. See Info node `(gnus)Select Methods'. `---- In the current Ma Gnus from git, it's documented to allow also for a list of mail box names... > My assumption, based on the manual's sentence in section 6.5 > > [nnimap-list-pattern] is used when the server has very many > mailboxes and you're only interested in a few--some servers export > your home directory via IMAP, you'll probably want to limit the > mailboxes to those in '~/Mail/*' then. > > was that this meant that Gnus simply didn't worry about anything that > wasn't specifically listed. The Gnus manual for the built-in version of Gnus that ships with emacs doesn't have this description and doesn't refer to `nnimap-list-pattern' at all. Well, except that there's an example using it in the Gnus FAQ, which is a bug in the documentation. Bye, Tassilo