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: Eli Zaretskii
Subject: bug#45135: 28.0.50; [PATCH] Add option to print file names in *xref* buffer relative to project root
Date: Sat, 26 Dec 2020 09:54:58 +0200

> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Sat, 26 Dec 2020 04:21:47 +0200
> 
>  (defcustom xref-file-name-display 'abs
>    "Style of file name display in *xref* buffers.
> +
>  If the value is the symbol `abs', the default, show the file names
>  in their full absolute form.
> +
>  If `nondirectory', show only the nondirectory (a.k.a. \"base name\")

The first "If" clause says "If the value is the symbol FOO", which is
clear, but the other clauses say just "If FOO", which is much less
clear.  I suggest to say something intermediate like

  If the value is FOO, ...

> +If `relative', show only the path fragment relative to the

The GNU project's coding conventions frown on using "path" for
anything but PATH-style directory lists.  Suggest to say

  If it is `relative', show only the file-name fragment relative
  to the project root directory.

Thanks.





reply via email to

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