diff options
Diffstat (limited to 'lisp/gnus')
| -rw-r--r-- | lisp/gnus/ChangeLog | 29 | ||||
| -rw-r--r-- | lisp/gnus/gnus-msg.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/gnus-util.el | 9 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 7 | ||||
| -rw-r--r-- | lisp/gnus/mail-source.el | 12 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 8 | ||||
| -rw-r--r-- | lisp/gnus/sieve-manage.el | 5 |
7 files changed, 57 insertions, 17 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 4cdc8a103bd..1221f163cba 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,32 @@ | |||
| 1 | 2013-05-01 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-util.el (gnus-emacs-completing-read): Fix a filter for XEmacs. | ||
| 4 | (Bug#14304) | ||
| 5 | |||
| 6 | 2013-04-27 Glenn Morris <rgm@gnu.org> | ||
| 7 | |||
| 8 | * gnus.el (gnus-list-debbugs): | ||
| 9 | Use require rather than autoload. (Bug#14262) | ||
| 10 | |||
| 11 | 2013-04-27 Julien Danjou <julien@danjou.info> | ||
| 12 | |||
| 13 | * sieve-manage.el (sieve-manage-authenticator-alist): Update the sieve | ||
| 14 | port to "sieve" now that it has an official IANA port assigned. | ||
| 15 | |||
| 16 | 2013-04-26 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 17 | |||
| 18 | * mail-source.el (mail-source-fetch-pop, mail-source-check-pop): | ||
| 19 | Don't set the MAILHOST environment variable permanently (Bug#14271). | ||
| 20 | |||
| 21 | 2013-04-26 Glenn Morris <rgm@gnu.org> | ||
| 22 | |||
| 23 | * message.el (message-bury): Revert 2013-03-18 change. (Bug#14117) | ||
| 24 | |||
| 25 | 2013-04-25 Andrew Cohen <cohen@bu.edu> | ||
| 26 | |||
| 27 | * gnus-msg.el (gnus-inews-insert-gcc): Re-order conditional to work for | ||
| 28 | string values of 'gcc-self. Thanks to Saroj Thirumalai. | ||
| 29 | |||
| 1 | 2013-04-24 Andrew Cohen <cohen@bu.edu> | 30 | 2013-04-24 Andrew Cohen <cohen@bu.edu> |
| 2 | 31 | ||
| 3 | * nnir.el (nnir-close-group): Make sure we are in the right group. | 32 | * nnir.el (nnir-close-group): Make sure we are in the right group. |
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el index 362dd3ea7f0..fce9a3633c2 100644 --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el | |||
| @@ -1719,8 +1719,8 @@ this is a reply." | |||
| 1719 | (group (when group (gnus-group-decoded-name group))) | 1719 | (group (when group (gnus-group-decoded-name group))) |
| 1720 | (var (or gnus-outgoing-message-group gnus-message-archive-group)) | 1720 | (var (or gnus-outgoing-message-group gnus-message-archive-group)) |
| 1721 | (gcc-self-val | 1721 | (gcc-self-val |
| 1722 | (and group (gnus-group-find-parameter group 'gcc-self) | 1722 | (and group (not (gnus-virtual-group-p group)) |
| 1723 | (not (gnus-virtual-group-p group)))) | 1723 | (gnus-group-find-parameter group 'gcc-self))) |
| 1724 | result | 1724 | result |
| 1725 | (groups | 1725 | (groups |
| 1726 | (cond | 1726 | (cond |
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index 331f9556710..a121c27b547 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el | |||
| @@ -1549,9 +1549,12 @@ SPEC is a predicate specifier that contains stuff like `or', `and', | |||
| 1549 | "Call standard `completing-read-function'." | 1549 | "Call standard `completing-read-function'." |
| 1550 | (let ((completion-styles gnus-completion-styles)) | 1550 | (let ((completion-styles gnus-completion-styles)) |
| 1551 | (completing-read prompt | 1551 | (completing-read prompt |
| 1552 | ;; Old XEmacs (at least 21.4) expect an alist for | 1552 | ;; Old XEmacs (at least 21.4) expect an alist, |
| 1553 | ;; collection. | 1553 | ;; in which the car of each element is a string, |
| 1554 | (mapcar 'list collection) | 1554 | ;; for collection. |
| 1555 | (mapcar (lambda (elem) | ||
| 1556 | (list (format "%s" (or (car-safe elem) elem)))) | ||
| 1557 | collection) | ||
| 1555 | nil require-match initial-input history def))) | 1558 | nil require-match initial-input history def))) |
| 1556 | 1559 | ||
| 1557 | (autoload 'ido-completing-read "ido") | 1560 | (autoload 'ido-completing-read "ido") |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index ffb4694f4a8..f6c1327c78c 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -4433,12 +4433,13 @@ prompt the user for the name of an NNTP server to use." | |||
| 4433 | (gnus-1 arg dont-connect slave) | 4433 | (gnus-1 arg dont-connect slave) |
| 4434 | (gnus-final-warning))) | 4434 | (gnus-final-warning))) |
| 4435 | 4435 | ||
| 4436 | (eval-and-compile | 4436 | (declare-function debbugs-gnu "ext:debbugs-gnu" |
| 4437 | (unless (fboundp 'debbugs-gnu) | 4437 | (severities &optional packages archivedp suppress tags)) |
| 4438 | (autoload 'debbugs-gnu "debbugs-gnu" "List all outstanding Emacs bugs." t))) | 4438 | |
| 4439 | (defun gnus-list-debbugs () | 4439 | (defun gnus-list-debbugs () |
| 4440 | "List all open Gnus bug reports." | 4440 | "List all open Gnus bug reports." |
| 4441 | (interactive) | 4441 | (interactive) |
| 4442 | (require 'debbugs-gnu) | ||
| 4442 | (debbugs-gnu nil "gnus")) | 4443 | (debbugs-gnu nil "gnus")) |
| 4443 | 4444 | ||
| 4444 | ;; Allow redefinition of Gnus functions. | 4445 | ;; Allow redefinition of Gnus functions. |
diff --git a/lisp/gnus/mail-source.el b/lisp/gnus/mail-source.el index 9cc2e6ac09c..7da2a0a441d 100644 --- a/lisp/gnus/mail-source.el +++ b/lisp/gnus/mail-source.el | |||
| @@ -809,6 +809,10 @@ Deleting old (> %s day(s)) incoming mail file `%s'." diff bfile) | |||
| 809 | prescript-delay) | 809 | prescript-delay) |
| 810 | (let ((from (format "%s:%s:%s" server user port)) | 810 | (let ((from (format "%s:%s:%s" server user port)) |
| 811 | (mail-source-string (format "pop:%s@%s" user server)) | 811 | (mail-source-string (format "pop:%s@%s" user server)) |
| 812 | (process-environment (if server | ||
| 813 | (cons (concat "MAILHOST=" server) | ||
| 814 | process-environment) | ||
| 815 | process-environment)) | ||
| 812 | result) | 816 | result) |
| 813 | (when (eq authentication 'password) | 817 | (when (eq authentication 'password) |
| 814 | (setq password | 818 | (setq password |
| @@ -816,8 +820,6 @@ Deleting old (> %s day(s)) incoming mail file `%s'." diff bfile) | |||
| 816 | (cdr (assoc from mail-source-password-cache)) | 820 | (cdr (assoc from mail-source-password-cache)) |
| 817 | (read-passwd | 821 | (read-passwd |
| 818 | (format "Password for %s at %s: " user server))))) | 822 | (format "Password for %s at %s: " user server))))) |
| 819 | (when server | ||
| 820 | (setenv "MAILHOST" server)) | ||
| 821 | (setq result | 823 | (setq result |
| 822 | (cond | 824 | (cond |
| 823 | (program | 825 | (program |
| @@ -877,6 +879,10 @@ Deleting old (> %s day(s)) incoming mail file `%s'." diff bfile) | |||
| 877 | (mail-source-bind (pop source) | 879 | (mail-source-bind (pop source) |
| 878 | (let ((from (format "%s:%s:%s" server user port)) | 880 | (let ((from (format "%s:%s:%s" server user port)) |
| 879 | (mail-source-string (format "pop:%s@%s" user server)) | 881 | (mail-source-string (format "pop:%s@%s" user server)) |
| 882 | (process-environment (if server | ||
| 883 | (cons (concat "MAILHOST=" server) | ||
| 884 | process-environment) | ||
| 885 | process-environment)) | ||
| 880 | result) | 886 | result) |
| 881 | (when (eq authentication 'password) | 887 | (when (eq authentication 'password) |
| 882 | (setq password | 888 | (setq password |
| @@ -886,8 +892,6 @@ Deleting old (> %s day(s)) incoming mail file `%s'." diff bfile) | |||
| 886 | (format "Password for %s at %s: " user server)))) | 892 | (format "Password for %s at %s: " user server)))) |
| 887 | (unless (assoc from mail-source-password-cache) | 893 | (unless (assoc from mail-source-password-cache) |
| 888 | (push (cons from password) mail-source-password-cache))) | 894 | (push (cons from password) mail-source-password-cache))) |
| 889 | (when server | ||
| 890 | (setenv "MAILHOST" server)) | ||
| 891 | (setq result | 895 | (setq result |
| 892 | (cond | 896 | (cond |
| 893 | ;; No easy way to check whether mail is waiting for these. | 897 | ;; No easy way to check whether mail is waiting for these. |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 2b2a0a94413..a6638097b47 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -4097,9 +4097,11 @@ Instead, just auto-save the buffer and then bury it." | |||
| 4097 | 4097 | ||
| 4098 | (defun message-bury (buffer) | 4098 | (defun message-bury (buffer) |
| 4099 | "Bury this mail BUFFER." | 4099 | "Bury this mail BUFFER." |
| 4100 | (bury-buffer buffer) | 4100 | (if message-return-action |
| 4101 | (when message-return-action | 4101 | (progn |
| 4102 | (apply (car message-return-action) (cdr message-return-action)))) | 4102 | (bury-buffer buffer) |
| 4103 | (apply (car message-return-action) (cdr message-return-action))) | ||
| 4104 | (with-current-buffer buffer (bury-buffer)))) | ||
| 4103 | 4105 | ||
| 4104 | (defun message-send (&optional arg) | 4106 | (defun message-send (&optional arg) |
| 4105 | "Send the message in the current buffer. | 4107 | "Send the message in the current buffer. |
diff --git a/lisp/gnus/sieve-manage.el b/lisp/gnus/sieve-manage.el index 22c1f7036bf..b96261764e5 100644 --- a/lisp/gnus/sieve-manage.el +++ b/lisp/gnus/sieve-manage.el | |||
| @@ -149,9 +149,10 @@ the server support the authenticator and AUTHENTICATE is a function | |||
| 149 | for doing the actual authentication." | 149 | for doing the actual authentication." |
| 150 | :group 'sieve-manage) | 150 | :group 'sieve-manage) |
| 151 | 151 | ||
| 152 | (defcustom sieve-manage-default-port 2000 | 152 | (defcustom sieve-manage-default-port "sieve" |
| 153 | "Default port number or service name for managesieve protocol." | 153 | "Default port number or service name for managesieve protocol." |
| 154 | :type 'integer | 154 | :type '(choice integer string) |
| 155 | :version "24.4" | ||
| 155 | :group 'sieve-manage) | 156 | :group 'sieve-manage) |
| 156 | 157 | ||
| 157 | (defcustom sieve-manage-default-stream 'network | 158 | (defcustom sieve-manage-default-stream 'network |