From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16265 invoked from network); 30 Jul 2022 16:05:29 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 30 Jul 2022 16:05:29 -0000 Received: from localhost ([::1]:50554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHoxz-0001PH-8i for ml@inbox.vuxu.org; Sat, 30 Jul 2022 12:05:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHoxi-0001OP-T9 for info-gnus-english@gnu.org; Sat, 30 Jul 2022 12:05:11 -0400 Received: from ciao.gmane.io ([116.202.254.214]:56518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHoxc-0000iq-VZ for info-gnus-english@gnu.org; Sat, 30 Jul 2022 12:05:09 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oHoxa-0006Kj-Cp for info-gnus-english@gnu.org; Sat, 30 Jul 2022 18:05:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: info-gnus-english@gnu.org Subject: Subscribing to nnimap folders that are subscribed on IMAP servers Date: Sat, 30 Jul 2022 11:11:08 -0400 Message-ID: <87mtcqhbzn.fsf@rak.ac> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:+mDfss+BLWKe0riJjMHBLzY1/yk= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gegu-info-gnus-english@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_DISCARD=1.8, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: "info-gnus-english" Reply-to: Ryan Kavanagh From: Ryan Kavanagh via "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" Hi, I am trying to use gnus as an IMAP mail client. I have folders marked as subscribed on my IMAP server (listed by LSUB). I would like to have gnus automatically subscribe to these folders, or at least list them so that I can manually subscribe gnus to them myself. How can I do so? I am using gnus 5.13 under Emacs 27.1. Grepping around in /usr/share/emacs/27.1/lisp/gnus, the only mention I have found of LSUB is in the documentation for the function gnus-group-nnimap-edit-acl, but that seems to be for editing the ACL for an IMAP folder [0]. Digging around in the history of nnimap.el, it looks like there used to be the following variable that would have done what I wanted, but it was removed in 2010 [1]: (defvar nnimap-request-list-method 'imap-mailbox-list "Method to use to request a list of all folders from the server. If this is 'imap-mailbox-lsub, then use a server-side subscription list to restrict visible folders.") Is there some other variable/function I'm missing that I could use to get this done? Best wishes, Ryan [0] https://datatracker.ietf.org/doc/html/rfc4314 [1] https://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/gnus/nnimap.el?id=20a673b2d0ed2b2f75ab5d7d6e4930fdea0e1a5f -- |)|/ Ryan Kavanagh | 4E46 9519 ED67 7734 268F |\|\ https://rak.ac | BD95 8F7B F8FC 4A11 C97A