]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix namazu search result parsing in gnus-search
authorEric Abrahamsen <eric@ericabrahamsen.net>
Sun, 7 Feb 2021 21:46:50 +0000 (13:46 -0800)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Sun, 7 Feb 2021 21:46:50 +0000 (13:46 -0800)
* lisp/gnus/gnus-search.el (gnus-search-indexed-extract): This method
is documented to leave point at the end of the extracted search
result. The namazu implementation wasn't doing that.

lisp/gnus/gnus-search.el

index 0783d34733a01e717d1bb598008da16e5ba398c1..21602f825c13b8b3d7811e181fb87f203e2b76ab 100644 (file)
@@ -1514,6 +1514,7 @@ Namazu provides a little more information, for instance a score."
   (when (re-search-forward
         "^\\([0-9,]+\\.\\).*\\((score: \\([0-9]+\\)\\))\n\\([^ ]+\\)"
         nil t)
+    (forward-line 1)
     (list (match-string 4)
          (match-string 3))))