emacs-devel
[Top][All Lists]
Advanced

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

Re: Eglot, project.el, and python virtual environments


From: Dmitry Gutov
Subject: Re: Eglot, project.el, and python virtual environments
Date: Sat, 19 Nov 2022 21:49:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

Ah, sorry, I missed that part:

On 19.11.2022 21:17, Danny Freeman wrote:
For reference this is the code I'm talking about:
```
(defun project-find-virtualenv-for-eglot (dir)

   (when eglot-lsp-context ;; ALWAYS NIL, except when called from 
`eglot--curent-project`

Then your solution should work okay, but it also means it belongs to the category of Eglot hacks (as opposed to project.el hacks).

Since this issue seems to be common enough, though, we should decide on a proper fix for it, too.



reply via email to

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