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: Mon, 10 Jan 2011 20:33:16 +0200 Message-ID: <837heck3rn.fsf@gnu.org> References: <83wrmone2h.fsf@gnu.org> <83d3obm39b.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1294684414 28643 80.91.229.12 (10 Jan 2011 18:33:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 Jan 2011 18:33:34 +0000 (UTC) Cc: srackham@gmail.com, emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 10 19:33:29 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 1PcMYa-0004ht-79 for ged-emacs-devel@m.gmane.org; Mon, 10 Jan 2011 19:33:28 +0100 Original-Received: from localhost ([127.0.0.1]:56090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcMYZ-0005Bq-GX for ged-emacs-devel@m.gmane.org; Mon, 10 Jan 2011 13:33:27 -0500 Original-Received: from [140.186.70.92] (port=35247 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcMYQ-0005AE-SC for emacs-devel@gnu.org; Mon, 10 Jan 2011 13:33:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcMYP-0007OU-RV for emacs-devel@gnu.org; Mon, 10 Jan 2011 13:33:18 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:64093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcMYP-0007ON-Gv for emacs-devel@gnu.org; Mon, 10 Jan 2011 13:33:17 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LET00000KRA4000@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 10 Jan 2011 20:33:16 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.131.253]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LET00HQZKVEVM41@a-mtaout22.012.net.il>; Mon, 10 Jan 2011 20:33:16 +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:134410 Archived-At: > From: Lennart Borgman > Date: Mon, 10 Jan 2011 11:22:35 +0100 > Cc: Eli Zaretskii , emacs-devel@gnu.org, srackham@gmail.com > > The current idutils.el does not contain much. It is just a > define-compilation-mode (which adds nothing but adds one keyword) and > a a command gid which just does compilation-start (and does some > things that belongs to define-compile-command). That's because lid, the command that performs the indexed search, has an option that causes it to produce grep-like output. So id-utils.el doesn't need to do much, since everything is already in compile.el. For other search programs, which don't support output formats that map well to what compile.el groks, more massaging of the output will be needed. > I installed that and tried it. However it either crashes or says > something like this > > C:\>mkid -o OUTFILE DIR > mkid: can't get working directory: Permission denied Which is why I made my own port: the one on GnuWin32 is simply broken. If you tell me how to upload a binary zip file to some site where you can get it, I will.