From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86159 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: Using IMAP as POP, :mailbox taking a list? Date: Fri, 04 Sep 2015 11:52:23 +0200 Message-ID: <878u8mo6js.fsf@igel.home> References: <87si6uy55n.fsf@tullinup.koldfront.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1441360394 3366 80.91.229.3 (4 Sep 2015 09:53:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2015 09:53:14 +0000 (UTC) Cc: ding@gnus.org To: asjo@koldfront.dk (Adam =?utf-8?Q?Sj=C3=B8gren?=) Original-X-From: ding-owner+M34393@lists.math.uh.edu Fri Sep 04 11:52:56 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZXnfu-0003ia-SR for ding-account@gmane.org; Fri, 04 Sep 2015 11:52:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1ZXnfc-00012F-50; Fri, 04 Sep 2015 04:52:32 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1ZXnfa-00011w-FY for ding@lists.math.uh.edu; Fri, 04 Sep 2015 04:52:30 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1ZXnfY-00009B-3j for ding@lists.math.uh.edu; Fri, 04 Sep 2015 04:52:30 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by quimby.gnus.org with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ZXnfW-0003gj-5T for ding@gnus.org; Fri, 04 Sep 2015 11:52:26 +0200 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3n6vS91PtYz3hj93; Fri, 4 Sep 2015 11:52:25 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3n6vS90LSWzvPsq; Fri, 4 Sep 2015 11:52:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 82NJPpG-FrIm; Fri, 4 Sep 2015 11:52:24 +0200 (CEST) X-Auth-Info: iK4oD29XRYbtY/j2uoDVyiMiyCklKYLDyUIm1twQv21jC5yRKYouf0BF3w42720x Original-Received: from igel.home (ppp-93-104-187-196.dynamic.mnet-online.de [93.104.187.196]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 4 Sep 2015 11:52:24 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id BF4E22C3934; Fri, 4 Sep 2015 11:52:23 +0200 (CEST) X-Yow: Did YOU find a DIGITAL WATCH in YOUR box of VELVEETA? In-Reply-To: <87si6uy55n.fsf@tullinup.koldfront.dk> ("Adam =?utf-8?Q?Sj?= =?utf-8?Q?=C3=B8gren=22's?= message of "Fri, 04 Sep 2015 10:12:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86159 Archived-At: asjo@koldfront.dk (Adam Sjøgren) writes: > So I was thinking: if the :mailbox value could be a list, then I could > have only one imap entry in mail-sources, and only one connection, and > Gnus could just fetch from each mailbox in the list. > > Does that sound feasible? Reasonable? Any ideas at how to implement, > where to look? Looks doable, see mail-source-fetch-imap. You probably just need to add a loop over mailbox. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."