[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Buffer-local process environments
From: |
Eli Zaretskii |
Subject: |
Re: Buffer-local process environments |
Date: |
Thu, 29 Apr 2021 15:52:26 +0300 |
> From: Augusto Stoffel <arstoffel@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Thu, 29 Apr 2021 14:40:26 +0200
>
> On Thu, 29 Apr 2021 at 15:30, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > Can you explain why Eglot's way does not provide a solution for these
> > situations?
>
> Unlike, say, M-x compile with its `compilation-environment' variable,
> Eglot does not provide its own mechanism to specify the environment in
> which a language server is executed. (For the record, I think this is
> the correct thing to do.)
>
> Still, there are several options to make Eglot launch the correct
> language server: you can write a little wrapper script for language
> server, or launch Emacs from a terminal with the correct environment,
> etc, etc. But setting `process-environment' and `exec-path'
> buffer-locally is by far the most pleasant option in my opinion.
That's exactly why I asked: you said that Eglot provides the ability
to do the latter, so it sounds like the correct solution is for all
the other packages to follow Eglot's example, no?
- Buffer-local process environments, Augusto Stoffel, 2021/04/29
- Re: Buffer-local process environments, Stefan Monnier, 2021/04/29
- Re: Buffer-local process environments, Augusto Stoffel, 2021/04/29
- Re: Buffer-local process environments, Michael Albinus, 2021/04/29
- Re: Buffer-local process environments, Augusto Stoffel, 2021/04/30
- Re: Buffer-local process environments, Michael Albinus, 2021/04/30
- Re: Buffer-local process environments, Augusto Stoffel, 2021/04/30
- Re: Buffer-local process environments, Michael Albinus, 2021/04/30
- Re: Buffer-local process environments, Augusto Stoffel, 2021/04/30
- Re: Buffer-local process environments, Michael Albinus, 2021/04/30