]> git.eshelyaron.com Git - emacs.git/commitdiff
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-118
authorMiles Bader <miles@gnu.org>
Fri, 24 Feb 2006 05:02:12 +0000 (05:02 +0000)
committerMiles Bader <miles@gnu.org>
Fri, 24 Feb 2006 05:02:12 +0000 (05:02 +0000)
Merge from gnus--rel--5.10

Patches applied:

 * gnus--rel--5.10  (patch 38-39)

   - Update from CVS

lisp/gnus/ChangeLog
lisp/gnus/flow-fill.el
lisp/gnus/message.el
lisp/gnus/mm-util.el
lisp/gnus/mm-view.el
lisp/gnus/nnimap.el
lisp/gnus/qp.el
lisp/gnus/utf7.el

index c77c92d05c7cc088bbef2265de68eaa6abcc8da8..87327dde4823113d6203b8784645ea381514361d 100644 (file)
@@ -1,3 +1,38 @@
+2006-02-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * flow-fill.el (fill-flowed): Bind adaptive-fill-mode to nil.
+       Remove space stuffing, and only do quotes that actually start with
+       ">" at the beginning of the lines.
+       Merge of 2005-11-17 and 2004-07-25 from the trunk.
+
+2006-02-23  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * utf7.el (utf7-utf-16-coding-system): Fix comment.  utf-16-be is
+       also available in Emacs 21.3.
+
+       * message.el (message-fix-before-sending): Change "Emacs 22" to
+       "Emacs 23 (unicode)" in comment.
+
+       * qp.el (quoted-printable-encode-region): Change "Emacs 22" to
+       "Emacs 23 (unicode)" in comment.
+
+       * mm-util.el: Change "Emacs 22" to "Emacs 23 (unicode)" in
+       comment.
+       (mm-coding-system-p): Add comment about no-MULE XEmacs.
+
+       * mm-view.el (mm-fill-flowed): Add :version.
+
+2006-02-23  Ralf Angeli  <angeli@iwi.uni-sb.de>
+
+       * mm-view.el (mm-fill-flowed): New variable.
+       (mm-inline-text): Use it.
+
+2006-02-21  Wolfram Fenske  <wolfram.fenske@student.uni-magdeburg.de>
+       (tiny change)
+
+       * nnimap.el (nnimap-request-move-article): Change folder back to
+       source group before deleting.
+
 2006-02-20  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * rfc2047.el (rfc2047-charset-to-coding-system): Don't check the
 
        * gnus-topic.el (gnus-topic-mode): Ditto.
 
-2005-07-08  Ralf Angeli  <angeli@iwi.uni-sb.de>  (tiny change)
+2005-07-08  Ralf Angeli  <angeli@iwi.uni-sb.de>
 
        * gnus-art.el (gnus-article-next-page, gnus-article-next-page-1)
        (gnus-article-prev-page): Take scroll-margin into consideration.
