[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ;;; anything.el --- open anything
From: |
Tassilo Horn |
Subject: |
Re: ;;; anything.el --- open anything |
Date: |
Sun, 22 Jul 2007 19:08:24 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
Vagn Johansen <address@hidden> 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)
- Re: ;;; anything.el --- open anything, (continued)
- Re: ;;; anything.el --- open anything, address@hidden, 2007/07/20
- Re: ;;; anything.el --- open anything, Tassilo Horn, 2007/07/20
- Message not available
- Re: ;;; anything.el --- open anything, address@hidden, 2007/07/20
- Re: ;;; anything.el --- open anything, Tassilo Horn, 2007/07/20
- Message not available
- Re: ;;; anything.el --- open anything, address@hidden, 2007/07/21
- Re: ;;; anything.el --- open anything, Tassilo Horn, 2007/07/21
- Message not available
- Re: ;;; anything.el --- open anything, address@hidden, 2007/07/21
- Re: ;;; anything.el --- open anything, Tassilo Horn, 2007/07/21
- Message not available
- Re: ;;; anything.el --- open anything, address@hidden, 2007/07/22
- Re: ;;; anything.el --- open anything, Vagn Johansen, 2007/07/22
- Re: ;;; anything.el --- open anything,
Tassilo Horn <=
- Message not available
- Re: ;;; anything.el --- open anything, Vagn Johansen, 2007/07/22
- Re: ;;; anything.el --- open anything, Tassilo Horn, 2007/07/23
- Re: ;;; anything.el --- open anything, Tassilo Horn, 2007/07/23
- Message not available
- Re: ;;; anything.el --- open anything, Benjamin Andresen, 2007/07/23
- Re: ;;; anything.el --- open anything, Tassilo Horn, 2007/07/23
- Re: ;;; anything.el --- open anything, Tassilo Horn, 2007/07/23
- Re: ;;; anything.el --- open anything, address@hidden, 2007/07/23
- Re: ;;; anything.el --- open anything, address@hidden, 2007/07/23
- Re: ;;; anything.el --- open anything, Tassilo Horn, 2007/07/23
- Message not available
- Re: ;;; anything.el --- open anything, address@hidden, 2007/07/23