GNU bug report logs - #61748
27.2; Eglot should use shell-file-name when launching the language server for a remote file

Previous Next

Package: emacs;

Reported by: jeberger <at> free.fr

Date: Fri, 24 Feb 2023 07:40:01 UTC

Severity: normal

Found in version 27.2

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #119 received at 61748 <at> debbugs.gnu.org (full text, mbox):

From: jeberger <at> free.fr
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: João Távora <joaotavora <at> gmail.com>,
 61748 <at> debbugs.gnu.org
Subject: Re: bug#61748: 27.2; Eglot should use shell-file-name when
 launching the language server for a remote file
Date: Tue, 28 Feb 2023 17:41:13 +0100 (CET)
Huh, I just noticed that Emacs doesn't use my configured value for 
`tramp-remote-path`. I've set it through `customize` and it has the
correct value in `custom.el` but `C-h v` shows that it has been
reset to another value that doesn't include `tramp-own-remote-path`.

It was fine when I first set it up (in 2016 according to the `hg`
log) but it no longer is :(

The issue is not in my config, I can reproduce it with:

```
emacs -Q --eval "(custom-set-variables '(tramp-remote-path (tramp-own-remote-path tramp-default-remote-path)))" -l tramp
```

Then `C-h v` or `(customize-variable 'tramp-remote-path)` shows
that it has been reset to:

```
(tramp-default-remote-path "/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin" "/local/bin" "/local/freeware/bin" "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin" "/opt/bin" "/opt/sbin" "/opt/local/bin")
```

Other Tramp customizations (e.g. `'(tramp-verbose 10)`) work fine.

Regards,
Jérôme




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

Previous Next


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