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

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

bug#45135: closed (28.0.50; [PATCH] Add option to print file names in *x


From: GNU bug Tracking System
Subject: bug#45135: closed (28.0.50; [PATCH] Add option to print file names in *xref* buffer relative to project root)
Date: Wed, 30 Dec 2020 12:06:01 +0000

Your message dated Wed, 30 Dec 2020 14:05:24 +0200
with message-id <8194ba8f-b700-9375-f2b6-0a96d501e621@yandex.ru>
and subject line Re: bug#45135: 28.0.50; [PATCH] Add option to print file names 
in *xref* buffer relative to project root
has caused the debbugs.gnu.org bug report #45135,
regarding 28.0.50; [PATCH] Add option to print file names in *xref* buffer 
relative to project root
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
45135: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45135
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.0.50; [PATCH] Add option to print file names in *xref* buffer relative to project root Date: Wed, 9 Dec 2020 16:08:42 +0100
Dear maintainers,

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

Please note that I marked the NEWS entry as "no documentation update
needed". That is because `xref-file-name-display` does not seem to be
included in the documentation.

I do have copyright-assigments to the FSF in place.

Please let me know what else I can do to get this accepted into Emacs.

Best regards,

Tobias



In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
 of 2020-12-09 built on samarkand
Repository revision: a5c6f7687d981afce7a823696bac058320327cd2
Repository branch: trittweiler/add_relative_to_project_root_to_xref_file_name_display
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Ubuntu 20.04.1 LTS

Configured using:
 'configure --prefix=/home/trittweiler/.local/software/emacs-git/'

Configured features:
XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER

Important settings:
  value of $LC_MONETARY: en_GB.UTF-8
  value of $LC_NUMERIC: en_GB.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Outline

Minor modes in effect:
  bug-reference-mode: t
  shell-dirtrack-mode: t
  counsel-mode: t
  ivy-mode: t
  global-company-mode: t
  company-mode: t
  winner-mode: t
  global-whitespace-cleanup-mode: t
  whitespace-cleanup-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/usr/share/emacs/site-lisp/llvm-6.0/llvm-mode hides /usr/share/emacs/site-lisp/llvm-10/llvm-mode
