From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85560 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP Folder hierarchy -> Topics Date: Tue, 27 Jan 2015 15:53:08 +1100 Message-ID: <87zj94akp7.fsf@building.gnus.org> References: <1spq3462vw.fsf@voll.uninett.no> <1sk3tc60en.fsf@voll.uninett.no> <874njb7395.fsf@gnus.org> <87fw2v8hpe.fsf@lifelogs.com> <1s4mw9886m.fsf@voll2.uninett.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422334474 28628 80.91.229.3 (27 Jan 2015 04:54:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 04:54:34 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33800@lists.math.uh.edu Tue Jan 27 05:54:30 2015 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 1YFyAV-0007MT-Rp for ding-account@gmane.org; Tue, 27 Jan 2015 05:54:28 +0100 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 1YFyAG-0000rX-Uc; Mon, 26 Jan 2015 22:54:12 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YFyAF-0000r6-7e for ding@lists.math.uh.edu; Mon, 26 Jan 2015 22:54:11 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YFyAD-0002Iw-Df for ding@lists.math.uh.edu; Mon, 26 Jan 2015 22:54:11 -0600 Original-Received: from smtp.syd.comcen.com.au ([203.23.236.77]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YFyAA-000460-F7 for ding@gnus.org; Tue, 27 Jan 2015 05:54:07 +0100 Original-Received: from building.gnus.org ([27.96.197.126]) by smtp.syd.comcen.com.au (8.13.4/8.12.9) with ESMTP id t0R4rCg7075752 for ; Tue, 27 Jan 2015 15:53:12 +1100 (EST) In-Reply-To: <1s4mw9886m.fsf@voll2.uninett.no> (Vegard Vesterheim's message of "Mon, 15 Sep 2014 12:55:13 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-comcen-MailScanner-Information: Please contact the ISP for more information X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.102, required 4, AWL 0.00, BAYES_50 0.00, RDNS_NONE 0.10) X-comcen-MailScanner-From: larsi@gnus.org X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85560 Archived-At: Vegard Vesterheim writes: > Here is a function which seems to work, using dovecot as IMAP > server. Each IMAP server gets its own main topic, and the IMAP folder > hierarchy is used to create a corresponding topic structure. Setting the > variable gnus-browse-subscribe-newsgroup-method to > gnus-subscribe-create-topic, I can simply subscribe the folders in the > server buffer (pressing 'u') and have GNUS create the appropriate topic > structure automatically. Hopefully someone with better elisp knowledge > can verify and clean up this code, and add it to GNUS. Sounds like a good idea. I don't have mail box hierarchies on any IMAP servers, so I can't test this. Perhaps somebody else who does feels inspired to take the idea and install it in Gnus? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/