From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: grep-at-point Date: Wed, 11 Jan 2017 11:56:37 -0800 Message-ID: <87k2a15q16.fsf@ericabrahamsen.net> References: <20170111094846.122e7235@gauss> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1484170853 30358 195.159.176.226 (11 Jan 2017 21:40:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2017 21:40:53 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 11 22:40:49 2017 Return-path: Envelope-to: geh-help-gnu-emacs@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 1cRQdQ-00072Q-Sd for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2017 22:40:44 +0100 Original-Received: from localhost ([::1]:57395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRQdT-0003U9-Tw for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2017 16:40:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRP1K-0000sw-QI for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 14:57:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRP1H-0006Ny-NY for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 14:57:18 -0500 Original-Received: from [195.159.176.226] (port=39289 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cRP1H-0006KV-Gc for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 14:57:15 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cRP0s-0008Lh-2F for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 20:56:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:4iH6o6DewsFnaNYLFxJlL1W0P88= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-Mailman-Approved-At: Wed, 11 Jan 2017 16:40:09 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112097 Archived-At: Joe Riel writes: > Before writing one, is there an elisp function > that returns a buffer of links to file locations > where the elisp symbol at point is used? > > I'm only concerned with the files in the current directory. > Am currently using M-x grep. Maybe all I really need > is a grep-at-point function, which greps for the symbol at point. Sounds like what you might actually be after is some sort of project management package. I use projectile, with helm, and that provides all kinds of commands like grep in project, multi-occur in project, etc, that make it pretty easy to find what you're looking for. Eric