Oort Gnus v0.03.
* lisp/gnus.el (top): Add autoload of `gnus-namazu-search'.
* lisp/gnus-sum.el (gnus-summary-mode-map): Define "\C-c\C-n" as
`gnus-namazu-search'.
* lisp/gnus-group.el (gnus-group-mode-map): Define "\C-c\C-n" as
`gnus-namazu-search'.
* lisp/gnus-namazu.el: New file.
2001-12-09 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
+ * lisp/gnus-namazu.el (gnus-namazu-search): Slightly modified for
+ Oort Gnus v0.03.
+
+ * lisp/gnus.el (top): Add autoload of `gnus-namazu-search'.
+
+ * lisp/gnus-sum.el (gnus-summary-mode-map): Define "\C-c\C-n" as
+ `gnus-namazu-search'.
+
+ * lisp/gnus-group.el (gnus-group-mode-map): Define "\C-c\C-n" as
+ `gnus-namazu-search'.
+
* lisp/gnus-namazu.el: New file.
2001-09-27 Katsumi Yamaoka <yamaoka@jpl.org>
"<" beginning-of-buffer
">" end-of-buffer
"\C-c\C-b" gnus-bug
+ "\C-c\C-n" gnus-namazu-search
"\C-c\C-s" gnus-group-sort-groups
"t" gnus-topic-mode
"\C-c\M-g" gnus-activate-all-groups
nil))))
articles))
+;;;###autoload
(defun gnus-namazu-search (groups query)
"Search QUERY through GROUPS with Namazu,
and make a virtual group contains its results."
"nnvirtual:namazu-search?query=%s&groups=%s&id=%d%d%d"
query
(if groups (mapconcat 'identity groups ",") "ALL")
- (current-time))
- gnus-namazu-coding-system))
+ (current-time))))
(gnus-namazu/truncate-article-list articles)
(unless real-groups
(dolist (a articles)
(add-to-list 'real-groups (gnus-namazu/article-group a))))
;; Generate virtual group which includes all results.
- (when (fboundp 'gnus-group-decoded-name)
- (setq vgroup
- (encode-coding-string vgroup gnus-namazu-coding-system)))
(setq vgroup
(gnus-group-read-ephemeral-group
vgroup
"\M-\C-e" gnus-summary-edit-parameters
"\M-\C-a" gnus-summary-customize-parameters
"\C-c\C-b" gnus-bug
+ "\C-c\C-n" gnus-namazu-search
"*" gnus-cache-enter-article
"\M-*" gnus-cache-remove-article
"\M-&" gnus-summary-universal-argument
(subrp (symbol-function 'base64-encode-string)))
(require 'base64))
+;; To search articles with Namazu.
+(autoload 'gnus-namazu-search "gnus-namazu" nil t)
+
;; To make shimbun groups.
(autoload 'gnus-group-make-shimbun-group "nnshimbun" nil t)