Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Subscribing to nnimap folders that are subscribed on IMAP servers
@ 2022-07-30 15:11 Ryan Kavanagh via Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
  2022-07-31 15:44 ` Eric Abrahamsen
  0 siblings, 1 reply; 3+ messages in thread
From: Ryan Kavanagh via Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English) @ 2022-07-30 15:11 UTC (permalink / raw)
  To: info-gnus-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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-01 21:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-30 15:11 Subscribing to nnimap folders that are subscribed on IMAP servers Ryan Kavanagh via Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
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)

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).