Synch to No Gnus 200406101736.
authoryamaoka <yamaoka>
Thu, 10 Jun 2004 22:00:57 +0000 (22:00 +0000)
committeryamaoka <yamaoka>
Thu, 10 Jun 2004 22:00:57 +0000 (22:00 +0000)
lisp/ChangeLog
lisp/rfc2047.el

index 4a0a777..32213b1 100644 (file)
@@ -1,3 +1,9 @@
+2004-06-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * rfc2047.el (rfc2047-encode-message-header): Disabled header
+       folding -- not all headers can be folded, and this should be done
+       by the message composition mode.  Probably.  I think. 
+
 2004-06-10  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-util.el (gnus-remove-text-with-property): Make it slightly
index 43c57fb..f8295ac 100644 (file)
@@ -169,14 +169,15 @@ Should be called narrowed to the head of the message."
                       (mm-charset-to-coding-system
                        (car message-posting-charset))))
                ;; No encoding necessary, but folding is nice
-               (rfc2047-fold-region
-                (save-excursion
-                  (goto-char (point-min))
-                  (skip-chars-forward "^:")
-                  (when (looking-at ": ")
-                    (forward-char 2))
-                  (point))
-                (point-max)))
+               (when nil
+                 (rfc2047-fold-region
+                  (save-excursion
+                    (goto-char (point-min))
+                    (skip-chars-forward "^:")
+                    (when (looking-at ": ")
+                      (forward-char 2))
+                    (point))
+                  (point-max))))
            ;; We found something that may perhaps be encoded.
            (setq method nil
                  alist rfc2047-header-encoding-alist)
@@ -611,9 +612,9 @@ By default, the region is treated as containing addresses (see
        (goto-char (or break qword-break))
        (setq break nil
              qword-break nil)
-       (if (looking-at "[ \t]")
-           (insert ?\n)
-         (insert "\n "))
+         (if (looking-at "[ \t]")
+             (insert ?\n)
+           (insert "\n "))
        (setq bol (1- (point)))
        ;; Don't break before the first non-LWSP characters.
        (skip-chars-forward " \t")