Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Ryan Kavanagh via "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" <info-gnus-english@gnu.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	[thread overview]
Message-ID: <87mtcqhbzn.fsf@rak.ac> (raw)


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



             reply	other threads:[~2022-07-30 16:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-30 15:11 Ryan Kavanagh via Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English) [this message]
2022-07-31 15:44 ` Eric Abrahamsen
2022-08-01 21:56   ` Ryan Kavanagh via Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtcqhbzn.fsf@rak.ac \
    --to=info-gnus-english@gnu.org \
    --cc=rak@rak.ac \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).