summaryrefslogtreecommitdiff
path: root/lisp/gnus/nnimap.el
diff options
context:
space:
mode:
authorGnus developers <ding@gnus.org>2010-12-17 22:45:16 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2010-12-17 22:45:16 +0000
commit70041e9ae7072eac5eeff2b5e1a50d9eab6b39f7 (patch)
tree44e4cfef0c6fd744f917684171cf57574690d37f /lisp/gnus/nnimap.el
parent2e306b392b3d517bcbee818e2be1335fce012d48 (diff)
downloademacs-70041e9ae7072eac5eeff2b5e1a50d9eab6b39f7.tar.gz
Merge changes made in Gnus trunk.
nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null. gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore gnus-use-agent. (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol. gravatar.el (gravatar-retrieve-synchronously): New function. (gravatar-get-data): Make more robust. gnus-util.el (gnus-rescale-image): Allow to resize images even if they are from file. Can also scale up. nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers. nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound. gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change here, since it's up to the backends to do CRLF removal if their protocol has it. gnus-group.el (gnus-group-delete-articles): New command.
Diffstat (limited to 'lisp/gnus/nnimap.el')
-rw-r--r--lisp/gnus/nnimap.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 34e57b6dc19..acbb091b356 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -167,7 +167,8 @@ textual parts.")
(nnimap-article-ranges (gnus-compress-sequence articles))
(nnimap-header-parameters))
t)
- (nnimap-transform-headers))
+ (nnimap-transform-headers)
+ (nnheader-remove-cr-followed-by-lf))
(insert-buffer-substring
(nnimap-find-process-buffer (current-buffer))))
'headers))
@@ -1568,7 +1569,7 @@ textual parts.")
(min
(- (point) 500)
(save-excursion
- (forward-line -1)
+ (forward-line -3)
(point))))
(point-min))
t)))