diff options
| author | Lars Magne Ingebrigtsen | 2010-10-18 23:41:03 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-10-18 23:41:03 +0000 |
| commit | 2755ee7829a3966cc73dccccd2c97e7d53f9050f (patch) | |
| tree | d5c6e4f32918338fe5993f0874e569eabb7f0e8f | |
| parent | 7cad71ad21f4ee07ff4652c9e39ebf4510e0216b (diff) | |
| download | emacs-2755ee7829a3966cc73dccccd2c97e7d53f9050f.tar.gz emacs-2755ee7829a3966cc73dccccd2c97e7d53f9050f.zip | |
message.el (message-get-reply-headers): If we're fed `to-address', then always use that.
gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode name in the mode line spec so that the mode line menu works (bug #2431).
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/gnus-agent.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 8 |
3 files changed, 13 insertions, 6 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 47124f39810..ea8672b7dd7 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2010-10-18 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2010-10-18 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode | ||
| 4 | name in the mode line spec so that the mode line menu works | ||
| 5 | (bug #2431). | ||
| 6 | |||
| 7 | * message.el (message-get-reply-headers): If we're fed `to-address', | ||
| 8 | then always use that. | ||
| 9 | |||
| 3 | * gnus-art.el (gnus-article-make-menu-bar): The article/group menus | 10 | * gnus-art.el (gnus-article-make-menu-bar): The article/group menus |
| 4 | aren't so wide as to need to switch off the edit menu. | 11 | aren't so wide as to need to switch off the edit menu. |
| 5 | 12 | ||
diff --git a/lisp/gnus/gnus-agent.el b/lisp/gnus/gnus-agent.el index 04bdb3be626..7fdd5b4ea76 100644 --- a/lisp/gnus/gnus-agent.el +++ b/lisp/gnus/gnus-agent.el | |||
| @@ -513,8 +513,8 @@ manipulated as follows: | |||
| 513 | ;; Set up the menu. | 513 | ;; Set up the menu. |
| 514 | (when (gnus-visual-p 'agent-menu 'menu) | 514 | (when (gnus-visual-p 'agent-menu 'menu) |
| 515 | (funcall (intern (format "gnus-agent-%s-make-menu-bar" buffer)))) | 515 | (funcall (intern (format "gnus-agent-%s-make-menu-bar" buffer)))) |
| 516 | (unless (assq 'gnus-agent-mode minor-mode-alist) | 516 | (unless (assq mode minor-mode-alist) |
| 517 | (push gnus-agent-mode-status minor-mode-alist)) | 517 | (push (cons mode (cdr gnus-agent-mode-status)) minor-mode-alist)) |
| 518 | (unless (assq mode minor-mode-map-alist) | 518 | (unless (assq mode minor-mode-map-alist) |
| 519 | (push (cons mode (symbol-value (intern (format "gnus-agent-%s-mode-map" | 519 | (push (cons mode (symbol-value (intern (format "gnus-agent-%s-mode-map" |
| 520 | buffer)))) | 520 | buffer)))) |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index c9ddba42896..ce72984c886 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -6568,6 +6568,10 @@ The function is called with one parameter, a cons cell ..." | |||
| 6568 | (save-match-data | 6568 | (save-match-data |
| 6569 | ;; Build (textual) list of new recipient addresses. | 6569 | ;; Build (textual) list of new recipient addresses. |
| 6570 | (cond | 6570 | (cond |
| 6571 | (to-address | ||
| 6572 | (setq recipients (concat ", " to-address)) | ||
| 6573 | ;; If the author explicitly asked for a copy, we don't deny it to them. | ||
| 6574 | (if mct (setq recipients (concat recipients ", " mct)))) | ||
| 6571 | ((not wide) | 6575 | ((not wide) |
| 6572 | (setq recipients (concat ", " author))) | 6576 | (setq recipients (concat ", " author))) |
| 6573 | (address-headers | 6577 | (address-headers |
| @@ -6603,10 +6607,6 @@ responses here are directed to other addresses. | |||
| 6603 | You may customize the variable `message-use-mail-followup-to', if you | 6607 | You may customize the variable `message-use-mail-followup-to', if you |
| 6604 | want to get rid of this query permanently."))) | 6608 | want to get rid of this query permanently."))) |
| 6605 | (setq recipients (concat ", " mft))) | 6609 | (setq recipients (concat ", " mft))) |
| 6606 | (to-address | ||
| 6607 | (setq recipients (concat ", " to-address)) | ||
| 6608 | ;; If the author explicitly asked for a copy, we don't deny it to them. | ||
| 6609 | (if mct (setq recipients (concat recipients ", " mct)))) | ||
| 6610 | (t | 6610 | (t |
| 6611 | (setq recipients (if never-mct "" (concat ", " author))) | 6611 | (setq recipients (if never-mct "" (concat ", " author))) |
| 6612 | (if to (setq recipients (concat recipients ", " to))) | 6612 | (if to (setq recipients (concat recipients ", " to))) |