[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] We can't have UIDNEXT be too large.



1998-08-12  Jim Radford  <radford@robby.caltech.edu>

	* nnimap.el: I shouldn't have allowed for large UIDNEXTs.  We
 	can't deal with large numbers (UIDS) and until we can do it, it is
 	pointless to quote them.

--- imap4rev1.el~	Wed Aug 12 16:59:20 1998
+++ imap4rev1.el	Wed Aug 12 16:53:18 1998
@@ -644,7 +644,7 @@
                    (mapconcat 'identity
                               '("\"[^\"]*\"" ; quoted strings
                                 "\\[\\|\\]" ; [] characters
-                                "\\(UIDNEXT\\|UIDVALIDITY\\|APPENDUID\\) \\([0123456789]+\\)"
+                                "\\(UIDVALIDITY\\|APPENDUID\\) \\([0123456789]+\\)"
                                 "\\."   ; . characters
                                 "\\#"   ; # characters
                                 "\\\\"  ; \ characters
--- nnimap.el~	Wed Aug 12 16:59:08 1998
+++ nnimap.el	Wed Aug 12 16:53:32 1998
@@ -912,8 +916,7 @@
 		    ;; Optional flags,date???
 		    (list (format "APPEND %s " group) (current-buffer))
 		    nnimap-server-buffer))
-      (let ((high (string-to-number 
-		   (imap-folder-get 'UIDNEXT group nnimap-server-buffer))))
+      (let ((high (imap-folder-get 'UIDNEXT group nnimap-server-buffer)))
 	(when high
 	  (cons group high))))))