From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?S=E9bastien_Vauban?= Newsgroups: gmane.emacs.help Subject: Re: Anything.el for Windows Date: Mon, 11 Feb 2008 16:24:22 +0100 Organization: Sebastien Vauban Message-ID: <874pcfjz2x.fsf@mundaneum.com> References: <87ve55gc7n.fsf@mundaneum.com> <87ir138k0h.fsf@mundaneum.com> <87r6fqpbno.fsf@mundaneum.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1202744533 11064 80.91.229.12 (11 Feb 2008 15:42:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2008 15:42:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 11 16:42:36 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JOanT-0004sM-1b for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2008 16:42:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOamz-0004c0-NU for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2008 10:41:49 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!xs4all!aotearoa.belnet.be!news.belnet.be!feed1.news.be.easynet.net!reader0.news.be.easynet.net!not-for-mail Original-Newsgroups: gnu.emacs.help X-Www-site: Under construction... User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:pBLOorLWejPkpQwOIbkg/nO5Q6M= Original-Lines: 97 Original-NNTP-Posting-Date: 11 Feb 2008 15:24:22 GMT Original-NNTP-Posting-Host: 81.188.7.152 Original-X-Trace: 1202743462 reader0.news.be.easynet.net 1485 [::ffff:81.188.7.152]:57214 Original-X-Complaints-To: abuse@be.easynet.net Original-Xref: shelby.stanford.edu gnu.emacs.help:156044 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51418 Archived-At: Hi Tassilo, >>> You can use that to see if M-x anything fires up a locate >>> process. >> >> Changed the process to launch with the following: >> >> (setq anything-c-locate-options '("top")) >> >> ... but nothing happens. Like if it was not called at all - while >> still part of my anything sources. > > No, don't touch anything-c-locate-options. You should invoke > `top' in a terminal and then fire up anything and watch in > top's output if a locate process is started then. Stupid from me! Sorry. To answer your question, no, `M-x anything' does not fire up a `locate' process (checked with `top -d 0.1' - *correctly* working under cygwin). I don't understand why. On the other hand, `M-x locate' does well launch a `locate' process, with the following result (as example, for the pattern `diary') outputted in a buffer: --8<---------------cut here---------------start------------->8--- /: Matches for diary: /cygdrive/c/Media/Download/emacs/site-lisp/.TEMP/diary-outlook.el /cygdrive/c/Media/Download/emacs/site-lisp/emacs-w3m-cvs/shimbun/sb-tdi= ary-ml.el /cygdrive/c/Media/Download/emacs/site-lisp/emacs-w3m-cvs/shimbun/sb-tdi= ary.el /cygdrive/c/Media/Download/emacs/site-lisp/gnus-cvs/lisp/gnus-diary.el /cygdrive/c/Media/Download/emacs/site-lisp/gnus-cvs/lisp/nndiary.el /cygdrive/c/Program Files/Emacs/emacs/lisp/calendar/diary-lib.el /cygdrive/c/Program Files/Emacs/emacs/lisp/calendar/diary-lib.elc /cygdrive/c/Program Files/Emacs/emacs/lisp/gnus/gnus-diary.el /cygdrive/c/Program Files/Emacs/emacs/lisp/gnus/gnus-diary.elc /cygdrive/c/Program Files/Emacs/emacs/lisp/gnus/nndiary.el /cygdrive/c/Program Files/Emacs/emacs/lisp/gnus/nndiary.elc /cygdrive/z/.emacs_backups/!drive_z!home!diary-birthdays.~1~ /cygdrive/z/.emacs_backups/!drive_z!home!diary.~1~ /cygdrive/z/.svn/prop-base/diary-birthdays.svn-base /cygdrive/z/.svn/prop-base/diary.svn-base /cygdrive/z/.svn/text-base/diary-birthdays.svn-base /cygdrive/z/.svn/text-base/diary.svn-base /cygdrive/z/diary /cygdrive/z/diary-birthdays /cygdrive/z/Media/Download/emacs/site-lisp/.TEMP/diary-outlook.el /cygdrive/z/Media/Download/emacs/site-lisp/emacs-w3m-cvs/shimbun/sb-tdi= ary-ml.el /cygdrive/z/Media/Download/emacs/site-lisp/emacs-w3m-cvs/shimbun/sb-tdi= ary.el /cygdrive/z/Media/Download/emacs/site-lisp/gnus-cvs/lisp/gnus-diary.el /cygdrive/z/Media/Download/emacs/site-lisp/gnus-cvs/lisp/nndiary.el --8<---------------cut here---------------end--------------->8--- > And please check if locate accepts the options given in > anything-c-locate-options. Yes, it does support `-i' and `-r', as you can see (extracted from my bash terminal window): --8<---------------cut here---------------start------------->8--- [Administrator@CLARK-VBW] ~>locate -i -r pattern /cygdrive/c/cygwin/lib/perl5/5.8/unicore/lib/gc_sc/PatternS.pl /cygdrive/c/cygwin/lib/perl5/5.8/unicore/lib/gc_sc/PatternW.pl /cygdrive/c/Program Files/Microsoft Visual Studio 8/Xml/1033/Snippets/xsd/A= ttributes/pattern.snippet /cygdrive/c/Program Files/Microsoft Visual Studio 8/Xml/1033/Snippets/xsd/S= impleTypes/pattern.snippet /cygdrive/z/.gimp-2.2/patterns --8<---------------cut here---------------end--------------->8--- > (locate --help in a terminal) --8<---------------cut here---------------start------------->8--- [Administrator@CLARK-VBW] ~>locate --help Usage: locate [-d path | --database=3Dpath] [-e | -E | --[non-]existing] [-i | --ignore-case] [-w | --wholename] [-b | --basename] [--limit=3DN | -l N] [-S | --statistics] [-0 | --null] [-c | --count] [-P | -H | --nofollow] [-L | --follow] [-m | --mmap ] [ -s | --stdio ] [-A | --all] [-p | --print] [-r | --regex ] [--regextype=3DTYPE] [--max-database-age D] [--version] [--help] pattern... --8<---------------cut here---------------end--------------->8--- Best regards, Seb --=20 S=E9bastien=A0Vauban