nnimap MODSEQ cleanup
* lisp/gnus/nnimap.el (nnimap-parse-flags): Remove old hack that deletes MODSEQ entries in the buffer, as Emacs now has bignums and so won't misparse MODSEQs (Bug#38938).
This commit is contained in:
parent
60d6e3fead
commit
b058caca72
1 changed files with 3 additions and 7 deletions
|
@ -1772,11 +1772,6 @@ If LIMIT, first try to limit the search to the N last articles."
|
|||
;; read it.
|
||||
(subst-char-in-region (point-min) (point-max)
|
||||
?\\ ?% t)
|
||||
;; Remove any MODSEQ entries in the buffer, because they may contain
|
||||
;; numbers that are too large for 32-bit Emacsen.
|
||||
(while (re-search-forward " MODSEQ ([0-9]+)" nil t)
|
||||
(replace-match "" t t))
|
||||
(goto-char (point-min))
|
||||
(let (start end articles groups uidnext elems permanent-flags
|
||||
uidvalidity vanished highestmodseq)
|
||||
(dolist (elem sequences)
|
||||
|
@ -1803,8 +1798,9 @@ If LIMIT, first try to limit the search to the N last articles."
|
|||
(setq uidvalidity
|
||||
(and (re-search-forward "UIDVALIDITY \\([0-9]+\\)"
|
||||
end t)
|
||||
;; Store UIDVALIDITY as a string, as it's
|
||||
;; too big for 32-bit Emacsen, usually.
|
||||
;; Store UIDVALIDITY as a string; before bignums,
|
||||
;; it was usually too big for 32-bit Emacsen,
|
||||
;; and we don't want to change the format now.
|
||||
(match-string 1)))
|
||||
(goto-char start)
|
||||
(setq vanished
|
||||
|
|
Loading…
Add table
Reference in a new issue