From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: grep-at-point Date: Wed, 11 Jan 2017 13:01:03 -0800 (PST) Message-ID: <42a1b0b4-b8c2-4eda-a70a-0442c059bb3c@default> References: <20170111094846.122e7235@gauss> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1484169357 28666 195.159.176.226 (11 Jan 2017 21:15:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2017 21:15:57 +0000 (UTC) To: Joe Riel , Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 11 22:15:53 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 1cRQFC-0006Ag-MQ for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2017 22:15:42 +0100 Original-Received: from localhost ([::1]:57169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRQFH-0004mi-7i for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2017 16:15:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRQ1D-0006h3-8g for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 16:01:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRQ18-0001Ry-Gp for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 16:01:15 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:27666) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cRQ18-0001QX-9P for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 16:01:10 -0500 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v0BL16V5018866 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Jan 2017 21:01:06 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v0BL15Ch019201 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Jan 2017 21:01:06 GMT Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v0BL143Y031698; Wed, 11 Jan 2017 21:01:05 GMT In-Reply-To: <20170111094846.122e7235@gauss> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 141.146.126.69 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:112094 Archived-At: > 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? >=20 > 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. Doesn't `M-x grep RET M-n' give you what you want? If point is on a Lisp symbol then `M-n' yanks it as the default value.