From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Aleksandar Simic Newsgroups: gmane.emacs.help Subject: Re: grep-at-point Date: Wed, 11 Jan 2017 19:21:06 +0000 Message-ID: References: <20170111094846.122e7235@gauss> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1484162516 30788 195.159.176.226 (11 Jan 2017 19:21:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2017 19:21:56 +0000 (UTC) To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 11 20:21:51 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 1cROSj-00064v-7f for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2017 20:21:33 +0100 Original-Received: from localhost ([::1]:56551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cROSn-0006Bm-Mb for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2017 14:21:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cROSL-0006Bh-8O for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 14:21:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cROSK-0005Sg-7O for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 14:21:09 -0500 Original-Received: from mail-vk0-x236.google.com ([2607:f8b0:400c:c05::236]:35772) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cROSK-0005SW-2g for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 14:21:08 -0500 Original-Received: by mail-vk0-x236.google.com with SMTP id x75so62241094vke.2 for ; Wed, 11 Jan 2017 11:21:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=VT6GncLNmyFh0bA38uoAcP1bnwfpsvfjxRRor6gXi1k=; b=HdId+de5cSKhQFXSHS4c01F5SUECvlBqalTmeOQaRDq/yTrPzdLxdVowTt3m0z4ZUc /POhaujHR9se2i88aZqbSDYdISxBK3D5LmcnULy00OPo2ZgtzPtGJ1NwkqF47pj3olJD IXWIzJasfIitOVEEn34jYbrpVfrNPlgos2KLEXV05mUhMRhwfHk8nIOsg0h57rX11Uss qqHFeuF9mYfplb+jwvkW+5++6ZfioubmY7yAR8pLvbuyCH4yePXiBvF+uuUbeRZtZsfe 3xH3hRvrNfFiNl8b9iICIDflE9wK/etzeg6RcMlAU3Y88fInRsO26krfQPVyHWD0jgNf n8Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=VT6GncLNmyFh0bA38uoAcP1bnwfpsvfjxRRor6gXi1k=; b=egT/AoTTPLQk5FuNwbydeoY4yAaoRWpMpznSb9AzXIOSb6EUaSaA4AZpkmDe75czrM oxkTRbe6CHsaIDLwgQuPLNggU9pidKMptp19mvVj0wSoRVzs97t2eLeB81kr/RkgtJuY quPqJOUe1iV3lIPnVXlT6oaBP8GXLA8lqUc21VwyzuT7rfIupCm911EogKorl8Uz5XDa a+2FqvatfrWEEjDSHMhjTFbbTrog5UoK2JQAntpJA4TYhYG0dMMwu8iLvvYjP0hlnkDY Qh12i0BzRDAmvWnZ5PdgYbOBWMtwWuEU80r0xYmgp8fpdqzG4VasV3UQu39P0eEjkDMs EWPQ== X-Gm-Message-State: AIkVDXKUePTCCYjl19Bz8Lr6RJkvsmHRGc7s76lL7B8wtlMezqbXyhcy8fLRsSMgMK403YBGnzPilDMm/paAow== X-Received: by 10.31.142.21 with SMTP id q21mr4811625vkd.157.1484162467158; Wed, 11 Jan 2017 11:21:07 -0800 (PST) Original-Received: by 10.176.18.216 with HTTP; Wed, 11 Jan 2017 11:21:06 -0800 (PST) In-Reply-To: <20170111094846.122e7235@gauss> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::236 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:112089 Archived-At: On Wed, Jan 11, 2017 at 5:48 PM, Joe Riel wrote: > 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. These answers from 2008 might be of interest: https://lists.gnu.org/archive/html/help-gnu-emacs/2008-09/msg00630.html https://lists.gnu.org/archive/html/help-gnu-emacs/2008-09/msg00640.html Aleksandar