(nnimap-request-accept-article): Remove \n's from
authorSimon Josefsson <jas@extundo.com>
Sat, 30 Sep 2000 20:36:12 +0000 (20:36 +0000)
committerSimon Josefsson <jas@extundo.com>
Sat, 30 Sep 2000 20:36:12 +0000 (20:36 +0000)
From_ lines.

lisp/ChangeLog
lisp/nnimap.el

index affd928..3cab45d 100644 (file)
@@ -1,3 +1,8 @@
+2000-09-30  Simon Josefsson  <simon@josefsson.org>
+
+       * nnimap.el (nnimap-request-accept-article): Remove \n's from
+       From_ lines.
+
 2000-08-05  Simon Josefsson <simon@josefsson.org>
 
        Make GCC to remote groups work when unplugged
index 41efdc4..c9747a6 100644 (file)
@@ -1123,7 +1123,7 @@ function is generally only called when Gnus is shutting down."
                    ;; remove any 'From blabla' lines, some IMAP servers
                    ;; reject the entire message otherwise.
                    (when (looking-at "^From[^:]")
-                     (kill-region (gnus-point-at-bol) (gnus-point-at-eol)))
+                     (kill-region (point) (progn (forward-line) (point))))
                    ;; turn into rfc822 format (\r\n eol's)
                    (while (search-forward "\n" nil t)
                      (replace-match "\r\n")))