/usr/share/emacs/site-lisp/llvm-6.0/emacs hides /usr/share/emacs/site-lisp/llvm-10/emacs
/usr/share/emacs/site-lisp/llvm-6.0/tablegen-mode hides /usr/share/emacs/site-lisp/llvm-10/tablegen-mode
/usr/share/emacs/site-lisp/llvm-6.0/llvm-mode hides /usr/share/emacs/site-lisp/llvm-4.0/llvm-mode
/usr/share/emacs/site-lisp/llvm-6.0/emacs hides /usr/share/emacs/site-lisp/llvm-4.0/emacs
/usr/share/emacs/site-lisp/llvm-6.0/tablegen-mode hides /usr/share/emacs/site-lisp/llvm-4.0/tablegen-mode
/usr/share/emacs/site-lisp/llvm-6.0/llvm-mode hides /usr/share/emacs/site-lisp/llvm-7/llvm-mode
/usr/share/emacs/site-lisp/llvm-6.0/emacs hides /usr/share/emacs/site-lisp/llvm-7/emacs
/usr/share/emacs/site-lisp/llvm-6.0/tablegen-mode hides /usr/share/emacs/site-lisp/llvm-7/tablegen-mode
/usr/share/emacs/site-lisp/llvm-6.0/llvm-mode hides /usr/share/emacs/site-lisp/llvm-8/llvm-mode
/usr/share/emacs/site-lisp/llvm-6.0/emacs hides /usr/share/emacs/site-lisp/llvm-8/emacs
/usr/share/emacs/site-lisp/llvm-6.0/tablegen-mode hides /usr/share/emacs/site-lisp/llvm-8/tablegen-mode
/usr/share/emacs/site-lisp/llvm-6.0/llvm-mode hides /usr/share/emacs/site-lisp/llvm-9/llvm-mode
/usr/share/emacs/site-lisp/llvm-6.0/emacs hides /usr/share/emacs/site-lisp/llvm-9/emacs
/usr/share/emacs/site-lisp/llvm-6.0/tablegen-mode hides /usr/share/emacs/site-lisp/llvm-9/tablegen-mode
/usr/share/emacs/site-lisp/cmake-mode hides /home/trittweiler/.emacs.d/elpa/cmake-mode-20190710.1319/cmake-mode
/home/trittweiler/src/open-source/elisp/eglot.git/eglot hides /home/trittweiler/.emacs.d/elpa/eglot-20200416.2220/eglot
/home/trittweiler/.emacs.d/elpa/org-9.4/org-compat hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-compat
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-dot hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-dot
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-eval hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-eval
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-fortran hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-fortran
/home/trittweiler/.emacs.d/elpa/org-9.4/org-feed hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-feed
/home/trittweiler/.emacs.d/elpa/org-9.4/org-mouse hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-mouse
/home/trittweiler/.emacs.d/elpa/org-9.4/org-keys hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-keys
/home/trittweiler/.emacs.d/elpa/org-9.4/org-colview hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-colview
/home/trittweiler/.emacs.d/elpa/org-9.4/ol-eww hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol-eww
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-awk hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-awk
/home/trittweiler/.emacs.d/elpa/org-9.4/ol-mhe hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol-mhe
/home/trittweiler/.emacs.d/elpa/org-9.4/ox-org hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox-org
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-coq hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-coq
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-calc hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-calc
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-js hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-js
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-matlab hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-matlab
/home/trittweiler/.emacs.d/elpa/org-9.4/org-inlinetask hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-inlinetask
/home/trittweiler/.emacs.d/elpa/org-9.4/org-agenda hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-agenda
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-io hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-io
/home/trittweiler/.emacs.d/elpa/org-9.4/ol-docview hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol-docview
/home/trittweiler/.emacs.d/elpa/org-9.4/ox-beamer hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox-beamer
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-eshell hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-eshell
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-octave hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-octave
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-makefile hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-makefile
/home/trittweiler/.emacs.d/elpa/org-9.4/org-tempo hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-tempo
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-ruby hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-ruby
/home/trittweiler/.emacs.d/elpa/org-9.4/org-capture hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-capture
/home/trittweiler/.emacs.d/elpa/org-9.4/org-src hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-src
/home/trittweiler/.emacs.d/elpa/org-9.4/ob hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-screen hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-screen
/home/trittweiler/.emacs.d/elpa/org-9.4/org-footnote hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-footnote
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-shen hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-shen
/home/trittweiler/.emacs.d/elpa/org-9.4/org-indent hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-indent
/home/trittweiler/.emacs.d/elpa/org-9.4/org-attach hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-attach
/home/trittweiler/.emacs.d/elpa/org-9.4/org-datetree hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-datetree
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-clojure hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-clojure
/home/trittweiler/.emacs.d/elpa/org-9.4/org-timer hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-timer
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-stan hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-stan
/home/trittweiler/.emacs.d/elpa/org-9.4/org-archive hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-archive
/home/trittweiler/.emacs.d/elpa/org-9.4/ol-irc hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol-irc
/home/trittweiler/.emacs.d/elpa/org-9.4/ox-texinfo hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox-texinfo
/home/trittweiler/.emacs.d/elpa/org-9.4/org-protocol hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-protocol
/home/trittweiler/.emacs.d/elpa/org-9.4/ol-info hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol-info
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-asymptote hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-asymptote
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-haskell hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-haskell
/home/trittweiler/.emacs.d/elpa/org-9.4/org-duration hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-duration
/home/trittweiler/.emacs.d/elpa/org-9.4/org-macro hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-macro
/home/trittweiler/.emacs.d/elpa/org-9.4/ol hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol
/home/trittweiler/.emacs.d/elpa/org-9.4/ol-bibtex hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol-bibtex
/home/trittweiler/.emacs.d/elpa/org-9.4/ox-ascii hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox-ascii
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-exp hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-exp
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-latex hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-latex
/home/trittweiler/.emacs.d/elpa/org-9.4/org-pcomplete hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-pcomplete
/home/trittweiler/.emacs.d/elpa/org-9.4/ol-w3m hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol-w3m
/home/trittweiler/.emacs.d/elpa/org-9.4/ol-rmail hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol-rmail
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-scheme hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-scheme
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-table hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-table
/home/trittweiler/.emacs.d/elpa/org-9.4/ox-md hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox-md
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-perl hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-perl
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-hledger hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-hledger
/home/trittweiler/.emacs.d/elpa/org-9.4/org-clock hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-clock
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-mscgen hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-mscgen
/home/trittweiler/.emacs.d/elpa/org-9.4/org-list hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-list
/home/trittweiler/.emacs.d/elpa/org-9.4/org-mobile hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-mobile
/home/trittweiler/.emacs.d/elpa/org-9.4/ox-icalendar hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox-icalendar
/home/trittweiler/.emacs.d/elpa/org-9.4/org-num hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-num
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-C hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-C
/home/trittweiler/.emacs.d/elpa/org-9.4/ox hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-lisp hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-lisp
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-shell hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-shell
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-forth hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-forth
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-org hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-org
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-lob hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-lob
/home/trittweiler/.emacs.d/elpa/org-9.4/ox-publish hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox-publish
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-ref hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-ref
/home/trittweiler/.emacs.d/elpa/org-9.4/ox-man hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox-man
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-ditaa hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-ditaa
/home/trittweiler/.emacs.d/elpa/org-9.4/ox-latex hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox-latex
/home/trittweiler/.emacs.d/elpa/org-9.4/org-crypt hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-crypt
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-sql hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-sql
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-css hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-css
/home/trittweiler/.emacs.d/elpa/org-9.4/org-habit hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-habit
/home/trittweiler/.emacs.d/elpa/org-9.4/org-macs hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-macs
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-tangle hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-tangle
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-groovy hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-groovy
/home/trittweiler/.emacs.d/elpa/org-9.4/ox-html hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox-html
/home/trittweiler/.emacs.d/elpa/org-9.4/org-ctags hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-ctags
/home/trittweiler/.emacs.d/elpa/org-9.4/org-table hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-table
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-ocaml hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-ocaml
/home/trittweiler/.emacs.d/elpa/org-9.4/org-loaddefs hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-loaddefs
/home/trittweiler/.emacs.d/elpa/org-9.4/ol-gnus hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol-gnus
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-gnuplot hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-gnuplot
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-lua hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-lua
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-emacs-lisp hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-emacs-lisp
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-vala hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-vala
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-python hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-python
/home/trittweiler/.emacs.d/elpa/org-9.4/ol-eshell hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol-eshell
/home/trittweiler/.emacs.d/elpa/org-9.4/org hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-ledger hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-ledger
/home/trittweiler/.emacs.d/elpa/org-9.4/ox-odt hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ox-odt
/home/trittweiler/.emacs.d/elpa/org-9.4/ol-bbdb hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ol-bbdb
/home/trittweiler/.emacs.d/elpa/org-9.4/org-id hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-id
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-java hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-java
/home/trittweiler/.emacs.d/elpa/org-9.4/org-lint hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-lint
/home/trittweiler/.emacs.d/elpa/org-9.4/org-install hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-install
/home/trittweiler/.emacs.d/elpa/org-9.4/org-goto hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-goto
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-J hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-J
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-plantuml hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-plantuml
/home/trittweiler/.emacs.d/elpa/org-9.4/org-attach-git hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-attach-git
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-lilypond hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-lilypond
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-comint hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-comint
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-abc hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-abc
/home/trittweiler/.emacs.d/elpa/org-9.4/org-element hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-element
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-picolisp hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-picolisp
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-maxima hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-maxima
/home/trittweiler/.emacs.d/elpa/org-9.4/org-plot hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-plot
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-sed hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-sed
/home/trittweiler/.emacs.d/elpa/org-9.4/org-entities hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-entities
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-core hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-core
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-sass hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-sass
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-processing hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-processing
/home/trittweiler/.emacs.d/elpa/org-9.4/org-faces hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-faces
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-sqlite hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-sqlite
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-ebnf hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-ebnf
/home/trittweiler/.emacs.d/elpa/org-9.4/ob-R hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/ob-R
/home/trittweiler/.emacs.d/elpa/org-9.4/org-version hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/org/org-version
/usr/share/emacs/site-lisp/latex-cjk-thai/thai-word hides /home/trittweiler/.local/software/emacs-git/share/emacs/28.0.50/lisp/language/thai-word

