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

Re: Bug#1020851: elpa-ement: fails to install along emacs




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.

Best,

Aymeric


Reply to: