How can I pass the output of globalff to emacs-dired. Essentially I am looking for开发者_如何学编程 something corresponding to find-name-dired that works with output of globalff.
I just tried it. I have a directory named WebServiceHost, and I typed
M-x globalff RET webservicehost RET
and it displayed that directory's name -- along with all the files inside it -- in the *globalff*
buffer. Happily, the directory was the selected item, so I just hit RET, and Emacs then showed me the dired buffer for that directory.
I don't have a globalff answer for you. But you can do the same thing that globalff does, using Icicles instead. And you can open Dired on a set of files from Icicles.
See http://www.emacswiki.org/emacs/Icicles_-_File-Name_Input for using Icicles instead of globalff. (And see http://www.emacswiki.org/emacs/LocateFilesAnywhere for a comparison).
See http://www.emacswiki.org/emacs/Icicles_-_Dired_Enhancements#OpenDiredOnSavedFiles for opening Dired on a set of files that match your minibuffer input in Icicles.
精彩评论