* gnus-sum.el (gnus-summary-search-article):
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 1 Sep 2015 06:14:08 +0000 (06:14 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 1 Sep 2015 06:14:08 +0000 (06:14 +0000)
Ensure that the article where the search word is found is displayed
and pointed to in the summary buffer.

lisp/ChangeLog
lisp/gnus-sum.el

index 137dd34..dd819db 100644 (file)
@@ -1,3 +1,9 @@
+2015-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-sum.el (gnus-summary-search-article):
+       Ensure that the article where the search word is found is displayed
+       and pointed to in the summary buffer.
+
 2015-08-31  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * tls.el (tls-format-message):
index e4c144b..447bd5d 100644 (file)
@@ -9489,6 +9489,7 @@ Optional argument BACKWARD means do search for backward.
     ;; Return whether we found the regexp.
     (when (eq found 'found)
       (goto-char point)
+      (sit-for 0) ;; Ensure that the point is visible in the summary window.
       (gnus-summary-show-thread)
       (gnus-summary-goto-subject gnus-current-article)
       (gnus-summary-position-point)