mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
nnimap.el (nnimap-transform-headers): Don't bug out on header lines containing stuff that look like IMAP length encodings.
This commit is contained in:
parent
7ee99f32e1
commit
20d6487ebb
2 changed files with 7 additions and 2 deletions
|
|
@ -201,7 +201,10 @@ textual parts.")
|
|||
(while (re-search-forward
|
||||
"[^]][ (]{\\([0-9]+\\)}\r?\n"
|
||||
(save-excursion
|
||||
(or (re-search-forward "\\* [0-9]+ FETCH" nil t)
|
||||
;; Start of the header section.
|
||||
(or (re-search-forward "] {[0-9]+}\r?\n" nil t)
|
||||
;; Start of the next FETCH.
|
||||
(re-search-forward "\\* [0-9]+ FETCH" nil t)
|
||||
(point-max)))
|
||||
t)
|
||||
(setq size (string-to-number (match-string 1)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue