diff options
| author | Lars Magne Ingebrigtsen | 2010-09-06 00:33:15 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-09-06 00:33:15 +0000 |
| commit | d32fac699422013af0b1de0d4ff5bbf1ec613ab7 (patch) | |
| tree | 5b771b16bc3810bda7fcc4246884f1830ca5b849 | |
| parent | cc4244d36d47493ed13c7e82a16d8d6001dcbf66 (diff) | |
| download | emacs-d32fac699422013af0b1de0d4ff5bbf1ec613ab7.tar.gz emacs-d32fac699422013af0b1de0d4ff5bbf1ec613ab7.zip | |
nnimap.el (nnimap-open-connection): Revert the change that would look into authinfo for imaps instead of imap.
| -rw-r--r-- | lisp/gnus/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 10 |
2 files changed, 6 insertions, 7 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 0beb0bcb2e0..45018de0e4f 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * nnimap.el (nnimap-open-connection): Revert the change that would look | ||
| 4 | into authinfo for imaps instead of imap. | ||
| 5 | |||
| 3 | * gnus-start.el (gnus-activate-group): Take an optional parameter to | 6 | * gnus-start.el (gnus-activate-group): Take an optional parameter to |
| 4 | say that you don't want to call gnus-request-group with don-check, but | 7 | say that you don't want to call gnus-request-group with don-check, but |
| 5 | do check the reponse. This is for virtual groups only. | 8 | do check the reponse. This is for virtual groups only. |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index e6a7f740d23..d412af46d0c 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -833,13 +833,9 @@ If EXAMINE is non-nil the group is selected read-only." | |||
| 833 | (let* ((list (progn (gnus-message 7 "Parsing authinfo file `%s'." | 833 | (let* ((list (progn (gnus-message 7 "Parsing authinfo file `%s'." |
| 834 | nnimap-authinfo-file) | 834 | nnimap-authinfo-file) |
| 835 | (netrc-parse nnimap-authinfo-file))) | 835 | (netrc-parse nnimap-authinfo-file))) |
| 836 | (port (cond | 836 | (port (if nnimap-server-port |
| 837 | (nnimap-server-port | 837 | (int-to-string nnimap-server-port) |
| 838 | (int-to-string nnimap-server-port)) | 838 | "imap")) |
| 839 | ((eq nnimap-stream 'ssl) | ||
| 840 | "imaps") | ||
| 841 | (t | ||
| 842 | "imap"))) | ||
| 843 | (auth-info | 839 | (auth-info |
| 844 | (auth-source-user-or-password '("login" "password") server port)) | 840 | (auth-source-user-or-password '("login" "password") server port)) |
| 845 | (auth-user (nth 0 auth-info)) | 841 | (auth-user (nth 0 auth-info)) |