[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep-at-point
From: |
John Mastro |
Subject: |
Re: grep-at-point |
Date: |
Wed, 11 Jan 2017 12:15:43 -0800 |
Joe Riel <joer@san.rr.com> 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.
Sounds like `xref-find-references' (bound to M-? by default) might be
what you're looking for. It was introduced in Emacs 25.
M-? runs the command xref-find-references (found in global-map),
which is an interactive autoloaded compiled Lisp function in
‘xref.el’.
It is bound to M-?.
(xref-find-references IDENTIFIER)
Find references to the identifier at point.
With prefix argument, prompt for the identifier.
Re: grep-at-point,
John Mastro <=
RE: grep-at-point, Drew Adams, 2017/01/11
- Re: grep-at-point, Joe Riel, 2017/01/11
- xref-find-references in elisp (Was: Re: grep-at-point), Kaushal Modi, 2017/01/11
- Re: xref-find-references in elisp (Was: Re: grep-at-point), Dmitry Gutov, 2017/01/11
- Re: xref-find-references in elisp (Was: Re: grep-at-point), Kaushal Modi, 2017/01/11
- Re: xref-find-references in elisp (Was: Re: grep-at-point), Dmitry Gutov, 2017/01/11
- Re: xref-find-references in elisp (Was: Re: grep-at-point), Kaushal Modi, 2017/01/11
RE: grep-at-point, Drew Adams, 2017/01/11
Re: grep-at-point, Eric Abrahamsen, 2017/01/11
Re: grep-at-point, Thien-Thi Nguyen, 2017/01/11