1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
emacs/lisp/net
Jim Porter cee1cbfd54 Improve handling of $PATH in Eshell for remote directories
* lisp/eshell/esh-util.el (eshell-path-env, eshell-parse-colon-path):
Make obsolete.
(eshell-path-env-list): New variable.
(eshell-connection-default-profile): New connection-local profile.
(eshell-get-path): Reimplement using 'eshell-path-env-list'; add
LITERAL-P argument.
(eshell-set-path): New function.

* lisp/eshell/esh-var.el (eshell-variable-aliases-list): Add entry for
$PATH.
(eshell-var-initialize): Add 'eshell-path-env-list' to
'eshell-subcommand-bindings'.

* lisp/eshell/esh-ext.el (eshell-search-path): Use 'file-name-concat'
instead of 'concat'.
(eshell/addpath): Use 'eshell-get-path' and 'eshell-set-path'.

* lisp/net/tramp-integration.el: Only apply Eshell hooks when
'eshell-path-env-list' is unbound.

* test/lisp/eshell/esh-var-tests.el
(esh-var-test/path-var/local-directory)
(esh-var-test/path-var/remote-directory, esh-var-test/path-var/set)
(esh-var-test/path-var/set-locally)
(esh-var-test/path-var-preserve-across-hosts): New tests.

* test/lisp/eshell/esh-ext-tests.el: New file.

* test/lisp/eshell/eshell-tests-helpers.el
(with-temp-eshell): Set 'eshell-last-dir-ring-file-name' to nil.
(eshell-tests-remote-accessible-p, eshell-last-input)
(eshell-last-output): New functions.
(eshell-match-output, eshell-match-output--explainer): Use
'eshell-last-input' and 'eshell-last-output'.

* doc/misc/eshell.texi (Variables): Document $PATH.

* etc/NEWS: Announce this change (bug#57556).
2022-10-17 18:48:52 -07:00
..
ange-ftp.el
browse-url.el Fix browse-url-emacs for file: URLs on Windows 2022-10-13 09:52:51 +02:00
dbus.el
dictionary-connection.el
dictionary.el Signal an error in dictionary lookup if there's no word at point 2022-10-16 11:25:17 +02:00
dig.el
dns.el
eudc-bob.el
eudc-capf.el
eudc-export.el
eudc-hotlist.el
eudc-vars.el
eudc.el
eudcb-bbdb.el
eudcb-ldap.el
eudcb-mab.el
eudcb-macos-contacts.el
eww.el Simplify eww--rescale-images code 2022-09-28 13:27:05 +02:00
gnutls.el
goto-addr.el Remove redundant let-bindings of inhibit-point-motion-hooks 2022-10-07 12:16:47 -04:00
hmac-def.el
hmac-md5.el
imap.el
ldap.el ldap-host-parameters-alist: Add auth-source option 2022-09-02 00:28:00 -04:00
mailcap.el Make mailcap--regexp-quote-type more resilient 2022-10-01 16:56:19 +02:00
mairix.el
net-utils.el
network-stream.el
newst-backend.el
newst-plainview.el
newst-reader.el
newst-ticker.el
newst-treeview.el
newsticker.el
nsm.el
ntlm.el
pop3.el Add back useful information from gnus-coding.texi 2022-09-27 20:04:34 +02:00
puny.el
rcirc.el * lisp/net/rcirc.el (rcirc-bridged-nick): Inherit from highlight 2022-10-14 18:07:53 +02:00
rfc2104.el
sasl-cram.el
sasl-digest.el
sasl-ntlm.el
sasl-scram-rfc.el
sasl-scram-sha256.el
sasl.el
secrets.el
shr-color.el
shr.el Fix (thing-at-point 'url) in eww forms 2022-09-26 15:16:16 +02:00
sieve-manage.el Fix (mostly multibyte) issues in sieve-manage.el (Bug#54154) 2022-09-06 13:33:48 +02:00
sieve-mode.el Fix point movement when indenting in sieve-mode 2022-10-02 14:05:53 +02:00
sieve.el Improve robustnes of `sieve-manage-quit' in case of errors 2022-09-06 13:33:48 +02:00
snmp-mode.el
soap-client.el
soap-inspect.el
socks.el
telnet.el
tramp-adb.el Sync with Tramp 2.5.3.2. Don't merge with master 2022-09-17 17:50:38 +02:00
tramp-archive.el Decrease use of the word "Emacsen" in Tramp docs 2022-10-02 15:18:04 +02:00
tramp-cache.el Use a version for the Tramp cache 2022-10-01 17:17:39 +02:00
tramp-cmds.el Use a version for the Tramp cache 2022-10-01 17:17:39 +02:00
tramp-compat.el Add tramp-kubernetes integration 2022-10-05 03:10:06 +03:00
tramp-container.el Add tramp-kubernetes integration 2022-10-05 03:10:06 +03:00
tramp-crypt.el Improve don't save bookmark context from encrypted files 2022-09-22 13:14:46 +02:00
tramp-ftp.el Use `rx' in Tramp where possible 2022-08-26 16:19:47 +02:00
tramp-fuse.el Make use of rx in Tramp backward compatoble 2022-09-09 17:10:28 +02:00
tramp-gvfs.el Wrap max-specpdl-size with with-no-warnings in Tramp 2022-09-20 14:07:45 +02:00
tramp-integration.el Improve handling of $PATH in Eshell for remote directories 2022-10-17 18:48:52 -07:00
tramp-rclone.el Ensure, that Tramp cache works over absolute file names 2022-09-10 13:10:47 +02:00
tramp-sh.el Minor Tramp fixes 2022-10-15 18:21:13 +02:00
tramp-smb.el Decrease use of the word "Emacsen" in Tramp docs 2022-10-02 15:18:04 +02:00
tramp-sshfs.el Tramp cleanup 2022-10-01 21:56:41 +02:00
tramp-sudoedit.el Minor Tramp fixes 2022-10-15 18:21:13 +02:00
tramp-uu.el Decrease use of the word "Emacsen" in Tramp docs 2022-10-02 15:18:04 +02:00
tramp.el Fix Tramp completion on MS Windows 2022-10-10 21:46:24 +02:00
trampver.el Sync with Tramp 2.5.3.2. Don't merge with master 2022-09-17 17:50:38 +02:00
webjump.el
zeroconf.el