+2002-09-04 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
+
+ * lisp/gnus-namazu.el (gnus-namazu/highlight-words): Stricten
+ regular expression to highlight keywords.
+
2002-08-28 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/lpath.el: Fbind `smtpmail-send-it' for Mule 2.
(while (re-search-forward "[^\e$B!!\e(B \t\r\f\n]+" nil t)
(push (match-string 0) query))
(when query
- (list (list (regexp-opt query)
- 0 0 'gnus-namazu-query-highlight-face)))))
+ (let (en ja)
+ (dolist (q query)
+ (if (string-match "\\cj" q)
+ (push q ja)
+ (push q en)))
+ (append
+ (when en
+ (list (list (concat "\\b\\(" (regexp-opt en) "\\)\\b")
+ 0 0 'gnus-namazu-query-highlight-face)))
+ (when ja
+ (list (list (regexp-opt ja)
+ 0 0 'gnus-namazu-query-highlight-face))))))))
(defun gnus-namazu/truncate-article-list (articles)
(let ((hit (length articles)))