From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Making `eglot-server-programs' a custom variable? Date: Fri, 11 Nov 2022 14:33:01 +0200 Message-ID: <83iljlpt6q.fsf@gnu.org> References: <86fservpri.fsf@gnu.org> <831qqbtixr.fsf@gnu.org> <86edubdv64.fsf@gnu.org> <87zgcy5wjk.fsf@gmail.com> <86r0y9kdr4.fsf@gnu.org> <83k041puhe.fsf@gnu.org> <86leohk7du.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30538"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arstoffel@gmail.com, emacs-devel@gnu.org To: Arash Esbati Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 11 13:33:46 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1otTE9-0007lx-KS for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Nov 2022 13:33:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otTDT-0001Dk-Qu; Fri, 11 Nov 2022 07:33:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otTDR-00018P-Mp for emacs-devel@gnu.org; Fri, 11 Nov 2022 07:33:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otTDR-00050Y-BG; Fri, 11 Nov 2022 07:33:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=CozqBaEhkY9LeT/FSb8sh3b6CH2aS+a0waRaIJ1PJMk=; b=rs61V7EPLkeW 0vRj5Iw0n8EgboQctP745yYfiUcEC429HtBCWd7z6bAMfRfkAJzynzcnBR7hFj3HUfPnmMPtxo7tp +M70IJnRQHyyLlwMeSZ+t5Zg+C12Tacd/8RwPhDzKjqYelMdAYEl5PVyp0vP31jVSAotc0+69fRjA WZDiatKALbEmjN8ws3fBZmA/1mfa/2elwfoIraxacWGfxUJQTim5vCh0u7vCeTcNRmHk78+p550MW 1BZV47IfziNKrKY63K2ADpTG4yaYzNB7XyVMQA7JhLYdm5xdwa+EUQr3Qa8RTGi8lPGfdePxt4Ua8 o8VLX3bxSa08CFJgZDEpcg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otTDO-0003sd-OH; Fri, 11 Nov 2022 07:32:59 -0500 In-Reply-To: <86leohk7du.fsf@gnu.org> (message from Arash Esbati on Fri, 11 Nov 2022 13:22:53 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299563 Archived-At: > From: Arash Esbati > Cc: arstoffel@gmail.com, emacs-devel@gnu.org > Date: Fri, 11 Nov 2022 13:22:53 +0100 > > >> 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. Why are using an MSYS2 build of Git, when a native Windows build exists and is fully functional? > >> 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" "$@" So which of the files/directories involved is the one that "the system cannot find"? That message comes from cmd.exe, AFAIK. Maybe it's LUA_PATH, because Windows doesn't allow question marks in file names.