index c3f7f7bb20ec06897d3000f567f078b08e44b1a6..480505549c9efd805109ffc372045cd7d874eaf0 100644 (file)
@@ -113,10 +113,15 @@ RFC 2646 suggests 66 characters for readability."
   (save-excursion
     (set-buffer (or (current-buffer) buffer))
     (goto-char (point-min))
+    ;; Remove space stuffing.
+    (while (re-search-forward "^ " nil t)
+      (delete-char -1)
+      (forward-line 1))
+    (goto-char (point-min))
     (while (re-search-forward " $" nil t)
       (when (save-excursion
              (beginning-of-line)
-             (looking-at "^\\(>*\\)\\( ?\\)"))
+             (looking-at "^\\(>+\\)\\( ?\\)"))
        (let ((quote (match-string 1))
              sig)
          (if (string= quote "")
@@ -146,7 +151,8 @@ RFC 2646 suggests 66 characters for readability."
            (condition-case nil
                (let ((fill-prefix (when quote (concat quote " ")))
                      (fill-column (eval fill-flowed-display-column))
-                     filladapt-mode)
+                     filladapt-mode
+                     adaptive-fill-mode)
                  (fill-region (fill-flowed-point-at-bol)
                               (min (1+ (fill-flowed-point-at-eol))
                                    (point-max))
index 28325b73e26926b006cf8d4b54a8b3c573393fb2..1bdc2f6a11fba50a3b63fb16beeaf4d1802a91da 100644 (file)
@@ -3615,8 +3615,8 @@ It should typically alter the sending method in some way or other."
          (when (let ((char (char-after)))
                  (or (< (mm-char-int char) 128)
                      (and (mm-multibyte-p)
-                          ;; Fixme: Wrong for Emacs 22 and for things
-                          ;; like undecable utf-8.  Should at least
+                          ;; FIXME: Wrong for Emacs 23 (unicode) and for
+                          ;; things like undecable utf-8.  Should at least
                           ;; use find-coding-systems-region.
                           (memq (char-charset char)
                                 '(eight-bit-control eight-bit-graphic
index 9bdbc3c72b19df9b1d7eba307094d313ee6eb080..a7f375aeba8ab14b26d37884af0655bfbb7de5b9 100644 (file)
@@ -174,7 +174,7 @@ system object in XEmacs."
     (if (fboundp 'coding-system-p)
        (when (coding-system-p cs)
          cs)
-      ;; Is this branch ever actually useful?
+      ;; no-MULE XEmacs:
       (car (memq cs (mm-get-coding-system-list))))))
 
 (defvar mm-charset-synonym-alist
@@ -331,7 +331,7 @@ with Mule charsets.  It is completely useless for Emacs."
          cs mime mule alist)
       (while css
        (setq cs (pop css)
-             mime (or (coding-system-get cs :mime-charset) ; Emacs 22
+             mime (or (coding-system-get cs :mime-charset) ; Emacs 23 (unicode)
                       (coding-system-get cs 'mime-charset)))
        (when (and mime
                   (not (eq t (setq mule
index 43d6bddf194bcaea6dc373670fbee5120b8c89b7..c2b4e19f806edd7239dfb28a340ece090175fc8d 100644 (file)
     (html2text  html2text))
   "The attributes of washer types for text/html.")
 
+(defcustom mm-fill-flowed t
+  "If non-nil an format=flowed article will be displayed flowed."
+  :type 'boolean
+  :version "22.1"
+  :group 'mime-display)
+
 ;;; Internal variables.
 
 ;;;
          (mm-insert-part handle)
          (goto-char (point-max)))
       (insert (mm-decode-string (mm-get-part handle) charset)))
-    (when (and (equal type "plain")
+    (when (and mm-fill-flowed
+              (equal type "plain")
               (equal (cdr (assoc 'format (mm-handle-type handle)))
                      "flowed"))
       (save-restriction
index 26c0f8901ee27f2ce560d0d901ccf204044d2614..3c05b3713ea57f16b763e119d4c19734f44dae6c 100644 (file)
@@ -1492,6 +1492,7 @@ function is generally only called when Gnus is shutting down."
               (setq result (eval accept-form))
               (kill-buffer buf)
               result)
+            (nnimap-possibly-change-group group server)
             (imap-message-flags-add
              (imap-range-to-message-set (list article))
              "\\Deleted" 'silent nnimap-server-buffer))
index cb89a3550bafea2b691e7350b36d405ccd2f453a..15914922d1c59c5c378768a654c2a3b91656c856 100644 (file)
@@ -118,7 +118,7 @@ encode lines starting with \"From\"."
                  (not (eobp)))
        (insert
         (prog1
-            ;; To unibyte in case of Emacs 22 eight-bit.
+            ;; To unibyte in case of Emacs 23 (unicode) eight-bit.
             (format "=%02X" (mm-multibyte-char-to-unibyte (char-after)))
           (delete-char 1))))
       ;; Encode white space at the end of lines.
index bb47077612ef94a3114310262f44d1f687ceec28..a1b7fdc6702d9a4eb39a269718a2171712615e18 100644 (file)
@@ -80,7 +80,7 @@
 (defconst utf7-utf-16-coding-system
   (cond ((mm-coding-system-p 'utf-16-be-no-signature) ; Mule-UCS
         'utf-16-be-no-signature)
-       ((and (mm-coding-system-p 'utf-16-be) ; Emacs 22.1
+       ((and (mm-coding-system-p 'utf-16-be) ; Emacs 21.3, Emacs 22
              ;; Avoid versions with BOM.
              (= 2 (length (encode-coding-string "a" 'utf-16-be))))
         'utf-16-be)