Tags: patch Hi, Here is a patch that permits a Gnus/nnml user to define the name of the buffer for IMAP communication. Like this, for instance: (setq mail-sources '((imap :server "example.com" :stream tls :buffer " *imap example.com*"))) Doing so, said buffer will be kept connected for the entire Gnus session. FWIW, I'm using it right now and it seems like a quite effective way to speed up mail retrieving (even better with multiple IMAP servers). I have no use for this myself but I guess that this feature could also be extended to POP servers. In GNU Emacs 31.0.50 (build 22, x86_64-unknown-openbsd7.6, X toolkit) of 2025-03-06 built on computer Repository revision: fe7a8c92be6269f8fc7933eb6c190178839d0f8a Repository branch: mgi/mail-source-keep-connect Windowing system distributor 'The X.Org Foundation', version 11.0.12101015 System Description: OpenBSD computer 7.6 GENERIC.MP#567 amd64 Configured using: 'configure CC=egcc CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib MAKEINFO=gmakeinfo --prefix=/home/manuel/emacs --bindir=/home/manuel/bin --with-x-toolkit=lucid --with-toolkit-scroll-bars=no --without-cairo --without-compress-install'