* mail-source.el (mail-sources): Add :program specifier to IMAP
mail source.
(mail-source-fetch-imap): Map :program to `imap-shell-program'.
+2001-01-24 Simon Josefsson <sj@extundo.com>
+
+ * mail-source.el (mail-sources): Add :program specifier to IMAP
+ mail source.
+ (mail-source-fetch-imap): Map :program to `imap-shell-program'.
+
2001-01-24 08:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
* gnus-score.el (gnus-score-lower-thread): Fix a doc typo.
(choice :tag "Stream"
:value network
,@mail-source-imap-streams))
+ (group :inline t
+ (const :format "" :value :program)
+ (string :tag "Program"))
(group :inline t
(const :format ""
:value :authenticator)
(:server (getenv "MAILHOST"))
(:port)
(:stream)
+ (:program)
(:authentication)
(:user (or (user-login-name) (getenv "LOGNAME") (getenv "USER")))
(:password)
(found 0)
(buf (get-buffer-create (generate-new-buffer-name " *imap source*")))
(mail-source-string (format "imap:%s:%s" server mailbox))
+ (imap-shell-program (or (list program) imap-shell-program))
remove)
(if (and (imap-open server port stream authentication buf)
(imap-authenticate