Commit a19a8f1b authored by Miles Bader's avatar Miles Bader
Browse files

Merge from gnus--devo--0

parent f42adef6
2008-06-11 Katsumi Yamaoka <>
* nnir.el: Require edmacro when compiling with XEmacs.
(nnir-run-find-grep): Don't use 3rd arg of `split-string' which is not
available in Emacs 21.
2008-06-11 Glenn Morris <>
* gnus-util.el (x-focus-frame):
......@@ -658,6 +658,11 @@ that it is for Namazu, not Wais."
(when (featurep 'xemacs)
;; The `kbd' macro requires that the `read-kbd-macro' macro is available.
(require 'edmacro)))
(defun nnir-group-mode-hook ()
(define-key gnus-group-mode-map (kbd "G G")
......@@ -1512,13 +1517,18 @@ Tested with Namazu 2.0.6 on a GNU/Linux system."
'call-process "find" nil t
"find" group "-type" "f" "-name" "[0-9]*" "-exec"
`("-l" ,@(and grep-options (split-string grep-options "\\s-" t))
`("-l" ,@(and grep-options
;; Note: the 3rd arg of `split-string' is not
;; available in Emacs 21.
(delete "" (split-string grep-options "\\s-")))
"-e" ,regexp "{}" "+"))))
;; Translate relative paths to group names.
(while (not (eobp))
(let* ((path (split-string
(buffer-substring (point) (line-end-position)) "/" t))
(let* ((path (delete
(buffer-substring (point) (line-end-position)) "/")))
(art (string-to-number (car (last path)))))
(while (string= "." (car path))
(setq path (cdr path)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment