emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102679: nnimap.el (nnimap-wait-for-r


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102679: nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really consider the last line.
Date: Thu, 16 Dec 2010 23:18:57 +0000
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102679
author: Lars Magne Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Thu 2010-12-16 23:18:57 +0000
message:
  nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really 
consider the last line.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/nnimap.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2010-12-16 22:22:28 +0000
+++ b/lisp/gnus/ChangeLog       2010-12-16 23:18:57 +0000
@@ -1,3 +1,8 @@
+2010-12-16  Lars Magne Ingebrigtsen  <address@hidden>
+
+       * nnimap.el (nnimap-wait-for-response): Fix the end-point calculation
+       to really consider the last line.
+
 2010-12-16  Daiki Ueno  <address@hidden>
 
        * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the

=== modified file 'lisp/gnus/nnimap.el'
--- a/lisp/gnus/nnimap.el       2010-12-16 22:22:28 +0000
+++ b/lisp/gnus/nnimap.el       2010-12-16 23:18:57 +0000
@@ -1565,10 +1565,11 @@
                            (format "^%d .*\n" sequence)
                            (if nnimap-streaming
                                (max (point-min)
-                                    (- (point) 500)
-                                    (save-excursion
-                                      (forward-line -1)
-                                      (point)))
+                                    (min
+                                     (- (point) 500)
+                                     (save-excursion
+                                       (forward-line -1)
+                                       (point))))
                              (point-min))
                            t)))
            (when messagep


reply via email to

[Prev in Thread] Current Thread [Next in Thread]