Variable: nnimap-expunge
nnimap-expunge is a variable defined in nnimap.el.gz.
Value
on-exit
Documentation
When to expunge deleted messages.
If never, deleted articles are marked with the IMAP \Delete
flag but not automatically expunged. If immediately, deleted
articles are immediately expunged (this requires the server to
support the UID EXPUNGE command). If on-exit, deleted articles
are flagged, and all flagged articles are expunged when the group
is closed.
For backwards compatibility, this variable may also be set to t
or nil. If the server supports UID EXPUNGE, both t and nil are
equivalent to immediately. If the server does not support UID
EXPUNGE nil is equivalent to never, while t will immediately
expunge ALL articles that are currently flagged as deleted
(i.e., potentially not only the article that was just deleted).
This is a Gnus server variable. See Info node (gnus)Select Methods.
Probably introduced at or before Emacs version 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnimap.el.gz
(defvoo nnimap-expunge 'on-exit
"When to expunge deleted messages.
If `never', deleted articles are marked with the IMAP \\Delete
flag but not automatically expunged. If `immediately', deleted
articles are immediately expunged (this requires the server to
support the UID EXPUNGE command). If `on-exit', deleted articles
are flagged, and all flagged articles are expunged when the group
is closed.
For backwards compatibility, this variable may also be set to t
or nil. If the server supports UID EXPUNGE, both t and nil are
equivalent to `immediately'. If the server does not support UID
EXPUNGE nil is equivalent to `never', while t will immediately
expunge ALL articles that are currently flagged as deleted
(i.e., potentially not only the article that was just deleted).")