Features:
(shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa
epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils bug-reference
tabify vc-mtn vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs
vc-rcs vc vc-dispatcher paredit company-oddmuse company-keywords
company-etags company-gtags company-dabbrev-code company-dabbrev
company-files company-clang company-capf company-cmake company-semantic
company-template company-bbdb settings systemd conf-mode protobuf-mode
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs vmd-mode bazel-mode bazel-util python tramp-sh tramp
tramp-loaddefs trampver tramp-integration files-x tramp-compat shell
pcomplete parse-time iso8601 time-date ls-lisp format-spec ffap
cmake-mode derived eglot array filenotify jsonrpc ert ewoc debug
backtrace find-func flymake-proc flymake warnings imenu google-c-style
slime etags fileloop generator arc-mode archive-mode noutline outline pp
hyperspec thingatpt lice counsel xdg xref project dired dired-loaddefs
compile text-property-search comint ansi-color swiper ivy delsel
ivy-faces ivy-overlay colir color company pcase server edmacro kmacro
find-file winner ring windmove framemove whitespace-cleanup-mode advice
whitespace gruvbox-light-soft-theme gruvbox-theme gruvbox autothemer
dash cl-extra help-mode use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
easy-mmode use-package-core finder-inf slime-autoloads rx info package
easymenu browse-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 232115 17230)
 (symbols 48 23907 1)
 (strings 32 81463 3260)
 (string-bytes 1 2672785)
 (vectors 16 37219)
 (vector-slots 8 456398 16522)
 (floats 8 196 35)
 (intervals 56 365 45)
 (buffers 984 12))

Attachment: 0002-Add-relative-to-project-root-as-value-for-xref-file-.patch
Description: Text Data

Attachment: 0001-Minor-refactoring-of-xref-tests.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#45135: 28.0.50; [PATCH] Add option to print file names in *xref* buffer relative to project root Date: Wed, 30 Dec 2020 14:05:24 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
Version: 28.1

Hi Tobias,

On 27.12.2020 08:55, Tobias Rittweiler wrote:

Thank you. I tested the patch and it works fine.

Some comments on the patch itself:

1. 'xref--project-root' returns a project root if 'project-root' is fboundp.
     Otherwise it returns a *list* of roots.

2. And in the second case, 'xref-backend-references' conses that list
    of roots to the list of external roots. I.e. it constructs an improper list
     which it then passes to 'mapcan'. This is a bug, isn't it?

3. 'xref-expanded-seach-root` mispells "search"

Thanks for the comments, I fixed them now.

Also I've simplified the change closer to your original code. If anything, that made satisfying the tests easier.

Pushed as 13b59c690a.

That code also doesn't consider the "external roots", I figured it would be better to keep the group names unique.

But we can revisit that later, if you or others do find those external long file names annoying (let me know). For now, closing.


--- End Message ---

reply via email to

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