Hello, On Fri 25 Nov 2022 at 09:47PM +01, Aymeric Agon-Rambosson wrote: > Hello, > > Le vendredi 25 novembre 2022 à 10:31, Sean Whitton <spwhitton@spwhitton.name> > a écrit : > >> It would? The highest version is meant to take precedence. That's a >> feature of package.el. > > I run some version of emacs 28.1, which ships xref 1.3.0. > > I installed elpa-eglot, which depends on elpa-xref version 1.0.2. > > Since then, I have had the following : > > (find-library-name "xref") > "/usr/share/emacs/site-lisp/elpa-src/xref-1.0.2/xref.el" > > (locate-library "xref") > "/usr/share/emacs/site-lisp/elpa/xref-1.0.2/xref.el" > > I do have /usr/share/emacs/28.1/lisp/progmodes in my load-path, which is the > directory containing xref.el.gz. > > From what I can see, it would seem that /usr/share/emacs/site-lisp takes > precedence over /usr/share/emacs/<emacs version>, rather than the highest > library version. > > I'm not sure whether that is intended or not. My understanding is that this is an upstream bug in Emacs, but ICBW. -- Sean Whitton
Attachment:
signature.asc
Description: PGP signature