diff options
| author | Lars Ingebrigtsen | 2012-02-13 22:18:33 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2012-02-13 22:18:33 +0000 |
| commit | 20d6487ebbe0f04072c741e29f06d0132e282ff9 (patch) | |
| tree | 910f84e49741faacb301f2b1e0599201e4125550 | |
| parent | 7ee99f32e16e182f94aacd01f5bfee61f672c908 (diff) | |
| download | emacs-20d6487ebbe0f04072c741e29f06d0132e282ff9.tar.gz emacs-20d6487ebbe0f04072c741e29f06d0132e282ff9.zip | |
nnimap.el (nnimap-transform-headers): Don't bug out on header lines containing stuff that look like IMAP length encodings.
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 69598ad9f45..99554cd9ffe 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -3,6 +3,8 @@ | |||
| 3 | * nnimap.el (nnimap-record-commands): New variable. | 3 | * nnimap.el (nnimap-record-commands): New variable. |
| 4 | (nnimap-log-command): Use it. | 4 | (nnimap-log-command): Use it. |
| 5 | (nnimap-make-process-buffer): Add a space to the process buffer. | 5 | (nnimap-make-process-buffer): Add a space to the process buffer. |
| 6 | (nnimap-transform-headers): Don't bug out on header lines containing | ||
| 7 | stuff that look like IMAP length encodings. | ||
| 6 | 8 | ||
| 7 | * shr.el (shr-rescale-image): Allow viewing large images. | 9 | * shr.el (shr-rescale-image): Allow viewing large images. |
| 8 | 10 | ||
| @@ -85,7 +87,7 @@ | |||
| 85 | have newlines within the strings, and where the UID comes after the | 87 | have newlines within the strings, and where the UID comes after the |
| 86 | BODYSTRUCTURE element (bug#10537). | 88 | BODYSTRUCTURE element (bug#10537). |
| 87 | 89 | ||
| 88 | * shr-color.el (shr-color-set-minimum-interval): Renamed to add prefix | 90 | * shr-color.el (shr-color-set-minimum-interval): Rename to add prefix |
| 89 | (bug#10732). | 91 | (bug#10732). |
| 90 | 92 | ||
| 91 | * shr.el (shr-insert-document): Add doc string. | 93 | * shr.el (shr-insert-document): Add doc string. |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 2cdb170315f..c6f0f7a97e8 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -201,7 +201,10 @@ textual parts.") | |||
| 201 | (while (re-search-forward | 201 | (while (re-search-forward |
| 202 | "[^]][ (]{\\([0-9]+\\)}\r?\n" | 202 | "[^]][ (]{\\([0-9]+\\)}\r?\n" |
| 203 | (save-excursion | 203 | (save-excursion |
| 204 | (or (re-search-forward "\\* [0-9]+ FETCH" nil t) | 204 | ;; Start of the header section. |
| 205 | (or (re-search-forward "] {[0-9]+}\r?\n" nil t) | ||
| 206 | ;; Start of the next FETCH. | ||
| 207 | (re-search-forward "\\* [0-9]+ FETCH" nil t) | ||
| 205 | (point-max))) | 208 | (point-max))) |
| 206 | t) | 209 | t) |
| 207 | (setq size (string-to-number (match-string 1))) | 210 | (setq size (string-to-number (match-string 1))) |