From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Indexed search with grep-like output Date: Sun, 02 Jan 2011 00:06:29 +0200 Message-ID: <83zkrknusa.fsf@gnu.org> References: <831v4wpcue.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1293919540 15178 80.91.229.12 (1 Jan 2011 22:05:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2011 22:05:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 01 23:05:36 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 1PZ9Zv-00028q-4t for ged-emacs-devel@m.gmane.org; Sat, 01 Jan 2011 23:05:35 +0100 Original-Received: from localhost ([127.0.0.1]:51767 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ9Zu-00028M-JF for ged-emacs-devel@m.gmane.org; Sat, 01 Jan 2011 17:05:34 -0500 Original-Received: from [140.186.70.92] (port=47389 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ9Zq-00028H-Ah for emacs-devel@gnu.org; Sat, 01 Jan 2011 17:05:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZ9Zp-00074J-0R for emacs-devel@gnu.org; Sat, 01 Jan 2011 17:05:30 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:64356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZ9Zo-00074E-OH for emacs-devel@gnu.org; Sat, 01 Jan 2011 17:05:28 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LED009006873I00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sun, 02 Jan 2011 00:04:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.127.157]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LED009AC6N74310@a-mtaout21.012.net.il>; Sun, 02 Jan 2011 00:04:20 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:134134 Archived-At: > From: Lennart Borgman > Date: Sat, 1 Jan 2011 22:15:25 +0100 > Cc: emacs-devel@gnu.org >=20 > > The GNU Id-utils package already does that for searching identifi= ers > > in program source code. =C2=A0The package comes with id-utils.el,= which > > implements the Emacs front-end for it, and produces grep-like out= put. >=20 >=20 > Nice. I have never seen it. >=20 > However that does not use a modern indexed database that is > automatically incrementally updated. Why does it matter? mkid is lightning fast; I have it run once a wee= k when I'm usually away of my development machine, and it needs only 15 minutes to index all my tens of thousands of source files in 3 humongously large source repositories. With such speed, why should one care for incremental updates? You are being brain-washed by producers of slow indexing engines, if you think incremental indexing is a must. The same goes for `locate' DB updates: it needs only 9 minutes to generate a DB of 758,000 files on my 2 large disks.