Re: Remote LSP unable to find texlab server
Riccardo Romoli writes: > Hi Michael, Hi Riccardo, > I tried your suggestion but nothing changed. I started a new emacs, > cleared the tramp cache but again the same issue. I attached the log > as you requested, hoping this could help. Let me know. The log looks strange. - It is incomplete. Did you really start with emacs -Q, and have sent the *whole* log? - It contains helm backtraces. This makes it harder to analyze, so pls don't use helm for the test. - It contains file notification activities. Pls don't activate them while testing. - It doesn't show any remote process invocation. Did you start the remote lsp server? - You didn't send me the steps how to produce the log. I've asked for this, in order to reproduce locally. > Best regards, Riccardo Best regards, Michael.
Remote LSP unable to find texlab server
Riccardo Romoli writes: > Hi, Hi Riccardo, in the future, pls don't use an empty Subject. I've found your message in my junk folder. > I need to setup lsp to work on LaTeX file in a remote machine. I > installed texlab both in local and in remote machine and add the path > to the remote texlab in my emacs, spacemacs, init file as follow: > > (with-eval-after-load "tramp" (add-to-list 'tramp-remote-path "~/.cargo/bin")) > (setenv "PATH" (concat (getenv "PATH") ":~/.cargo/bin/")) > (setq exec-path (append exec-path '("~/.cargo/bin/"))) > (require 'lsp-latex) > (setq lsp-latex-texlab-executable "~/.cargo/bin/") > > (with-eval-after-load "tex-mode" > (add-hook 'tex-mode-hook 'lsp) > (add-hook 'latex-mode-hook 'lsp)) > > I still get this from lsp: LSP: The following servers support current > file but do not have automatic installation: texlab-tramp. Command > "texlab" is not present on the path. > > Do you have any suggestions? Have you tried my recommendations on SX (cleaning up the Tramp cache etc)? If it still doesn't work, please start a new Emacs session like --8<---cut here---start->8--- emacs -Q -l tramp --eval '(setq tramp-verbose 6)' --8<---cut here---end--->8--- Setup your lsp environment, and rerun the test. If it fails, send the result of the Tramp debug buffer. Please report all steps you have performed after starting Emacs. I don't use lsp myself, so I need the steps to reproduce. > Best Regards > > Riccardo Best regards, Michael.
[no subject]
Hi, Mr. Michael Albinus suggest me to write to you. The original question is at StackExchange at the following link: https://emacs.stackexchange.com/q/80311/8478 I need to setup lsp to work on LaTeX file in a remote machine. I installed texlab both in local and in remote machine and add the path to the remote texlab in my emacs, spacemacs, init file as follow: (with-eval-after-load "tramp" (add-to-list 'tramp-remote-path "~/.cargo/bin")) (setenv "PATH" (concat (getenv "PATH") ":~/.cargo/bin/")) (setq exec-path (append exec-path '("~/.cargo/bin/"))) (require 'lsp-latex) (setq lsp-latex-texlab-executable "~/.cargo/bin/") (with-eval-after-load "tex-mode" (add-hook 'tex-mode-hook 'lsp) (add-hook 'latex-mode-hook 'lsp)) I still get this from lsp: LSP: The following servers support current file but do not have automatic installation: texlab-tramp. Command "texlab" is not present on the path. Do you have any suggestions? Best Regards Riccardo