[BACK]Return to patch-mew-imap.el CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / mew / patches

File: [cvs.NetBSD.org] / pkgsrc / mail / mew / patches / patch-mew-imap.el (download)

Revision 1.1, Sun Mar 21 13:48:09 2021 UTC (18 months, 2 weeks ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, HEAD

mail/mew: Prevent inserting an extra line in header

Prevent inserting an extra line in header.  From discussion in mew-ja
mailing list and patch was provided from Tatsuya Kinoshita.

$NetBSD: patch-mew-imap.el,v 1.1 2021/03/21 13:48:09 taca Exp $

* Prevent inserting an extra line in header.

--- mew-imap.el.orig	2018-06-07 05:48:29.000000000 +0000
+++ mew-imap.el
@@ -1449,7 +1449,7 @@
 			(mew-imap-secure-p pnm))
        (goto-char (point-min))
        (when (and (null bytes)
-		  (looking-at "^\\*[^{]*{\\([0-9]+\\)}"))
+		  (looking-at "^\\*[^{]*{\\([0-9]+\\)}.*\n"))
 	 (setq bytes (string-to-number (mew-match-string 1)))
 	 (mew-imap-set-bytes pnm bytes))
        (when (looking-at "^\\* .*X-GM-THRID +\\([0-9]+\\)")