diff options
| author | Lars Magne Ingebrigtsen | 2010-12-16 23:18:57 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-12-16 23:18:57 +0000 |
| commit | 59a7e27dd4cd063cc3e227ad044acfa4b231f9fa (patch) | |
| tree | 618105ace05098e334e42e9befdfe9a591b4f8bc | |
| parent | da420726395ea72464a331df07ad91ffea03f217 (diff) | |
| download | emacs-59a7e27dd4cd063cc3e227ad044acfa4b231f9fa.tar.gz emacs-59a7e27dd4cd063cc3e227ad044acfa4b231f9fa.zip | |
nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really consider the last line.
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 26538731932..b725a688fe6 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * nnimap.el (nnimap-wait-for-response): Fix the end-point calculation | ||
| 4 | to really consider the last line. | ||
| 5 | |||
| 1 | 2010-12-16 Daiki Ueno <ueno@unixuser.org> | 6 | 2010-12-16 Daiki Ueno <ueno@unixuser.org> |
| 2 | 7 | ||
| 3 | * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the | 8 | * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index d1d6d058421..34e57b6dc19 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -1565,10 +1565,11 @@ textual parts.") | |||
| 1565 | (format "^%d .*\n" sequence) | 1565 | (format "^%d .*\n" sequence) |
| 1566 | (if nnimap-streaming | 1566 | (if nnimap-streaming |
| 1567 | (max (point-min) | 1567 | (max (point-min) |
| 1568 | (- (point) 500) | 1568 | (min |
| 1569 | (save-excursion | 1569 | (- (point) 500) |
| 1570 | (forward-line -1) | 1570 | (save-excursion |
| 1571 | (point))) | 1571 | (forward-line -1) |
| 1572 | (point)))) | ||
| 1572 | (point-min)) | 1573 | (point-min)) |
| 1573 | t))) | 1574 | t))) |
| 1574 | (when messagep | 1575 | (when messagep |