+2008-07-28 Juri Linkov <juri@jurta.org>
+
+ * dired-aux.el (dired-do-isearch, dired-do-isearch-regexp):
+ New functions.
+
+ * dired.el (dired-mode-map): Bind dired-do-isearch to `M-s a C-s'
+ and dired-do-isearch-regexp to `M-s a M-C-s'. Add menu items.
+
2008-07-28 Seiji Zenitani <zenitani <at> mac.com>
* help-fns.el (help-C-file-name): Add .m (Obj-C code) for Cocoa port.
;; hiding
(define-key map "$" 'dired-hide-subdir)
(define-key map "\M-$" 'dired-hide-all)
+ ;; isearch
+ (define-key map (kbd "M-s a C-s") 'dired-do-isearch)
+ (define-key map (kbd "M-s a M-C-s") 'dired-do-isearch-regexp)
;; misc
(define-key map "\C-x\C-q" 'dired-toggle-read-only)
(define-key map "?" 'dired-summary)
(define-key map [menu-bar operate search]
'(menu-item "Search Files..." dired-do-search
:help "Search marked files for regexp"))
+ (define-key map [menu-bar operate isearch-regexp]
+ '(menu-item "Isearch Regexp Files..." dired-do-isearch-regexp
+ :help "Incrementally search marked files for regexp"))
+ (define-key map [menu-bar operate isearch]
+ '(menu-item "Isearch Files..." dired-do-isearch
+ :help "Incrementally search marked files for string"))
(define-key map [menu-bar operate chown]
'(menu-item "Change Owner..." dired-do-chown
:visible (not (memq system-type '(ms-dos windows-nt)))