From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.devel Subject: Re: Making `eglot-server-programs' a custom variable? Date: Fri, 11 Nov 2022 13:22:53 +0100 Message-ID: <86leohk7du.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22669"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 Cc: arstoffel@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 11 13:24:09 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 1otT4q-0005eC-F4 for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Nov 2022 13:24:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otT49-0004vr-Uy; Fri, 11 Nov 2022 07:23:26 -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 1otT46-0004tj-AS for emacs-devel@gnu.org; Fri, 11 Nov 2022 07:23:22 -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 1otT44-0001mg-RF; Fri, 11 Nov 2022 07:23:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=SDg3PAcrj2t5aSpP4sLfSMen4epSKhwJ8sCMdzEmr54=; b=bSQJ3N59cFtSUjlcfh3W Eo7SlOsAxCOVz0yXu99QrP9OceH5IbcoWNkNAG8m3ckHCZFVx77PaX+ANEO52r4CjAt5qNVtHCb+3 18cehbbL2izkxpmOzNzb+V0NVq8VHeeOAw9tQJ1e9A38UFgSN38DEmvkcJI1tgbC8/xe4F0ImISq+ 1ed9cj02l5jxAFowfyS776gtfAbeTpmFOgzw+qtTvaHlDHWAGaXXNJujJE4RetZO9upQ1b1llFRVA 1raP4tw+cRZ9NcUlhLV+zFBzAsXgEVd9JVv8PHpBoZIfdIAIjUWfnnal3ydWvoQ1/iR3EBuCgiudC Kq+UBIx1aOJG/Q==; Original-Received: from p5b326552.dip0.t-ipconnect.de ([91.50.101.82] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otT3x-00019j-ID; Fri, 11 Nov 2022 07:23:15 -0500 In-Reply-To: <83k041puhe.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 11 Nov 2022 14:05:01 +0200") 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:299562 Archived-At: Eli Zaretskii writes: >> From: Arash Esbati >> 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