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: Mon, 14 Mar 2011 01:14:30 +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 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1300061707 14781 80.91.229.12 (14 Mar 2011 00:15:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2011 00:15:07 +0000 (UTC) Cc: srackham@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 14 01:15:02 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 1PyvR7-0001mW-7a for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2011 01:15:01 +0100 Original-Received: from localhost ([127.0.0.1]:56666 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyvR6-000241-5J for ged-emacs-devel@m.gmane.org; Sun, 13 Mar 2011 20:15:00 -0400 Original-Received: from [140.186.70.92] (port=47756 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyvQz-00021b-Sp for emacs-devel@gnu.org; Sun, 13 Mar 2011 20:14:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PyvQy-00022S-RG for emacs-devel@gnu.org; Sun, 13 Mar 2011 20:14:53 -0400 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:64327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PyvQx-00022C-By; Sun, 13 Mar 2011 20:14:51 -0400 Original-Received: by ewy9 with SMTP id 9so1485432ewy.0 for ; Sun, 13 Mar 2011 17:14:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=wwI6SMZgrXvYyIq4SUvavLxuxfb7SSfkN4dJ6eIu35E=; b=BOzRB2ESxYm/CKAe1lba+5wvPcunU2P3qLE7CT+Z4HekA51PNd+kyLb3ZgrFNiQpWz o+lMr1mZ5rq3qBDKmFqh5Q77WHykxWqaU1n7Y5/KWWo0zaPCgVZ91l8G3Z2As6LxHkvE SLZvx0aWI3HGCMA6kSdHakUC1fqytPNKu3QxM= 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:content-transfer-encoding; b=AtN9o9jrdMjcFXAkCmjv6YLimAl4GmaxyLiPOfArhw4bNacQHHWm/484OVmv6kqkjY O9gS/bf0h8/TDnIeexR6K0/WktRjCW9Z86EBD5sS8ea3gedr9pJJssPCvMCq/cIXK6kl bOJZtkHE6VBTlMV8o2Mj6v32419YWbmSeKh1M= Original-Received: by 10.213.25.79 with SMTP id y15mr2644281ebb.41.1300061690165; Sun, 13 Mar 2011 17:14:50 -0700 (PDT) Original-Received: by 10.213.27.136 with HTTP; Sun, 13 Mar 2011 17:14:30 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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:137205 Archived-At: On Tue, Jan 4, 2011 at 8:09 AM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Tue, 4 Jan 2011 04:21:22 +0100 >> Cc: Eli Zaretskii , Emacs-Devel devel , >> =C2=A0 =C2=A0 =C2=A0 Stuart Rackham >> >> 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. > > In the directory where you installed docindexer, there's a file named > conf.py, a piece of Python code that describes the docindexer parser > configuration. =C2=A0Its syntax should be self-explanatory; you can add > entries there for whatever source files you'd like to index. I finally got around to do this and tested. It works nicely (but indexing take 15-20 minutes). However I got another problem with docsearch. I want to do things like this docsearch ext:pdf ext:org -a first second . If I use both ext:pdf and ext:org they should be OR-ed but I get no hits then. Do you have any idea what is wrong?