From 45e2ca143dd3b4fcd418f6e055996c027f9e47d4 Mon Sep 17 00:00:00 2001 From: George McNinch Date: Fri, 7 Mar 2014 17:58:25 +0100 Subject: [PATCH] * nnir.el (nnir-run-namazu): Parse namazu results that are larger than 999 (i.e. "1,342"). --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/nnir.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index dd66afc34c4..6052ca34d78 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2014-03-07 George McNinch (tiny change) + + * nnir.el (nnir-run-namazu): Parse namazu results that are larger than + 999 correctly (i.e. "1,342"). + 2014-03-07 Lars Ingebrigtsen * gnus-agent.el (gnus-agent-update-files-total-fetched-for): Don't bug diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 404cab114da..5910cde1c3d 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el @@ -1487,7 +1487,7 @@ Tested with Namazu 2.0.6 on a GNU/Linux system." (goto-char (point-min)) (while (re-search-forward - "^\\([0-9]+\\.\\).*\\((score: \\([0-9]+\\)\\))\n\\([^ ]+\\)" + "^\\([0-9,]+\\.\\).*\\((score: \\([0-9]+\\)\\))\n\\([^ ]+\\)" nil t) (setq score (match-string 3) group (file-name-directory (match-string 4)) -- 2.39.5