emacs-devel
[Top][All Lists]
Advanced

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

Re: Making `eglot-server-programs' a custom variable?


From: Arash Esbati
Subject: Re: Making `eglot-server-programs' a custom variable?
Date: Fri, 11 Nov 2022 13:22:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Arash Esbati <arash@gnu.org>
>> Cc: emacs-devel@gnu.org
>> Date: Fri, 11 Nov 2022 11:05:19 +0100
>> 
>> This is what I get in a ming64 shell:
>> 
>> --8<---------------cut here---------------start------------->8---
>> Digestif not found in /z/myhome/.digestif, fetching it now
>> Cloning into '/z/myhome/.digestif'...
>
> This sounds like some MSYS2 executable is involved, which might get
> you in trouble due to different file-name syntax and other
> incompatibilities between MSYS2 and native Windows programs.

This part comes from git which is indeed a MSYS2 executable and
actually succeeds (see below) and the repo is cloned to my HD.

>> remote: Enumerating objects: 70, done.
>> remote: Counting objects: 100% (70/70), done.
>> remote: Compressing objects: 100% (68/68), done.
>> remote: Total 70 (delta 2), reused 20 (delta 0), pack-reused 0
>> Receiving objects: 100% (70/70), 644.32 KiB | 3.95 MiB/s, done.
>> Resolving deltas: 100% (2/2), done.
>> Done! If you are running this interactively, press Control-C to quit.
>> The system cannot find the specified path.
>> The system cannot find the specified path.
>
> Which program this tries to invoke and with what command-line
> arguments?

This is lua.exe which is installed as mingw-w64-x86_64-lua:

-> which lua
/mingw64/bin/lua

The installation script is here:
https://raw.githubusercontent.com/astoff/digestif/master/scripts/digestif

The problematic part can be condensed to this I think:

DIGESTIF_HOME="$HOME/.digestif"
LUA=lua

export LUA_PATH="$DIGESTIF_HOME/?.lua"
export DIGESTIF_PRERELEASE="$(git -C "$DIGESTIF_HOME" rev-parse --short HEAD)"

"$LUA" "$DIGESTIF_HOME/bin/digestif" "$@"

Best, Arash



reply via email to

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