[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: native-comp and resetting of search paths
From: |
Andrea Corallo |
Subject: |
Re: native-comp and resetting of search paths |
Date: |
Mon, 13 Jul 2020 18:15:52 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Alex Bennée <alex.bennee@linaro.org> writes:
> Hi Andrea, Jorgen,
>
> I just thought I'd give you a heads up on a potential clash between
> native-comp's background compilation and elpy. In essence native-comp
> changes the value of elpy-rpc-pythonpath from:
>
> "/home/alex/.emacs.d/elpa/elpy-20200527.2021/"
>
> To:
>
>
> "/home/alex/.emacs.d/elpa/elpy-20200527.2021/eln-x86_64-pc-linux-gnu-93d8fa3f77c8fe62/"
>
> which is fine for the .elc -> .eln change but because elpy also uses
> this to find the python server in .emacs.d/elpa/elpy-20200527.2021/elpy/
> it gets very confused.
>
> What was the rationale behind this change? I can see it makes sense to
> tweak load-path but generally I would expect variables belonging to
> packages to remain untouched.
>
> Is this a recent change? it only seemed to break in the last week.
Hi Alex,
AFAIR nothing recently changed should cause a regression in this area.
If you cold look into how elpy-rpc-pythonpath is computed I guess should
be easy to undestand what is going on.
Thanks
Andrea
--
akrl@sdf.org