GNU bug report logs - #62407
30.0.50; The command to run elixir-ls on Windows is `language_server.bat`

Previous Next

Package: emacs;

Reported by: 牟 桐 <mou.tong <at> outlook.com>

Date: Thu, 23 Mar 2023 16:16:01 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 牟 桐 <mou.tong <at> outlook.com>
Subject: bug#62407: closed (Re: bug#62407: 30.0.50; The command to run
 elixir-ls on Windows is `language_server.bat`)
Date: Fri, 24 Mar 2023 18:39:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#62407: 30.0.50; The command to run elixir-ls on Windows is `language_server.bat`

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 62407 <at> debbugs.gnu.org.

-- 
62407: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62407
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: João Távora <joaotavora <at> gmail.com>
Cc: 62407-done <at> debbugs.gnu.org, mou.tong <at> outlook.com
Subject: Re: bug#62407: 30.0.50;
 The command to run elixir-ls on Windows is `language_server.bat`
Date: Fri, 24 Mar 2023 21:38:50 +0300
> From: João Távora <joaotavora <at> gmail.com>
> Date: Fri, 24 Mar 2023 15:40:24 +0000
> Cc: 牟 桐 <mou.tong <at> outlook.com>, 62407 <at> debbugs.gnu.org
> 
> On Fri, Mar 24, 2023 at 3:29 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> > > From: 牟 桐 <mou.tong <at> outlook.com>
> > > CC: "62407 <at> debbugs.gnu.org" <62407 <at> debbugs.gnu.org>
> > > Date: Fri, 24 Mar 2023 07:18:24 +0000
> > >
> > > > Btw, is language_server.bat part of that server's distribution, or did you write the batch file yourself?
> > >
> > > The former, `language_server.bat` is shipped with the distribution.
> > >
> > > > Can you see if the patch below solves your problem?
> > >
> > > It will raise an error, so I changed it like this, now it solves my problem:
> > >
> > >     ((elixir-mode elixir-ts-mode heex-ts-mode)
> > >      . ,(if (and (fboundp 'w32-shell-dos-semantics)
> > >                  (w32-shell-dos-semantics))
> > >             '("language_server.bat")
> > >           '("language_server.sh")))
> >
> > Right, sorry about that.
> >
> > João, okay to install on the master branch?
> 
> OK.

Thanks, installed, and closing the bug.

[Message part 3 (message/rfc822, inline)]
From: 牟 桐 <mou.tong <at> outlook.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 30.0.50; The command to run elixir-ls on Windows is
 `language_server.bat`
Date: Thu, 23 Mar 2023 16:14:55 +0000
[Message part 4 (text/plain, inline)]
When I try to open an elixir file with eglot on Windows, eglot will
guess that I want to execute `language_server.sh`.  But on Windows, it
should be `language_server.bat`.

After I change the command manually, everything works fine.
[Message part 5 (text/html, inline)]

This bug report was last modified 2 years and 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.