[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Eglot, project.el, and python virtual environments
From: |
Eric Abrahamsen |
Subject: |
Re: Eglot, project.el, and python virtual environments |
Date: |
Mon, 21 Nov 2022 08:49:56 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
João Távora <joaotavora@gmail.com> writes:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> I spent some time looking at eglot.el and project.el, and was mostly
>> surprised to find how little they need to know about each other.
>
> In particular, project.el knows nothing of eglot.el :-), as it should.
>
>> So yes, Danny's "hack" seems quite sufficient.
>
> Yes. I will soon update the manual to contain
Thanks!
>> Just a suggestion!
>
> Thanks, but have you tried setting a dir-local value for
> eglot-server-programs?
I haven't, but I'm sure that would work fine. On the other hand, it
means more points of configuration (quite a few of them), and if we're
already returning a manually-constructed project, it would be nice to be
able to use that for everything necessary. Projects are so loosely
defined, it seems we could get a lot of mileage out of returning a
custom project type that held Eglot-specific configuration. I understand
you're unenthusiastic about having Eglot fool with project-related
configuration, and I understand why, but it seems like this could be a
very thin wrapper that was very Eglot-specific.
Anyway I don't need to push it. My original problem is solved, I'm glad
the documentation is being expanded, and I appreciate being able to move
to Eglot!
Thanks,
Eric
- Re: Eglot, project.el, and python virtual environments, (continued)
- Re: Eglot, project.el, and python virtual environments, Dmitry Gutov, 2022/11/20
- Re: Eglot, project.el, and python virtual environments, João Távora, 2022/11/20
- Re: Eglot, project.el, and python virtual environments, Dmitry Gutov, 2022/11/20
- Re: Eglot, project.el, and python virtual environments, João Távora, 2022/11/21
- Re: Eglot, project.el, and python virtual environments, Augusto Stoffel, 2022/11/21
- Re: Eglot, project.el, and python virtual environments, João Távora, 2022/11/20
- Re: Eglot, project.el, and python virtual environments, Eric Abrahamsen, 2022/11/21
- Re: Eglot, project.el, and python virtual environments, João Távora, 2022/11/21
- Re: Eglot, project.el, and python virtual environments, Alfred M. Szmidt, 2022/11/21
- Re: Eglot, project.el, and python virtual environments, Eli Zaretskii, 2022/11/21
- Re: Eglot, project.el, and python virtual environments,
Eric Abrahamsen <=
- Re: Eglot, project.el, and python virtual environments, Augusto Stoffel, 2022/11/21
- Re: Eglot, project.el, and python virtual environments, João Távora, 2022/11/19
- Re: Eglot, project.el, and python virtual environments, Dmitry Gutov, 2022/11/19
Re: Eglot, project.el, and python virtual environments, Philip Kaludercic, 2022/11/16
Re: Eglot, project.el, and python virtual environments, North Year, 2022/11/17
Re: Eglot, project.el, and python virtual environments, Stephen Leake, 2022/11/19