diff options
| author | Andrew Cohen | 2010-12-08 13:49:49 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-12-08 13:49:49 +0000 |
| commit | 47ac61706b71dcb0903e366a927c7d707d3f5eab (patch) | |
| tree | 3283af8d1078e139c0bcbe40381ad8d0032b334b | |
| parent | eff37c5e4460e708dfa172d9d9c5b068a62407db (diff) | |
| download | emacs-47ac61706b71dcb0903e366a927c7d707d3f5eab.tar.gz emacs-47ac61706b71dcb0903e366a927c7d707d3f5eab.zip | |
nnir.el (nnir-retrieve-headers): Use rassq when comparing article ids.
(nnir-run-gmane): Simplify groupspec formatting.
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/nnir.el | 11 |
2 files changed, 11 insertions, 6 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 2a1bdad398b..25dd77cdf77 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-12-08 Andrew Cohen <cohen@andy.bu.edu> | ||
| 2 | |||
| 3 | * nnir.el (nnir-retrieve-headers): Use rassq when comparing article | ||
| 4 | ids. | ||
| 5 | (nnir-run-gmane): Simplify groupspec formatting. | ||
| 6 | |||
| 1 | 2010-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org> | 7 | 2010-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 8 | ||
| 3 | * nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp | 9 | * nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp |
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 66222fe7937..0a67f88f238 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el | |||
| @@ -635,7 +635,7 @@ Add an entry here when adding a new search engine.") | |||
| 635 | (while (not (eobp)) | 635 | (while (not (eobp)) |
| 636 | (let* ((novitem (funcall parsefunc)) | 636 | (let* ((novitem (funcall parsefunc)) |
| 637 | (artno (mail-header-number novitem)) | 637 | (artno (mail-header-number novitem)) |
| 638 | (art (car (rassoc artno articleids)))) | 638 | (art (car (rassq artno articleids)))) |
| 639 | (when art | 639 | (when art |
| 640 | (mail-header-set-number novitem art) | 640 | (mail-header-set-number novitem art) |
| 641 | (push novitem headers)) | 641 | (push novitem headers)) |
| @@ -1379,11 +1379,10 @@ Tested with Namazu 2.0.6 on a GNU/Linux system." | |||
| 1379 | (let* ((case-fold-search t) | 1379 | (let* ((case-fold-search t) |
| 1380 | (qstring (cdr (assq 'query query))) | 1380 | (qstring (cdr (assq 'query query))) |
| 1381 | (server (cadr (gnus-server-to-method srv))) | 1381 | (server (cadr (gnus-server-to-method srv))) |
| 1382 | (groupspec (if groups | 1382 | (groupspec (mapconcat |
| 1383 | (mapconcat | 1383 | (lambda (x) |
| 1384 | (lambda (x) | 1384 | (format "group:%s" (gnus-group-short-name x))) |
| 1385 | (format "group:%s" (gnus-group-short-name x))) | 1385 | groups " ")) |
| 1386 | groups " ") "")) | ||
| 1387 | (authorspec | 1386 | (authorspec |
| 1388 | (if (assq 'author query) | 1387 | (if (assq 'author query) |
| 1389 | (format "author:%s" (cdr (assq 'author query))) "")) | 1388 | (format "author:%s" (cdr (assq 'author query))) "")) |