emacs/doc/misc
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
..
auth.texi auth-source: Fix wrong-type-argument when searching secret services 2022-08-22 16:56:57 +02:00
autotype.texi Make quickurl.el obsolete (part 2/2) 2022-07-28 12:47:55 +02:00
bovine.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
calc.texi Abolish max-specpdl-size (bug#57911) 2022-09-19 19:30:03 +02:00
cc-mode.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
ChangeLog.1 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl.texi Move generalized variable `substring' doc to elisp manual 2022-08-23 20:28:25 +02:00
dbus.texi Remove mentions of GNOME MediaKeys from dbus documentation examples 2022-06-07 15:44:05 +08:00
dired-x.texi Move dired-guess commands from dired-x to dired 2022-08-17 16:21:09 +02:00
doclicense.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
ebrowse.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ede.texi * doc/misc/ede.texi (Extending EDE): Fix reference. 2022-09-20 20:35:46 +02:00
ediff.texi Make some versions in docs match package version 2022-09-03 01:14:12 +02:00
edt.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
efaq-w32.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
efaq.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
eieio.texi * doc/misc/eieio.texi (Introduction, Generics): Remove outdated limits 2022-09-19 07:39:29 -04:00
emacs-gnutls.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacs-mime.texi Don't advertise obsolete library html2text.el 2022-08-14 23:46:33 +02:00
epa.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
erc.texi * doc/misc/erc.texi (Connecting): Fix typo. 2022-07-01 19:17:56 +02:00
ert.texi Improve ert-test-erts-file documentation 2022-07-09 11:47:52 +02:00
eshell.texi Improve handling of $PATH in Eshell for remote directories 2022-10-17 18:48:52 -07:00
eudc.texi * eudc.texi: Unquote setopt option names 2022-07-19 11:05:52 -04:00
eww.texi Merge from origin/emacs-28 2022-06-21 06:30:25 +02:00
flymake.texi Make a flymake.texi code example more resilient 2022-09-10 06:52:39 +02:00
forms.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gnus-faq.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
gnus.texi Update version information in Gnus manual 2022-10-17 20:13:22 +02:00
gpl.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
htmlfontify.texi Merge from origin/emacs-28 2022-08-23 06:30:36 +02:00
idlwave.texi Merge from origin/emacs-28 2022-09-08 23:35:04 +02:00
ido.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
info.texi Allow searching for regexps with a prefix 2022-04-21 17:05:23 +02:00
mairix-el.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
Makefile.in Speed up Org to Texinfo generation 2022-06-16 11:06:29 +03:00
message.texi Advertise obsolete library pgg.el less 2022-08-16 15:29:30 +02:00
mh-e.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
modus-themes.org Update to Modus themes stable version 2.7.0 2022-10-01 10:57:59 +03:00
newsticker.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
nxml-mode.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
octave-mode.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
org-setup.org ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org.org ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
pcl-cvs.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
pgg.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
rcirc.texi ; * doc/misc/rcirc.texi: Prefer 'setopt' over 'setq' 2022-09-20 19:25:39 +02:00
reftex.texi Don't mention very old Emacs versions in docs 2022-09-06 14:08:27 +02:00
remember.texi ; Delete commented out reference to ancient org-mode 2022-10-15 13:06:45 +02:00
sasl.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sc.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sem-user.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
semantic.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
ses.texi SES with case insensitive cell names for jumping. 2022-04-04 19:42:07 +02:00
sieve.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
smtpmail.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
speedbar.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
srecode.texi Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
texinfo.tex Update from Gnulib by running admin/merge-gnulib 2022-09-28 00:37:12 -07:00
todo-mode.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tramp.texi Adapt Tramp manual 2022-10-05 17:11:33 +02:00
trampver.texi Sync with Tramp 2.5.3.2. Don't merge with master 2022-09-17 17:50:38 +02:00
transient.texi * doc/misc/transient.texi: Update to transient v0.3.7-156-ga5562cb 2022-08-06 16:03:51 +02:00
url.texi Make "rlogin" method obsolete in url*.el 2022-09-03 07:23:08 +02:00
vhdl-mode.texi ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
vip.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
viper.texi Merge from origin/emacs-28 2022-09-08 23:35:04 +02:00
vtable.texi * doc/misc/vtable.texi (Commands): Fix typo. (Bug#56899) 2022-08-03 01:20:51 +02:00
widget.texi Revert "Decrease use of the word "Emacsen" in docs" 2022-10-01 22:34:47 +02:00
wisent.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
woman.texi ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00