[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tell xref to find definitions in Emacs' source code?

From: Eric Abrahamsen
Subject: Re: Tell xref to find definitions in Emacs' source code?
Date: Tue, 31 Oct 2017 17:24:02 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Dmitry Gutov <> writes:

> On 10/31/17 9:31 PM, Eric Abrahamsen wrote:
>> Has anyone convinced xref to look up elisp definitions in a local git
>> clone of the Emacs source code, instead of the installed files? I'm
>> looking at building a tags table in the source directory, and then
>> adding a function to `elisp-xref-find-def-functions' that would try to
>> use the tags table to find a symbol in my git clone.
>> Does anyone have anything like this on hand?
> The easiest way to do that is to build that clone and run Emacs from it.
> Like ./src/emacs.
> The alternative is to add xref-etags-mode to emacs-lisp-mode, and M-x 
> visit-tags-table. Then you'll just use etags.
> Not sure if elisp-xref-find-def-functions can provide a
> straightforward alternative.

Okay, thanks for the tips. I'll probably just do it the easy way and run
Emacs from the source directory.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]