diff options
| author | Lars Magne Ingebrigtsen | 2010-09-25 14:19:38 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-09-25 14:19:38 +0000 |
| commit | 6f33b4d7e3f67f82ce0cf85a1cc0a22b48b017c5 (patch) | |
| tree | 557d43167efebb3014c40d41aa995032a1a81009 /lisp | |
| parent | 6688abe01e19c202d266f7d01d704d73df44ed1e (diff) | |
| download | emacs-6f33b4d7e3f67f82ce0cf85a1cc0a22b48b017c5.tar.gz emacs-6f33b4d7e3f67f82ce0cf85a1cc0a22b48b017c5.zip | |
nnimap.el (nnimap-open-connection): Wait for the response to STARTTLS before starting negotiation.
gnus.el (gnus-local-domain): Put gnus-local-domain back again, since apparently third-party libraries depend on it.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 9 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 2 |
3 files changed, 16 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 60986010df8..0ddf95c3a0d 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2010-09-25 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2010-09-25 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * gnus.el (gnus-local-domain): Put gnus-local-domain back again, since | ||
| 4 | apparently third-party libraries depend on it. | ||
| 5 | |||
| 6 | * nnimap.el (nnimap-open-connection): Wait for the response to STARTTLS | ||
| 7 | before starting negotiation. | ||
| 8 | |||
| 3 | * gnus-art.el (gnus-treat-from-gravatar): Change default to nil for | 9 | * gnus-art.el (gnus-treat-from-gravatar): Change default to nil for |
| 4 | privacy reasons. | 10 | privacy reasons. |
| 5 | (gnus-treat-mail-gravatar): Ditto. | 11 | (gnus-treat-mail-gravatar): Ditto. |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 2a5533db079..c3bf47b9533 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -1428,6 +1428,15 @@ you could set this variable: | |||
| 1428 | "Default default new newsgroups the first time Gnus is run. | 1428 | "Default default new newsgroups the first time Gnus is run. |
| 1429 | Should be set in paths.el, and shouldn't be touched by the user.") | 1429 | Should be set in paths.el, and shouldn't be touched by the user.") |
| 1430 | 1430 | ||
| 1431 | (defcustom gnus-local-domain nil | ||
| 1432 | "Local domain name without a host name. | ||
| 1433 | The DOMAINNAME environment variable is used instead if it is defined. | ||
| 1434 | If the function `system-name' returns the full Internet name, there is | ||
| 1435 | no need to set this variable." | ||
| 1436 | :group 'gnus-message | ||
| 1437 | :type '(choice (const :tag "default" nil) | ||
| 1438 | string)) | ||
| 1439 | |||
| 1431 | (defvar gnus-local-organization nil | 1440 | (defvar gnus-local-organization nil |
| 1432 | "String with a description of what organization (if any) the user belongs to. | 1441 | "String with a description of what organization (if any) the user belongs to. |
| 1433 | Obsolete variable; use `message-user-organization' instead.") | 1442 | Obsolete variable; use `message-user-organization' instead.") |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 16a43423bfb..000855db8da 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -310,7 +310,7 @@ not done by default on servers that doesn't support that command.") | |||
| 310 | (gnus-set-process-query-on-exit-flag (nnimap-process nnimap-object) nil) | 310 | (gnus-set-process-query-on-exit-flag (nnimap-process nnimap-object) nil) |
| 311 | (when (setq connection-result (nnimap-wait-for-connection)) | 311 | (when (setq connection-result (nnimap-wait-for-connection)) |
| 312 | (when (eq nnimap-stream 'starttls) | 312 | (when (eq nnimap-stream 'starttls) |
| 313 | (nnimap-send-command "STARTTLS") | 313 | (nnimap-command "STARTTLS") |
| 314 | (starttls-negotiate (nnimap-process nnimap-object))) | 314 | (starttls-negotiate (nnimap-process nnimap-object))) |
| 315 | (unless (equal connection-result "PREAUTH") | 315 | (unless (equal connection-result "PREAUTH") |
| 316 | (if (not (setq credentials | 316 | (if (not (setq credentials |