[gnus git] branch master updated: m0-13-29-g1f1d39c =1= nnimap.el: Fix IMAP message size parsing

Eric Abrahamsen <[email protected]> Sat, 11 Jul 2015 07:42:14 +0200
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  1f1d39c3bcaed9870ab7f13c3c0369f17a16cee2 (commit)
      from  5ed73c72ca790ad9a18d60a89f8139c8e7769726 (commit)


- Log -----------------------------------------------------------------
commit 1f1d39c3bcaed9870ab7f13c3c0369f17a16cee2
Author: Nikolaus Rath <[email protected]>
Date:   Sat Jul 11 11:26:40 2015 +0800

    nnimap.el: Fix IMAP message size parsing
    
    * lisp/nnimap.el: Don't assume UID comes before RFC822.SIZE.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7e76ffa..57e1a07 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
 2015-07-09  Nikolaus Rath  <[email protected]>
 
+	* nnimap.el (nnimap-transform-headers): Don't assume that UID comes
+	before RFC822.SIZE.
+
+2015-07-09  Nikolaus Rath  <[email protected]>
+
 	* nnimap.el (nnimap-open-connection-1): Always query capabilities,
 	so that a 'plain value for the `nnimap-stream' server variable is
 	handled correctly.
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 8eb6268..70480ad 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -235,6 +235,7 @@ textual parts.")
 				      t)
 		   (match-string 1)))
 	(setq lines nil)
+	(beginning-of-line)
 	(setq size
 	      (and (re-search-forward "RFC822.SIZE \\([0-9]+\\)"
 				      (line-end-position)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    5 +++++
 lisp/nnimap.el |    1 +
 2 files changed, 6 insertions(+)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project