[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integ
From: |
Jim Porter |
Subject: |
bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded |
Date: |
Sat, 15 Oct 2022 16:33:44 -0700 |
On 10/15/2022 3:38 AM, Michael Albinus wrote:
Use what is offered by texinfo. Say for example
--8<---------------cut here---------------start------------->8---
the @env{PATH} environment variable
--8<---------------cut here---------------end--------------->8---
Ah ha, got it.
And in sample code, do not apply further formatting, but say it as you
mean it
--8<---------------cut here---------------start------------->8---
@samp{setq name value}
@samp{export NAME=value}
--8<---------------cut here---------------end--------------->8---
The Texinfo manual says I should wrap metasyntactic variables though[1]:
For example,
To delete file @var{filename},
type @samp{rm @var{filename}}.
produces
To delete file filename, type ‘rm filename’.
(Note that @var may appear inside @code, @samp, @file, etc.)
Otherwise, it LGTM. Somewhere there is only one space after a dot
(should be two spaces), but I didn't marked this during review, and now
I'm too lazy to look for :-)
I think I found it. Fixed.
I'd say just push it to the repo, and if there's something left to do we
can stiil do it.
There's one significant problem I noticed with patch 0002 that we should
probably fix first: 'setq-connection-local' clears all connection-local
variables for the profile that were set elsewhere. That is, this:
(with-connection-local-variables
(setq-connection-local foo "foo")
(setq-connection-local bar "bar"))
only sets 'bar' on the connection-local profile; the second
'setq-connection-local' clears 'foo'. Attached is a fix for this (I'll
fold it into patch 0002 before merging). I'm not sure if the new
'connection-local-update-profile-variables' I added is 100% perfect, but
I think it should work for more real-world situations.
[1]
https://www.gnu.org/software/texinfo/manual/texinfo/html_node/_0040var.html
connection-local-update-profile-variables.diff
Description: Text document
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, (continued)
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Jim Porter, 2022/10/08
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Michael Albinus, 2022/10/09
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Jim Porter, 2022/10/13
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Eli Zaretskii, 2022/10/13
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Jim Porter, 2022/10/13
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Eli Zaretskii, 2022/10/14
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Michael Albinus, 2022/10/14
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Michael Albinus, 2022/10/14
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Jim Porter, 2022/10/14
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Michael Albinus, 2022/10/15
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded,
Jim Porter <=
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Michael Albinus, 2022/10/16
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Jim Porter, 2022/10/16
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Richard Stallman, 2022/10/16
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Jim Porter, 2022/10/16
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Jim Porter, 2022/10/17
- bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Michael Albinus, 2022/10/10
bug#57556: 28.1; Eshell not finding executables in PATH when tramp-integration loaded, Michael Albinus, 2022/10/02