diff options
| author | Miles Bader | 2006-06-17 20:54:51 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-06-17 20:54:51 +0000 |
| commit | f362b76002bfd0f43af76a7772a808c042302f07 (patch) | |
| tree | 0c48bffcf2fa4f0396a3d6bc5effb5ddb6410e72 | |
| parent | 993d4ab6ee5272848d7011f1bbf3c8f5709c36ed (diff) | |
| download | emacs-f362b76002bfd0f43af76a7772a808c042302f07.tar.gz emacs-f362b76002bfd0f43af76a7772a808c042302f07.zip | |
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 105-106)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-313
| -rw-r--r-- | lisp/gnus/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 33 |
3 files changed, 37 insertions, 13 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 71aa3654da6..1899fd9d845 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2006-06-16 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * message.el (message-syntax-checks): Doc fix. | ||
| 4 | (message-send-mail): Add check for continuation headers. | ||
| 5 | (message-check-news-header-syntax): Fix regexp used to check for | ||
| 6 | continuation headers. | ||
| 7 | |||
| 8 | 2006-06-14 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 9 | |||
| 10 | * gnus-art.el (gnus-display-mime): Make sure body ends with newline. | ||
| 11 | |||
| 1 | 2006-06-06 Katsumi Yamaoka <yamaoka@jpl.org> | 12 | 2006-06-06 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 13 | ||
| 3 | * mm-util.el (mm-mime-mule-charset-alist): Use unicode-precedence-list | 14 | * mm-util.el (mm-mime-mule-charset-alist): Use unicode-precedence-list |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 4722e98ef19..39292e33a1f 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -4927,7 +4927,11 @@ N is the numerical prefix." | |||
| 4927 | (article-goto-body) | 4927 | (article-goto-body) |
| 4928 | (narrow-to-region (point-min) (point)) | 4928 | (narrow-to-region (point-min) (point)) |
| 4929 | (gnus-article-save-original-date | 4929 | (gnus-article-save-original-date |
| 4930 | (gnus-treat-article 'head))))))))) | 4930 | (gnus-treat-article 'head))))))) |
| 4931 | ;; Cope with broken MIME messages. | ||
| 4932 | (goto-char (point-max)) | ||
| 4933 | (unless (bolp) | ||
| 4934 | (insert "\n")))) | ||
| 4931 | 4935 | ||
| 4932 | (defcustom gnus-mime-display-multipart-as-mixed nil | 4936 | (defcustom gnus-mime-display-multipart-as-mixed nil |
| 4933 | "Display \"multipart\" parts as \"multipart/mixed\". | 4937 | "Display \"multipart\" parts as \"multipart/mixed\". |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 8bc0f704b5c..91ac018f324 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -190,14 +190,13 @@ To disable checking of long signatures, for instance, add | |||
| 190 | 190 | ||
| 191 | Don't touch this variable unless you really know what you're doing. | 191 | Don't touch this variable unless you really know what you're doing. |
| 192 | 192 | ||
| 193 | Checks include `subject-cmsg', `multiple-headers', `sendsys', | 193 | Checks include `approved', `continuation-headers', `control-chars', |
| 194 | `message-id', `from', `long-lines', `control-chars', `size', | 194 | `empty', `existing-newsgroups', `from', `illegible-text', |
| 195 | `new-text', `quoting-style', `redirected-followup', `signature', | 195 | `invisible-text', `long-header-lines', `long-lines', `message-id', |
| 196 | `approved', `sender', `empty', `empty-headers', `message-id', `from', | 196 | `multiple-headers', `new-text', `newsgroups', `quoting-style', |
| 197 | `subject', `shorten-followup-to', `existing-newsgroups', | 197 | `repeated-newsgroups', `reply-to', `sendsys', `shoot', |
| 198 | `buffer-file-name', `unchanged', `newsgroups', `reply-to', | 198 | `shorten-followup-to', `signature', `size', `subject', `subject-cmsg' |
| 199 | `continuation-headers', `long-header-lines', `invisible-text' and | 199 | and `valid-newsgroups'." |
| 200 | `illegible-text'." | ||
| 201 | :group 'message-news | 200 | :group 'message-news |
| 202 | :type '(repeat sexp)) ; Fixme: improve this | 201 | :type '(repeat sexp)) ; Fixme: improve this |
| 203 | 202 | ||
| @@ -3769,6 +3768,16 @@ It should typically alter the sending method in some way or other." | |||
| 3769 | (let ((message-deletable-headers | 3768 | (let ((message-deletable-headers |
| 3770 | (if news nil message-deletable-headers))) | 3769 | (if news nil message-deletable-headers))) |
| 3771 | (message-generate-headers headers)) | 3770 | (message-generate-headers headers)) |
| 3771 | ;; Check continuation headers. | ||
| 3772 | (message-check 'continuation-headers | ||
| 3773 | (goto-char (point-min)) | ||
| 3774 | (while (re-search-forward "^[^ \t\n][^ \t\n:]*[ \t\n]" nil t) | ||
| 3775 | (goto-char (match-beginning 0)) | ||
| 3776 | (if (y-or-n-p "Fix continuation lines? ") | ||
| 3777 | (insert " ") | ||
| 3778 | (forward-line 1) | ||
| 3779 | (unless (y-or-n-p "Send anyway? ") | ||
| 3780 | (error "Failed to send the message"))))) | ||
| 3772 | ;; Let the user do all of the above. | 3781 | ;; Let the user do all of the above. |
| 3773 | (run-hooks 'message-header-hook)) | 3782 | (run-hooks 'message-header-hook)) |
| 3774 | (unwind-protect | 3783 | (unwind-protect |
| @@ -4326,11 +4335,11 @@ Otherwise, generate and save a value for `canlock-password' first." | |||
| 4326 | (message-check 'continuation-headers | 4335 | (message-check 'continuation-headers |
| 4327 | (goto-char (point-min)) | 4336 | (goto-char (point-min)) |
| 4328 | (let ((do-posting t)) | 4337 | (let ((do-posting t)) |
| 4329 | (while (re-search-forward "^[^ \t\n][^:\n]*$" nil t) | 4338 | (while (re-search-forward "^[^ \t\n][^ \t\n:]*[ \t\n]" nil t) |
| 4339 | (goto-char (match-beginning 0)) | ||
| 4330 | (if (y-or-n-p "Fix continuation lines? ") | 4340 | (if (y-or-n-p "Fix continuation lines? ") |
| 4331 | (progn | 4341 | (insert " ") |
| 4332 | (goto-char (match-beginning 0)) | 4342 | (forward-line 1) |
| 4333 | (insert " ")) | ||
| 4334 | (unless (y-or-n-p "Send anyway? ") | 4343 | (unless (y-or-n-p "Send anyway? ") |
| 4335 | (setq do-posting nil)))) | 4344 | (setq do-posting nil)))) |
| 4336 | do-posting)) | 4345 | do-posting)) |