From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Wilfred Hughes Newsgroups: gmane.emacs.devel Subject: [Ann] elisp-refs, a semantic elisp search tool (GNU ELPA request) Date: Fri, 14 Oct 2016 23:26:01 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1476502048 18524 195.159.176.226 (15 Oct 2016 03:27:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Oct 2016 03:27:28 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 15 05:27:24 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvFcp-0002Df-GM for ged-emacs-devel@m.gmane.org; Sat, 15 Oct 2016 05:27:07 +0200 Original-Received: from localhost ([::1]:50285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvFcn-0000QX-TM for ged-emacs-devel@m.gmane.org; Fri, 14 Oct 2016 23:27:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvFcC-0000QP-Mc for emacs-devel@gnu.org; Fri, 14 Oct 2016 23:26:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvFc7-0007HD-0h for emacs-devel@gnu.org; Fri, 14 Oct 2016 23:26:27 -0400 Original-Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]:33987) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bvFc6-0007H4-PW for emacs-devel@gnu.org; Fri, 14 Oct 2016 23:26:22 -0400 Original-Received: by mail-qt0-x230.google.com with SMTP id q7so87706066qtq.1 for ; Fri, 14 Oct 2016 20:26:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilfred-me-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=Q8333n96XUEqLWsQW9Ap9j0UbwxfFnQk60MS3CK3t4M=; b=oEU5Jswjgz9HEd0Vr/Fg/wCQH4q4iOftFcA8H9pEGtMMj2Br8i0+deF0sbkg93yR6x FKfzxfxUA6WkiAcqQJdVKb9Jx/oAjxFwSvp1x0YUgyJLuLetFyYgp/pBwd6eKSodhOc+ UDKVLbI5vC8hh+1FWJiFsq52o8WRupcY755LCDdEhnqN9AQypOfU3Y1d209yjrqqQmIy Algiip4uFA73zQL+YBs/cVAkME6sgpM0nG4ViH0Ydjatlwxn0DAh1gH2PUI0RamOsuWS KgGmjPPNhyjEHmECx9cGNRu5iXe67WG538hkeRJQtFrWoOyjx/hI0aai+WSaRTaw9dk8 hrZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Q8333n96XUEqLWsQW9Ap9j0UbwxfFnQk60MS3CK3t4M=; b=LU5w4dU3+KDKQA6NkKF1wGmN2MPeeMK9mDwXaczYx48WMpPNbDdxTyhTX0pMFbdYJJ ipY2VkV8PpySwqkHOu15okGgheYfLc2oHSoxR1rRs75arfBpw96K37pbTH3mZSrgFQTL BteTSKEvQNczTZ82D38vUhA73QeyYRjGjZ+ndyVUrj2gOyOYqUAV6IDlWzGFiyO1LGvs 07phaWb2rexnJfVMCk9GbEn1jkz9sc2yrKxgdptrZrvjq4tT/beZPnoLdjdiNuuZdvVD h20YfMDHbodqs9NW/Um1anZtBLhKN7PEcp/dWmRT/owQJMse8wPEZEH4l2RTd6UWLda4 iTlw== X-Gm-Message-State: AA6/9RlrNSCkFa5xXpJaSUyBm8TKkV4r6lwPi9sLQoB88G9YoWy0Eg5Hg4HLnvkPpHaV5R9maPuLK3WkUt+cOA== X-Received: by 10.200.51.240 with SMTP id d45mr15301552qtb.18.1476501981852; Fri, 14 Oct 2016 20:26:21 -0700 (PDT) Original-Received: by 10.237.36.25 with HTTP; Fri, 14 Oct 2016 20:26:01 -0700 (PDT) X-Originating-IP: [146.115.86.181] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c0d::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208267 Archived-At: Hi emacs-devel I've written a package [elisp-refs] that does a semantic search of all the elisp in the current Emacs instance. elisp-refs works by parsing all the code on `load-path', then walking the sexps. This allows it to precisely find relevant forms. For example, you can use elisp-refs-function to find all the calls to the function `format', ignoring any variables of the same name. It's even smart enough to understand that (apply #'format ...) is a function call. Unlike xrefs, elisp-refs is sexp-oriented, so it always shows full sexp that matched your search, even if the result is on multiple lines. Results are also syntax highlighted. I hope this package is useful to some of you. I'd like to put it on GNU ELPA, and I already have copyright assignment sorted. Would this be possible? Thanks Wilfred [elisp-refs]: https://github.com/Wilfred/elisp-refs