Emacs comes with a ‘locate’ command that uses the locate system command to find files within your system.
On OS X, it is easier to use Spotlight, which is trivial to enable in Emacs.
In your .emacs file, add the following code:
(setq locate-command "mdfind")
Now try: M-x locate <enter your search here>
Your search results will be displayed in a new Window.
[...] This post was mentioned on Twitter by KANEUCHI Tetsuya, takashi yamamiya. takashi yamamiya said: これは便利。RT @kaniza: Mac の Emacs では、locate-command を mdfind に指定することで簡単に Spotlight が使える。 http://bit.ly/4D3xCw [...]