[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.5.0-pre feature/native-comp/2e25eebfbd25b131b6d0fcff4e60f7a
From: |
Michael Albinus |
Subject: |
Re: tramp (2.5.0-pre feature/native-comp/2e25eebfbd25b131b6d0fcff4e60f7a8773d912b); Tramp hangs when executive start-file-process-shell command in non-dired buffer (python-mode) |
Date: |
Tue, 02 Jun 2020 10:35:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Michael Lingelbach <m.j.lbach@gmail.com> writes:
Hi Michael,
> I'm trying to get a remote languag server running via tramp. When I
> attempt to execute any remote shell command in a dired buffer, such as:
>
> ```
> (with-current-buffer "box-physics"
> (start-file-process-shell-command "mspyls-remote" "*mspyls-remote*" "stty"
> "raw" ";" "python-language-server" "2>/tmp/mspyls-remote-16-stderr"))
> #<process mspyls-remote>
> ```
>
> The process executes.
>
> When I repeat the process in a python file:
> ```
> ELISP> (with-current-buffer "train.py"
> (start-file-process-shell-command "mspyls-remote" "*mspyls-remote*" "stty"
> "raw" ";" "python-language-server" "2>/tmp/mspyls-remote-16-stderr"))
> ```
>
> The process hangs emacs indefinitely until interrupted,returning
>
> ```
> *** Eval error *** Couldn’t find local shell prompt for /bin/sh
> ```
>
> This is reproducible with any executable (including echo). I've tried on
> linux/mac on emacs 27 and 28 (native-comp).
Please do the usual analysis. Set tramp-verbose to 6, and reevaluate the
form. There will be a buffer *debug tramp/ssh jedi*, which we will check.
Best regards, Michael.