bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#45135: 28.0.50; [PATCH] Add option to print file names in *xref* buf


From: Dmitry Gutov
Subject: bug#45135: 28.0.50; [PATCH] Add option to print file names in *xref* buffer relative to project root
Date: Wed, 23 Dec 2020 04:16:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi Tobias,

On 09.12.2020 17:08, Tobias Rittweiler wrote:

please find patches attached to this e-mail that make it possible to
set 'xref-file-name-display' to 'relative-to-project-root'. If so set,
the file names in the *xref* buffer will be shortened by the 'project-root'
and 'project-external-roots' of 'project-current'. Note that xref.el already
requires 'project'.

The patches are relative to commit 2581beb from Wed Dec 9 00:54:34 2020 +0000

Could you clarify the reason for the first patch? Did you have any test failures (on Ubuntu 20.04.1?) with the current test code because of the "random" filesystem traversal order? Thanks!

Re: patch 2, I have an idea that would make it a bit simpler and less coupled to project.el, but behave the same in the usual cases. Stay tuned.





reply via email to

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