aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2007-07-31 05:04:20 +0000
committerMiles Bader2007-07-31 05:04:20 +0000
commit2f62a04420ba8990a8f5372329ee63b82d8b6a51 (patch)
tree5ed113c0ad56165a7f504cfeb882af724e8b5349
parentfa4488bd964cc3e3b9cee8c83b2d7834bd1cf611 (diff)
downloademacs-2f62a04420ba8990a8f5372329ee63b82d8b6a51.tar.gz
emacs-2f62a04420ba8990a8f5372329ee63b82d8b6a51.zip
Merge from gnus--rel--5.10
Patches applied: * emacs--devo--0 (patch 806, 811-812, 823) - Merge from emacs--rel--22 - Update from CVS * gnus--rel--5.10 (patch 239-241) - Merge from emacs--devo--0 - Update from CVS 2007-07-24 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/gnus-msg.el (gnus-summary-supersede-article) (gnus-summary-resend-message-edit): Add Gcc header. (gnus-summary-resend-bounced-mail): Ditto; search whole body for parent article's Message-ID; refer parent article in summary buffer. * lisp/gnus/message.el (message-bounce): Call mime-to-mml. 2007-07-14 David Kastrup <dak@gnu.org> * lisp/gnus/gnus-art.el (gnus-mime-delete-part): Don't go through article-edit finishing actions if we did not edit the article. Revision: emacs@sv.gnu.org/emacs--rel--22--patch-82
-rw-r--r--lisp/gnus/ChangeLog14
-rw-r--r--lisp/gnus/gnus-art.el10
-rw-r--r--lisp/gnus/gnus-msg.el38
-rw-r--r--lisp/gnus/message.el2
-rw-r--r--man/emacs-mime.texi1
5 files changed, 50 insertions, 15 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index a39d64994b0..83ca62ca0de 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -2,6 +2,15 @@
2 2
3 * Relicense all FSF files to GPLv3 or later. 3 * Relicense all FSF files to GPLv3 or later.
4 4
52007-07-24 Katsumi Yamaoka <yamaoka@jpl.org>
6
7 * gnus-msg.el (gnus-summary-supersede-article)
8 (gnus-summary-resend-message-edit): Add Gcc header.
9 (gnus-summary-resend-bounced-mail): Ditto; search whole body for parent
10 article's Message-ID; refer parent article in summary buffer.
11
12 * message.el (message-bounce): Call mime-to-mml.
13
52007-07-21 Reiner Steib <Reiner.Steib@gmx.de> 142007-07-21 Reiner Steib <Reiner.Steib@gmx.de>
6 15
7 * mm-uu.el (mm-uu-type-alist): Refer to mm-uu-configure-list in doc 16 * mm-uu.el (mm-uu-type-alist): Refer to mm-uu-configure-list in doc
@@ -11,6 +20,11 @@
11 20
12 * gnus-srvr.el (gnus-server-font-lock-keywords): Quote faces. 21 * gnus-srvr.el (gnus-server-font-lock-keywords): Quote faces.
13 22
232007-07-14 David Kastrup <dak@gnu.org>
24
25 * gnus-art.el (gnus-mime-delete-part): Don't go through article-edit
26 finishing actions if we did not edit the article.
27
142007-07-13 Katsumi Yamaoka <yamaoka@jpl.org> 282007-07-13 Katsumi Yamaoka <yamaoka@jpl.org>
15 29
16 * gnus-srvr.el (gnus-server-agent-face, gnus-server-opened-face) 30 * gnus-srvr.el (gnus-server-agent-face, gnus-server-opened-face)
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 2d5672ff78a..40de10187f3 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -4408,11 +4408,11 @@ Deleting parts may malfunction or destroy the article; continue? ")
4408 (gnus-summary-edit-article-done 4408 (gnus-summary-edit-article-done
4409 ,(or (mail-header-references gnus-current-headers) "") 4409 ,(or (mail-header-references gnus-current-headers) "")
4410 ,(gnus-group-read-only-p) 4410 ,(gnus-group-read-only-p)
4411 ,gnus-summary-buffer no-highlight))))) 4411 ,gnus-summary-buffer no-highlight))))
4412 ;; Not in `gnus-mime-save-part-and-strip': 4412 ;; Not in `gnus-mime-save-part-and-strip':
4413 (gnus-article-edit-done) 4413 (gnus-article-edit-done)
4414 (gnus-summary-expand-window) 4414 (gnus-summary-expand-window)
4415 (gnus-summary-show-article)) 4415 (gnus-summary-show-article)))
4416 4416
4417(defun gnus-mime-save-part () 4417(defun gnus-mime-save-part ()
4418 "Save the MIME part under point." 4418 "Save the MIME part under point."
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index 0789e25bc68..c9aedab7019 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -815,7 +815,10 @@ header line with the old Message-ID."
815 (set-buffer ,gnus-summary-buffer) 815 (set-buffer ,gnus-summary-buffer)
816 (gnus-cache-possibly-remove-article ,article nil nil nil t) 816 (gnus-cache-possibly-remove-article ,article nil nil nil t)
817 (gnus-summary-mark-as-read ,article gnus-canceled-mark))))) 817 (gnus-summary-mark-as-read ,article gnus-canceled-mark)))))
818 message-send-actions)))) 818 message-send-actions)
819 ;; Add Gcc header.
820 (gnus-inews-insert-archive-gcc)
821 (gnus-inews-insert-gcc))))
819 822
820 823
821 824
@@ -1280,10 +1283,13 @@ composing a new message."
1280 (message-narrow-to-head-1) 1283 (message-narrow-to-head-1)
1281 ;; Gnus will generate a new one when sending. 1284 ;; Gnus will generate a new one when sending.
1282 (message-remove-header "Message-ID") 1285 (message-remove-header "Message-ID")
1283 (message-remove-header message-ignored-resent-headers t)
1284 ;; Remove unwanted headers. 1286 ;; Remove unwanted headers.
1287 (message-remove-header message-ignored-resent-headers t)
1285 (goto-char (point-max)) 1288 (goto-char (point-max))
1286 (insert mail-header-separator) 1289 (insert mail-header-separator)
1290 ;; Add Gcc header.
1291 (gnus-inews-insert-archive-gcc)
1292 (gnus-inews-insert-gcc)
1287 (goto-char (point-min)) 1293 (goto-char (point-min))
1288 (when (re-search-forward "^To:\\|^Newsgroups:" nil 'move) 1294 (when (re-search-forward "^To:\\|^Newsgroups:" nil 'move)
1289 (forward-char 1)) 1295 (forward-char 1))
@@ -1557,15 +1563,29 @@ If FETCH, try to fetch the article that this is a reply to, if indeed
1557this is a reply." 1563this is a reply."
1558 (interactive "P") 1564 (interactive "P")
1559 (gnus-summary-select-article t) 1565 (gnus-summary-select-article t)
1560 (set-buffer gnus-original-article-buffer) 1566 (let (summary-buffer parent)
1561 (gnus-setup-message 'compose-bounce 1567 (if fetch
1562 (let* ((references (mail-fetch-field "references")) 1568 (progn
1563 (parent (and references (gnus-parent-id references)))) 1569 (setq summary-buffer (current-buffer))
1570 (set-buffer gnus-original-article-buffer)
1571 (article-goto-body)
1572 (when (re-search-forward "^References:\n?" nil t)
1573 (while (memq (char-after) '(?\t ? ))
1574 (forward-line 1))
1575 (skip-chars-backward "\t\n ")
1576 (setq parent
1577 (gnus-parent-id (buffer-substring (match-end 0) (point))))))
1578 (set-buffer gnus-original-article-buffer))
1579 (gnus-setup-message 'compose-bounce
1564 (message-bounce) 1580 (message-bounce)
1581 ;; Add Gcc header.
1582 (gnus-inews-insert-archive-gcc)
1583 (gnus-inews-insert-gcc)
1565 ;; If there are references, we fetch the article we answered to. 1584 ;; If there are references, we fetch the article we answered to.
1566 (and fetch parent 1585 (when parent
1567 (gnus-summary-refer-article parent) 1586 (with-current-buffer summary-buffer
1568 (gnus-summary-show-all-headers))))) 1587 (gnus-summary-refer-article parent)
1588 (gnus-summary-show-all-headers))))))
1569 1589
1570;;; Gcc handling. 1590;;; Gcc handling.
1571 1591
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index b98c4eb5366..419fd07727c 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -6697,7 +6697,7 @@ you."
6697 (goto-char boundary) 6697 (goto-char boundary)
6698 (when (re-search-backward "^.?From .*\n" nil t) 6698 (when (re-search-backward "^.?From .*\n" nil t)
6699 (delete-region (match-beginning 0) (match-end 0))))) 6699 (delete-region (match-beginning 0) (match-end 0)))))
6700 (mm-enable-multibyte) 6700 (mime-to-mml)
6701 (save-restriction 6701 (save-restriction
6702 (message-narrow-to-head-1) 6702 (message-narrow-to-head-1)
6703 (message-remove-header message-ignored-bounced-headers t) 6703 (message-remove-header message-ignored-bounced-headers t)
diff --git a/man/emacs-mime.texi b/man/emacs-mime.texi
index 5cf17e7d54b..0f3c141c792 100644
--- a/man/emacs-mime.texi
+++ b/man/emacs-mime.texi
@@ -32,6 +32,7 @@ license to the document, as described in section 6 of the license.
32@end quotation 32@end quotation
33@end copying 33@end copying
34 34
35@c Node ``Interface Functions'' uses Latin-1 characters
35@documentencoding ISO-8859-1 36@documentencoding ISO-8859-1
36 37
37@dircategory Emacs 38@dircategory Emacs