Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg00689.html below:
Re: Making `eglot-server-programs' a custom variable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Brian Cully Subject: Re: Making `eglot-server-programs' a custom variable? Date: Fri, 11 Nov 2022 21:34:59 -0500
Yuri Khan <yuri.v.khan@gmail.com> writes:
> I might be using Eglot unconventionally, but this is how I do it:
>
> There are multiple projects, with their specific compiler versions and
> library dependencies. If I installed all of that directly on my
> machine, Iâd have version hell. Therefore, for each project, I build a
> docker image with all the external dependencies packed in. I mount my
> source tree into a container and invoke the build in it. Emacs, on the
> other hand, runs on the host machine. Thus, my compile-command is
> defined in .dir-locals.el and starts with âdocker run --rmâ.
This is also how I use eglot. I only do my coding inside of explicitly
versioned and reproducible containers.
FWIW, eglot natively supports Tramp, meaning it will spawn the LSP on
the remote, as long as you are also accessing those files
remotely. There's no need to change the value of âeglot-server-programsâ
in this case.
-bjc
- Re: Making `eglot-server-programs' a custom variable?, (continued)
- Re: Making `eglot-server-programs' a custom variable?, Arash Esbati, 2022/11/10
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/10
- Re: Making `eglot-server-programs' a custom variable?, João Távora, 2022/11/10
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/10
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/10
- Re: Making `eglot-server-programs' a custom variable?, João Távora, 2022/11/10
- Re: Making `eglot-server-programs' a custom variable?, Yuri Khan, 2022/11/11
- Re: Making `eglot-server-programs' a custom variable?, João Távora, 2022/11/11
- Re: Making `eglot-server-programs' a custom variable?, Brian Cully <=
- Re: Making `eglot-server-programs' a custom variable?, Michael Albinus, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/11
- Re: Making `eglot-server-programs' a custom variable?, João Távora, 2022/11/11
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/11
- Re: Making `eglot-server-programs' a custom variable?, Arash Esbati, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Arash Esbati, 2022/11/12
- Re: Making `eglot-server-programs' a custom variable?, Augusto Stoffel, 2022/11/10
- Re: Making `eglot-server-programs' a custom variable?, Arash Esbati, 2022/11/11
- Re: Making `eglot-server-programs' a custom variable?, Eli Zaretskii, 2022/11/11
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4