1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-02 11:50:48 -08:00
emacs/lisp/net
Michael Albinus 6f649e77b8 Implement command completion in remote shells. (Bug#31704)
* doc/lispref/files.texi (Locating Files): Describe optional
argument REMOTE of `executable-find'.
(Magic File Names): Add `exec-path'.

* doc/lispref/processes.texi (Subprocess Creation): Describe
function `exec-path'.

* doc/misc/tramp.texi (Remote programs): Explain refresh of search
paths by `tramp-cleanup-this-connection'.

* etc/NEWS: Mention 'exec-path' and 'executable-find'.

* lisp/files.el (exec-path): New defun.
(executable-find): Add optional argument REMOTE.

* lisp/shell.el (shell-completion-vars): Set `comint-file-name-prefix'.
(shell--command-completion-data): Use `(exec-path)'.  (Bug#31704)

* lisp/net/ange-ftp.el (exec-path):
* lisp/net/tramp.el (tramp-file-name-for-operation):
* lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
* lisp/net/tramp-archive.el (tramp-archive-file-name-handler-alist):
* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
* lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
<exec-path>: Add handler.

* lisp/net/tramp-adb.el (tramp-adb-handle-exec-path): New defun.
(tramp-adb-maybe-open-connection): Do not set "remote-path"
connection property.

* lisp/net/tramp-compat.el (tramp-compat-exec-path): New defun.

* lisp/net/tramp-sh.el (tramp-sh-handle-exec-path): New defun.

* lisp/net/tramp.el (tramp-eshell-directory-change): Use it.

* test/lisp/net/tramp-archive-tests.el
(tramp-archive-test38-make-nearby-temp-file)
(tramp-archive-test41-file-system-info)
(tramp-archive-test43-auto-load)
(tramp-archive-test43-delay-load): Rename.

* test/lisp/net/tramp-tests.el (tramp-test34-exec-path): New test.
(tramp-test36-make-auto-save-file-name)
(tramp-test37-find-backup-file-name)
(tramp-test38-make-nearby-temp-file)
(tramp-test39-special-characters)
(tramp-test39-special-characters-with-stat)
(tramp-test39-special-characters-with-perl)
(tramp-test39-special-characters-with-ls, tramp-test40-utf8)
(tramp-test40-utf8-with-stat, tramp-test40-utf8-with-perl)
(tramp-test40-utf8-with-ls, tramp-test41-file-system-info)
(tramp-test42-asynchronous-requests, tramp-test43-auto-load)
(tramp-test43-delay-load, tramp-test43-recursive-load)
(tramp-test43-remote-load-path, tramp-test44-unload): Rename.
2018-06-20 12:13:56 +02:00
..
ange-ftp.el Implement command completion in remote shells. (Bug#31704) 2018-06-20 12:13:56 +02:00
browse-url.el Merge from origin/emacs-26 2018-05-07 07:50:49 -07:00
dbus.el Make dbus.el fitter for Emacs configured --without-dbus 2018-04-06 11:49:21 +02:00
dig.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dns.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eudc-bob.el Replace some obsolete aliases in code 2018-03-07 15:44:08 -05:00
eudc-export.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eudc-hotlist.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eudc-vars.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eudc.el * lisp/net/eudc.el (split-string): Remove pre-21 fallback definition. 2018-04-25 14:40:28 -04:00
eudcb-bbdb.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eudcb-ldap.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eudcb-mab.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eww.el Fix off-by-one history pruning (bug#31211) 2018-05-02 20:18:07 -04:00
gnutls.el gnutls.el now needs punycode 2018-04-13 16:39:17 +02:00
goto-addr.el Remove many items obsolete since Emacs 22.1 2018-03-10 19:15:56 -08:00
hmac-def.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
hmac-md5.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
imap.el Update some lisp function declarations 2018-02-26 13:35:30 -05:00
ldap.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
mailcap.el Tweak mailcap precedence so that Emacs values are heeded better 2018-04-14 14:50:14 +02:00
mairix.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
net-utils.el Remove many items obsolete since Emacs 22.1 2018-03-10 19:15:56 -08:00
netrc.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
network-stream.el Move tls.el and starttls.el to lisp/obsolete/ (Bug#31457) 2018-06-18 20:01:44 -04:00
newst-backend.el * lisp/net/newst-backend.el (newsticker--sentinel-work): 2018-04-20 13:46:45 -04:00
newst-plainview.el Remove some declare-function stub definitions 2018-03-23 16:28:24 -04:00
newst-reader.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
newst-ticker.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
newst-treeview.el Remove some declare-function stub definitions 2018-03-23 16:28:24 -04:00
newsticker.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
nsm.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ntlm.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
pop3.el Remove final uses of 'cl' in lisp/net 2018-01-23 14:42:43 -05:00
puny.el Explicitly require cl-lib where needed 2018-03-16 20:41:17 -04:00
quickurl.el Replace uses of the obsolete local-write-file-hooks 2018-03-08 20:03:13 -05:00
rcirc.el * lisp/net/rcirc.el (rcirc-prompt-start-marker): Define before using. 2018-02-26 15:41:02 -05:00
rfc2104.el Remove final uses of 'cl' in lisp/net 2018-01-23 14:42:43 -05:00
rlogin.el Fix Bug#30324 2018-02-03 11:08:33 +01:00
sasl-cram.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sasl-digest.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sasl-ntlm.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sasl-scram-rfc.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sasl.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
secrets.el Extend secrets.el by searching for object paths. 2018-05-22 11:32:33 +02:00
shr-color.el Merge from origin/emacs-26 2018-02-09 11:12:48 -08:00
shr.el Don't have shr bug out on degenerate <img> tags 2018-06-11 20:38:53 +02:00
sieve-manage.el Move tls.el and starttls.el to lisp/obsolete/ (Bug#31457) 2018-06-18 20:01:44 -04:00
sieve-mode.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sieve.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
snmp-mode.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
soap-client.el soap-client: Add byte-code compatibility function (Bug#31742) 2018-06-11 21:23:33 -04:00
soap-inspect.el soap-client: Add byte-code compatibility function (Bug#31742) 2018-06-11 21:23:33 -04:00
socks.el * lisp/net/socks.el: Use lexical-binding and process properties 2018-04-29 22:25:09 -04:00
telnet.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
tramp-adb.el Implement command completion in remote shells. (Bug#31704) 2018-06-20 12:13:56 +02:00
tramp-archive.el Implement command completion in remote shells. (Bug#31704) 2018-06-20 12:13:56 +02:00
tramp-cache.el Fix Bug#31558 2018-05-24 14:32:12 +02:00
tramp-cmds.el Let Tramp save passwords 2018-04-23 10:16:06 +02:00
tramp-compat.el Implement command completion in remote shells. (Bug#31704) 2018-06-20 12:13:56 +02:00
tramp-ftp.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
tramp-gvfs.el Implement command completion in remote shells. (Bug#31704) 2018-06-20 12:13:56 +02:00
tramp-sh.el Implement command completion in remote shells. (Bug#31704) 2018-06-20 12:13:56 +02:00
tramp-smb.el Implement command completion in remote shells. (Bug#31704) 2018-06-20 12:13:56 +02:00
tramp-uu.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
tramp.el Implement command completion in remote shells. (Bug#31704) 2018-06-20 12:13:56 +02:00
trampver.el * lisp/net/trampver.el: Simplify version check. 2018-01-25 12:44:29 +01:00
webjump.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
zeroconf.el * lisp/net/zeroconf.el (dbus-debug): Declare for builds without dbus. 2018-02-26 17:00:41 -05:00