+2005-12-22 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
+
+ * lisp/gnus-namazu.el (gnus-namazu-remote-groups): Accept `t' as an
+ symbol that matches the method specified by `gnus-select-method'.
+ (gnus-namazu/make-directory-table): Follow the above change.
+ (gnus-namazu/call-namazu): Wrap a query string with quotes.
+
2005-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
* GNUS-NEWS: Generated.
+2005-12-22 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
+
+ * gnus-namazu.el (gnus-namazu-remote-groups): Accept `t' as an
+ symbol that matches the method specified by `gnus-select-method'.
+ (gnus-namazu/make-directory-table): Follow the above change.
+ (gnus-namazu/call-namazu): Wrap a query string with quotes.
+
2005-12-05 Adrian Aichner <adrian@xemacs.org>
* nnir.el: New variable nnir-swish-e-index-files to support
\"~/Maildir/.group\"."
:group 'gnus-namazu
:type '(repeat
- (cons (regexp :tag "Regexp of group name")
+ (cons (choice (regexp :tag "Regexp of group name")
+ (const :tag "Groups served by `gnus-select-method'" t))
(string :tag "Base path of groups")))
:set (lambda (symbol value)
(prog1 (set-default symbol value)
"-a" ; show all matches
"-l") ; use list format
gnus-namazu-additional-arguments
- (list query)
+ (list (if gnus-namazu-command-prefix
+ (concat "'" query "'")
+ query))
gnus-namazu-index-directories)))
(apply 'call-process (car commands) nil t nil (cdr commands))))
(gnus-namazu/server-directory method))))
(push (cons dir group) alist)))
(dolist (pair gnus-namazu-remote-groups)
- (when (string-match (car pair) group)
- (setq dir (nnmail-group-pathname
- (substring group (match-end 0))
- "/"))
+ (when (setq dir
+ (or (and (eq t (car pair))
+ (gnus-method-equal method gnus-select-method)
+ group)
+ (and (stringp (car pair))
+ (string-match (car pair) group)
+ (substring group (match-end 0)))))
+ (setq dir (nnmail-group-pathname dir "/"))
(push (cons (concat (cdr pair)
;; nnmail-group-pathname() on some
;; systems returns pathnames which