From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Indexed search with grep-like output Date: Tue, 4 Jan 2011 07:30:04 +0100 Message-ID: References: <831v4wpcue.fsf@gnu.org> <83wrmone2h.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1294122642 19005 80.91.229.12 (4 Jan 2011 06:30:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Jan 2011 06:30:42 +0000 (UTC) Cc: Stuart Rackham , Eli Zaretskii , Emacs-Devel devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 04 07:30:37 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pa0Pk-0007et-VU for ged-emacs-devel@m.gmane.org; Tue, 04 Jan 2011 07:30:37 +0100 Original-Received: from localhost ([127.0.0.1]:53234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pa0Pk-00084G-Ez for ged-emacs-devel@m.gmane.org; Tue, 04 Jan 2011 01:30:36 -0500 Original-Received: from [140.186.70.92] (port=53255 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pa0Pb-000848-8O for emacs-devel@gnu.org; Tue, 04 Jan 2011 01:30:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pa0PZ-0006LV-UR for emacs-devel@gnu.org; Tue, 04 Jan 2011 01:30:27 -0500 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:40402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pa0PZ-0006LR-OG; Tue, 04 Jan 2011 01:30:25 -0500 Original-Received: by eyh6 with SMTP id 6so3125255eyh.0 for ; Mon, 03 Jan 2011 22:30:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=xdcw1dgj/RJZGwhXUsA/pKsiWdPeivUJXXgIqFOSS4U=; b=CP2IiGvjqM9LYVpyKYP295INzNuyH4jQbWZOQgW2bQmsyHCvlsj7lhwRkhI20YWDXf A9RyMkwk3+LTwIYhYR86rM+H8gMjB4rYVudzG5Pq4I/T5cqc0wCeery069eWUxrE3mdz boylGRocBIH2RlrcyNIXT+05xYuc9mYdNBCzw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=GufaLiztOLDWLFwuwa9/hiWe1iLhEbcgHqupuhsmf+8c06XY594vqBSpiF+CWtQIw1 MD8Q28HCdyHFZHvwOWidE2XslHCgUlWPcrVf+9cJWeIKjhKCEc2ItMG/K1Iv35czloIP qAUPR9u++2cWeWlYPJiZIOqlIep2JZ/ymAxBc= Original-Received: by 10.213.29.16 with SMTP id o16mr7422885ebc.58.1294122624434; Mon, 03 Jan 2011 22:30:24 -0800 (PST) Original-Received: by 10.213.20.148 with HTTP; Mon, 3 Jan 2011 22:30:04 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134243 Archived-At: On Tue, Jan 4, 2011 at 4:21 AM, Lennart Borgman wrote: > On Mon, Jan 3, 2011 at 5:14 AM, Lennart Borgman > wrote: >> On Mon, Jan 3, 2011 at 5:10 AM, Stefan Monnier wrote: >>>> I have now added support for Google Desktop Search too (the grepping >>>> is not added there yet though). It feels snappier, but the timing >>>> tells me it should be about the same as Windows Desktop Search. Wonder >>>> if I did something wrong... ;-) >>> >>> Clearly, the wrong thing you did is focus on non-Free tools. >> >> ;-) >> >> That is not my fault. Those are the only tools I could find that are >> easy to setup on w32. >> >> Anyway I hope the structure is good enough to add free tools. (For >> someone using GNU/Linux probably much easier. At least that is my >> impression. Nearly all non-trivial free tools are a pain to setup on >> w32. And that is part of the reason they are not gaining ground, at >> least that is my guess.) > > > As Eli suggested docindexer (which is free) and there is an installer > for that I added support for docindexer too. > > It works nicely for what it does. However unfortunately it is still > unusable since the binary version of docindexer currently does not let > you tell which files extensions it should index as text. I have asked > the author/maintainer of docindexer, Stuart Rackham, for help and hope > he will fix it. I have got a reply from Stuart now and he confirms that you can not use the easy installed binary distribution on w32 if you want to change the file types that are indexed. This may make it a less good alternative for those who want to use it for Emacs on w32. However it is still usable with idxsearch.el. To summarize: - There are now support for 3 search engines: 1) docindexer - free and easy to install, but you can't change the file types indexed (easily). 2) Google Desktop Search - easy to install and runs on free systems too. You have to add a plugin to support new file types. 3) Windows Desktop Search - comes with the system, but you have to install ruby to use it with Emacs. Of these Google Desktop Search seems to be the best alternative for a user. (And it gives the best output too.) I have not find any other indexed search engines that are easy to install on w32. (Others might be very easy to install on GNU/Linux, but I see no reason to install them on w32 since they require more of your time.) idxsearch.el and its companions are not yet quite ready though. Comments are welcome.