diff options
| author | Miles Bader | 2006-02-24 05:02:12 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-02-24 05:02:12 +0000 |
| commit | 5f4264e54bb59b9b0590a113fbd015c3c0920f7a (patch) | |
| tree | c837d5156b4a275296c31cdeb3ad9de46ef17a4d | |
| parent | 9f261d3c1d29f48ca2f8f96e4809bccbe3c81e89 (diff) | |
| download | emacs-5f4264e54bb59b9b0590a113fbd015c3c0920f7a.tar.gz emacs-5f4264e54bb59b9b0590a113fbd015c3c0920f7a.zip | |
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-118
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 38-39)
- Update from CVS
| -rw-r--r-- | lisp/gnus/ChangeLog | 37 | ||||
| -rw-r--r-- | lisp/gnus/flow-fill.el | 10 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/mm-util.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/mm-view.el | 9 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/qp.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/utf7.el | 2 |
8 files changed, 59 insertions, 10 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index c77c92d05c7..87327dde482 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,38 @@ | |||
| 1 | 2006-02-23 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * flow-fill.el (fill-flowed): Bind adaptive-fill-mode to nil. | ||
| 4 | Remove space stuffing, and only do quotes that actually start with | ||
| 5 | ">" at the beginning of the lines. | ||
| 6 | Merge of 2005-11-17 and 2004-07-25 from the trunk. | ||
| 7 | |||
| 8 | 2006-02-23 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 9 | |||
| 10 | * utf7.el (utf7-utf-16-coding-system): Fix comment. utf-16-be is | ||
| 11 | also available in Emacs 21.3. | ||
| 12 | |||
| 13 | * message.el (message-fix-before-sending): Change "Emacs 22" to | ||
| 14 | "Emacs 23 (unicode)" in comment. | ||
| 15 | |||
| 16 | * qp.el (quoted-printable-encode-region): Change "Emacs 22" to | ||
| 17 | "Emacs 23 (unicode)" in comment. | ||
| 18 | |||
| 19 | * mm-util.el: Change "Emacs 22" to "Emacs 23 (unicode)" in | ||
| 20 | comment. | ||
| 21 | (mm-coding-system-p): Add comment about no-MULE XEmacs. | ||
| 22 | |||
| 23 | * mm-view.el (mm-fill-flowed): Add :version. | ||
| 24 | |||
| 25 | 2006-02-23 Ralf Angeli <angeli@iwi.uni-sb.de> | ||
| 26 | |||
| 27 | * mm-view.el (mm-fill-flowed): New variable. | ||
| 28 | (mm-inline-text): Use it. | ||
| 29 | |||
| 30 | 2006-02-21 Wolfram Fenske <wolfram.fenske@student.uni-magdeburg.de> | ||
| 31 | (tiny change) | ||
| 32 | |||
| 33 | * nnimap.el (nnimap-request-move-article): Change folder back to | ||
| 34 | source group before deleting. | ||
| 35 | |||
| 1 | 2006-02-20 Katsumi Yamaoka <yamaoka@jpl.org> | 36 | 2006-02-20 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 37 | ||
| 3 | * rfc2047.el (rfc2047-charset-to-coding-system): Don't check the | 38 | * rfc2047.el (rfc2047-charset-to-coding-system): Don't check the |
| @@ -1266,7 +1301,7 @@ | |||
| 1266 | 1301 | ||
| 1267 | * gnus-topic.el (gnus-topic-mode): Ditto. | 1302 | * gnus-topic.el (gnus-topic-mode): Ditto. |
| 1268 | 1303 | ||
| 1269 | 2005-07-08 Ralf Angeli <angeli@iwi.uni-sb.de> (tiny change) | 1304 | 2005-07-08 Ralf Angeli <angeli@iwi.uni-sb.de> |
| 1270 | 1305 | ||
| 1271 | * gnus-art.el (gnus-article-next-page, gnus-article-next-page-1) | 1306 | * gnus-art.el (gnus-article-next-page, gnus-article-next-page-1) |
| 1272 | (gnus-article-prev-page): Take scroll-margin into consideration. | 1307 | (gnus-article-prev-page): Take scroll-margin into consideration. |
diff --git a/lisp/gnus/flow-fill.el b/lisp/gnus/flow-fill.el index c3f7f7bb20e..480505549c9 100644 --- a/lisp/gnus/flow-fill.el +++ b/lisp/gnus/flow-fill.el | |||
| @@ -113,10 +113,15 @@ RFC 2646 suggests 66 characters for readability." | |||
| 113 | (save-excursion | 113 | (save-excursion |
| 114 | (set-buffer (or (current-buffer) buffer)) | 114 | (set-buffer (or (current-buffer) buffer)) |
| 115 | (goto-char (point-min)) | 115 | (goto-char (point-min)) |
| 116 | ;; Remove space stuffing. | ||
| 117 | (while (re-search-forward "^ " nil t) | ||
| 118 | (delete-char -1) | ||
| 119 | (forward-line 1)) | ||
| 120 | (goto-char (point-min)) | ||
| 116 | (while (re-search-forward " $" nil t) | 121 | (while (re-search-forward " $" nil t) |
| 117 | (when (save-excursion | 122 | (when (save-excursion |
| 118 | (beginning-of-line) | 123 | (beginning-of-line) |
| 119 | (looking-at "^\\(>*\\)\\( ?\\)")) | 124 | (looking-at "^\\(>+\\)\\( ?\\)")) |
| 120 | (let ((quote (match-string 1)) | 125 | (let ((quote (match-string 1)) |
| 121 | sig) | 126 | sig) |
| 122 | (if (string= quote "") | 127 | (if (string= quote "") |
| @@ -146,7 +151,8 @@ RFC 2646 suggests 66 characters for readability." | |||
| 146 | (condition-case nil | 151 | (condition-case nil |
| 147 | (let ((fill-prefix (when quote (concat quote " "))) | 152 | (let ((fill-prefix (when quote (concat quote " "))) |
| 148 | (fill-column (eval fill-flowed-display-column)) | 153 | (fill-column (eval fill-flowed-display-column)) |
| 149 | filladapt-mode) | 154 | filladapt-mode |
| 155 | adaptive-fill-mode) | ||
| 150 | (fill-region (fill-flowed-point-at-bol) | 156 | (fill-region (fill-flowed-point-at-bol) |
| 151 | (min (1+ (fill-flowed-point-at-eol)) | 157 | (min (1+ (fill-flowed-point-at-eol)) |
| 152 | (point-max)) | 158 | (point-max)) |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 28325b73e26..1bdc2f6a11f 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -3615,8 +3615,8 @@ It should typically alter the sending method in some way or other." | |||
| 3615 | (when (let ((char (char-after))) | 3615 | (when (let ((char (char-after))) |
| 3616 | (or (< (mm-char-int char) 128) | 3616 | (or (< (mm-char-int char) 128) |
| 3617 | (and (mm-multibyte-p) | 3617 | (and (mm-multibyte-p) |
| 3618 | ;; Fixme: Wrong for Emacs 22 and for things | 3618 | ;; FIXME: Wrong for Emacs 23 (unicode) and for |
| 3619 | ;; like undecable utf-8. Should at least | 3619 | ;; things like undecable utf-8. Should at least |
| 3620 | ;; use find-coding-systems-region. | 3620 | ;; use find-coding-systems-region. |
| 3621 | (memq (char-charset char) | 3621 | (memq (char-charset char) |
| 3622 | '(eight-bit-control eight-bit-graphic | 3622 | '(eight-bit-control eight-bit-graphic |
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el index 9bdbc3c72b1..a7f375aeba8 100644 --- a/lisp/gnus/mm-util.el +++ b/lisp/gnus/mm-util.el | |||
| @@ -174,7 +174,7 @@ system object in XEmacs." | |||
| 174 | (if (fboundp 'coding-system-p) | 174 | (if (fboundp 'coding-system-p) |
| 175 | (when (coding-system-p cs) | 175 | (when (coding-system-p cs) |
| 176 | cs) | 176 | cs) |
| 177 | ;; Is this branch ever actually useful? | 177 | ;; no-MULE XEmacs: |
| 178 | (car (memq cs (mm-get-coding-system-list)))))) | 178 | (car (memq cs (mm-get-coding-system-list)))))) |
| 179 | 179 | ||
| 180 | (defvar mm-charset-synonym-alist | 180 | (defvar mm-charset-synonym-alist |
| @@ -331,7 +331,7 @@ with Mule charsets. It is completely useless for Emacs." | |||
| 331 | cs mime mule alist) | 331 | cs mime mule alist) |
| 332 | (while css | 332 | (while css |
| 333 | (setq cs (pop css) | 333 | (setq cs (pop css) |
| 334 | mime (or (coding-system-get cs :mime-charset) ; Emacs 22 | 334 | mime (or (coding-system-get cs :mime-charset) ; Emacs 23 (unicode) |
| 335 | (coding-system-get cs 'mime-charset))) | 335 | (coding-system-get cs 'mime-charset))) |
| 336 | (when (and mime | 336 | (when (and mime |
| 337 | (not (eq t (setq mule | 337 | (not (eq t (setq mule |
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el index 43d6bddf194..c2b4e19f806 100644 --- a/lisp/gnus/mm-view.el +++ b/lisp/gnus/mm-view.el | |||
| @@ -72,6 +72,12 @@ | |||
| 72 | (html2text html2text)) | 72 | (html2text html2text)) |
| 73 | "The attributes of washer types for text/html.") | 73 | "The attributes of washer types for text/html.") |
| 74 | 74 | ||
| 75 | (defcustom mm-fill-flowed t | ||
| 76 | "If non-nil an format=flowed article will be displayed flowed." | ||
| 77 | :type 'boolean | ||
| 78 | :version "22.1" | ||
| 79 | :group 'mime-display) | ||
| 80 | |||
| 75 | ;;; Internal variables. | 81 | ;;; Internal variables. |
| 76 | 82 | ||
| 77 | ;;; | 83 | ;;; |
| @@ -407,7 +413,8 @@ | |||
| 407 | (mm-insert-part handle) | 413 | (mm-insert-part handle) |
| 408 | (goto-char (point-max))) | 414 | (goto-char (point-max))) |
| 409 | (insert (mm-decode-string (mm-get-part handle) charset))) | 415 | (insert (mm-decode-string (mm-get-part handle) charset))) |
| 410 | (when (and (equal type "plain") | 416 | (when (and mm-fill-flowed |
| 417 | (equal type "plain") | ||
| 411 | (equal (cdr (assoc 'format (mm-handle-type handle))) | 418 | (equal (cdr (assoc 'format (mm-handle-type handle))) |
| 412 | "flowed")) | 419 | "flowed")) |
| 413 | (save-restriction | 420 | (save-restriction |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 26c0f8901ee..3c05b3713ea 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -1492,6 +1492,7 @@ function is generally only called when Gnus is shutting down." | |||
| 1492 | (setq result (eval accept-form)) | 1492 | (setq result (eval accept-form)) |
| 1493 | (kill-buffer buf) | 1493 | (kill-buffer buf) |
| 1494 | result) | 1494 | result) |
| 1495 | (nnimap-possibly-change-group group server) | ||
| 1495 | (imap-message-flags-add | 1496 | (imap-message-flags-add |
| 1496 | (imap-range-to-message-set (list article)) | 1497 | (imap-range-to-message-set (list article)) |
| 1497 | "\\Deleted" 'silent nnimap-server-buffer)) | 1498 | "\\Deleted" 'silent nnimap-server-buffer)) |
diff --git a/lisp/gnus/qp.el b/lisp/gnus/qp.el index cb89a3550ba..15914922d1c 100644 --- a/lisp/gnus/qp.el +++ b/lisp/gnus/qp.el | |||
| @@ -118,7 +118,7 @@ encode lines starting with \"From\"." | |||
| 118 | (not (eobp))) | 118 | (not (eobp))) |
| 119 | (insert | 119 | (insert |
| 120 | (prog1 | 120 | (prog1 |
| 121 | ;; To unibyte in case of Emacs 22 eight-bit. | 121 | ;; To unibyte in case of Emacs 23 (unicode) eight-bit. |
| 122 | (format "=%02X" (mm-multibyte-char-to-unibyte (char-after))) | 122 | (format "=%02X" (mm-multibyte-char-to-unibyte (char-after))) |
| 123 | (delete-char 1)))) | 123 | (delete-char 1)))) |
| 124 | ;; Encode white space at the end of lines. | 124 | ;; Encode white space at the end of lines. |
diff --git a/lisp/gnus/utf7.el b/lisp/gnus/utf7.el index bb47077612e..a1b7fdc6702 100644 --- a/lisp/gnus/utf7.el +++ b/lisp/gnus/utf7.el | |||
| @@ -80,7 +80,7 @@ | |||
| 80 | (defconst utf7-utf-16-coding-system | 80 | (defconst utf7-utf-16-coding-system |
| 81 | (cond ((mm-coding-system-p 'utf-16-be-no-signature) ; Mule-UCS | 81 | (cond ((mm-coding-system-p 'utf-16-be-no-signature) ; Mule-UCS |
| 82 | 'utf-16-be-no-signature) | 82 | 'utf-16-be-no-signature) |
| 83 | ((and (mm-coding-system-p 'utf-16-be) ; Emacs 22.1 | 83 | ((and (mm-coding-system-p 'utf-16-be) ; Emacs 21.3, Emacs 22 |
| 84 | ;; Avoid versions with BOM. | 84 | ;; Avoid versions with BOM. |
| 85 | (= 2 (length (encode-coding-string "a" 'utf-16-be)))) | 85 | (= 2 (length (encode-coding-string "a" 'utf-16-be)))) |
| 86 | 'utf-16-be) | 86 | 'utf-16-be) |