Vagn Johansen <[EMAIL PROTECTED]> writes:
Hi Vagn,
> Just use the locate-like program mdfind.
>
> (defvar anything-source-mdfind
> '((name . "mdfind")
> (candidates . (lambda ()
> (start-process "mdfind-process" nil
> "mdfind" anything-pattern)))
> (action . (("Find file" . find-file)
> ("Open" .
> (lambda (file-name)
> (shell-command
> (concat "open " (shell-quote-argument file-name))
> nil)))))
> (type . file)
> (requires-pattern . 3))
> "Source for retrieving files via mdfind.")
>
> (add-to-list 'anything-sources anything-source-mdfind)
Should I add this source to anything-config.el?
Bye,
Tassilo
--
The desire to be rewarded for one's creativity does not justify
depriving the world in general of all or part of that creativity.
(Richard M. Stallman)
_______________________________________________
gnu-emacs-sources mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources