all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jostein Kjønigsen" <jostein@secure.kjonigsen.net>
To: THall <graydonhall@riseup.net>,
	"Ergus via Emacs development discussions." <emacs-devel@gnu.org>
Subject: Re: emacs-29: error creating external process - (permission-denied "Doing vfork" "Permission denied")
Date: Fri, 9 Dec 2022 22:27:50 +0100	[thread overview]
Message-ID: <10dd0460-2e28-5f59-ea16-5350ea3b2660@secure.kjonigsen.net> (raw)
In-Reply-To: <193feaf6-286d-64f5-a4ae-a5214ce51698@secure.kjonigsen.net>

On 09.12.2022 19:03, Jostein Kjønigsen wrote:
> I've been testing a little more and this is clearly something which 
> happens with a very specific set of launch parameters.
>
> Case in point: lsp-mode works fine for all other language-protocol 
> server I use. Only omnisharp fails. But if I try to use omnisharp via 
> eglot, then it launches fine.
>
> That is, so far this is the only code I know which can reproduce this 
> error:
>
> https://github.com/emacs-lsp/lsp-mode/blob/e56da7199c09e44f4b5feaf07691d467c01da376/clients/lsp-csharp.el#L335-L362 
>
>
> -- 
> Jostein
>
I've just tested moving my setup to eglot, and ran into issues getting 
typescript-language-server working, but it complained about not being 
able to find tsserver.

As a means to try to resolve those, I created a shell-script in 
$HOME/bin, which looks pretty much like this:

#!/bin/sh
cd server-dir
./typescript-language-server $*

When launching eglot and using this as a language-server instead, I get 
the same error. Activating edbug-on-error does not trigger the emacs 
debugger, but still fails the same way.


--
Jostein




  reply	other threads:[~2022-12-09 21:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f41f3806-1d3b-fbd4-2e2c-905ffe62e2e5@riseup.net>
2022-12-09 18:03 ` emacs-29: error creating external process - (permission-denied "Doing vfork" "Permission denied") Jostein Kjønigsen
2022-12-09 21:27   ` Jostein Kjønigsen [this message]
2022-12-16 22:24     ` Jostein Kjønigsen
2022-12-08 13:46 Jostein Kjønigsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10dd0460-2e28-5f59-ea16-5350ea3b2660@secure.kjonigsen.net \
    --to=jostein@secure.kjonigsen.net \
    --cc=emacs-devel@gnu.org \
    --cc=graydonhall@riseup.net \
    --cc=jostein@kjonigsen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.