Variable: tramp--startup-hook

tramp--startup-hook is a variable defined in tramp.el.gz.

Value

Large value
(#[0 "\300\301\302\"\207"
    [tramp-register-foreign-file-name-handler tramp-sudoedit-file-name-p tramp-sudoedit-file-name-handler]
    3]
 #[0 "\303\304\305B\"\210\303\306\307\310!\311Q\312	E\"\210\313\n\"\207"
    [tramp-sudoedit-method tramp-root-id-string tramp-completion-function-alist-su add-to-list tramp-methods
			   ((tramp-sudo-login
			     (("sudo")
			      ("-u" "%u")
			      ("-S")
			      ("-H")
			      ("-p" "Password:")
			      ("--")))
			    (tramp-password-previous-hop t))
			   tramp-default-user-alist "\\`" regexp-quote "\\'" nil tramp-set-completion-function]
    5]
 #[0 "\300\301\302\"\207"
    [tramp-register-foreign-file-name-handler tramp-sshfs-file-name-p tramp-sshfs-file-name-handler]
    3]
 #[0 "\303\304\305\306\307\310\311	D\312BBBBBB\"\210\303\313\314\315\"\316B\"\210\317\n\"\207"
    [tramp-sshfs-method tramp-default-remote-shell tramp-completion-function-alist-ssh add-to-list tramp-methods
			(tramp-mount-args
			 (("-C")
			  ("-p" "%p")
			  ("-o" "dir_cache=no")
			  ("-o" "transform_symlinks")
			  ("-o" "idmap=user,reconnect")))
			(tramp-login-program "ssh")
			(tramp-login-args
			 (("-q")
			  ("-l" "%u")
			  ("-p" "%p")
			  ("-e" "none")
			  ("%a" "%a")
			  ("%h")
			  ("%l")))
			(tramp-direct-async t)
			tramp-remote-shell
			((tramp-remote-shell-login
			  ("-l"))
			 (tramp-remote-shell-args
			  ("-c")))
			tramp-connection-properties format "/%s:"
			("direct-async-process" t)
			tramp-set-completion-function]
    9]
 #[0 "\300\301\302\"\207"
    [tramp-register-foreign-file-name-handler tramp-smb-file-name-p tramp-smb-file-name-handler]
    3]
 #[0 "\301\302\303\304!\305Q\306B\"\210\307\310\"\207"
    [tramp-smb-method add-to-list tramp-default-user-alist "\\`" regexp-quote "\\'"
		      (nil nil)
		      tramp-set-completion-function
		      ((tramp-parse-netrc "~/.netrc"))]
    5]
 #[0 "\301\302\303B\"\207"
    [tramp-smb-method add-to-list tramp-methods
		      ((tramp-tmpdir "/C$/Temp")
		       (tramp-case-insensitive t))]
    4]
 #[0 "\300\301\302\303#\207"
    [tramp-register-foreign-file-name-handler identity tramp-sh-file-name-handler append]
    4]
 #[0 "\306\307\"\210\306\310\"\210\306\311	\"\210\306\312	\"\210\306\313	\"\210\306\314\"\210\306\315\"\210\306\316	\"\210\306\317	\"\210\306\320\n\"\210\306\321\n\"\210\306\322\"\210\306\323\"\210\306\324\"\210\306\325\"\210\306\326\f\"\210\306\327\"\210\306\330	\"\210\306\331
\"\210\306\332	\"\210\306\333	\"\210\306\334	\"\207"
    [tramp-completion-function-alist-rsh tramp-completion-function-alist-ssh tramp-completion-function-alist-telnet tramp-completion-function-alist-su tramp-completion-function-alist-sg tramp-completion-function-alist-putty tramp-set-completion-function "rcp" "remcp" "scp" "scpx" "rsync" "rsh" "remsh" "ssh" "sshx" "telnet" "nc" "su" "sudo" "doas" "ksu" "sg" "krlogin" "plink" "plinkx" "pscp" "psftp" "fcp"]
    3]
 #[0 "\305\306\307\310\311\312D\313BBBB\"\210\305\306\314\315\316\312D\317BBBB\"\210\305\306\320\321\322\323\324\312D\325BBBBBB\"\210\305\306\326\327\330\331\312D\332BBBBB\"\210\305\306\333\334\335\336\337\312D\340BBBBBB\"\210\305\306\341\342\343\312D\344BBBB\"\210\305\306\345\346\347\312D\350BBBB\"\210\305\306\351\352\353\354\355\312D\356BBBBBB\"\210\305\306\357\360\361\362\312D\363BBBBB\"\210\305\306\364\365\366\312D\367BBBB\"\210\305\306\370\371\372\312D\373BBBB\"\210\305\306\374\375\376\312D\377BBBB\"\210\305\306\201@�\201A�\201B�\312D\201C�BBBB\"\210\305\306\201D�\201E�\201F�\312D\201G�BBBB\"\210\305\306\201H�\201I�\201J�\312D\201K�BBBB\"\210\305\306\201L�\201M�\201N�\312D\201O�BBBB\"\210\305\306\201P�\201Q�\201R�\312D\201S�BBBB\"\210\305\306\201T�\201U�\201V�\201W�\201X�\201Y�\201Z�\201[�\201\\�\201]�\201^�	\n#C\201_�BBBBBBBD\312D\201`�BBBB\"\210\305\306\201a�\201b�\201V�\201c�\201d�\201e�\201f�\201]�\201^�	\n#C\201g�BBBBBD\312D\201h�BBBB\"\210\305\306\201i�\201j�\201V�\201k�\201l�\201m�\201n�\201o�\201p�\201]�\201^�	\n#C\201q�BBBBBBBD\312D\201r�BBBB\"\210\305\306\201s�\201t�\201V�\201u�\201v�\201w�\201x�\201y�\201z�\201]�\201^�	\n#C\201{�BBBBBBBD\312D\201|�BBBB\"\210\305\306\201}�\201~�\201�\312D\201\200�BBBB\"\210\305\201\201�\201\202�\201\203�\f!\201\204�Q\201\205�BB\"\210\305\201\206�\201\207�\201\210�\fE\"\210\305\201\206�\201\211�\201\210�\201\212� E\"\207"
    [tramp-default-remote-shell tramp-terminal-type tramp-initial-end-of-output tramp-local-host-regexp tramp-root-id-string add-to-list tramp-methods "rcp"
				(tramp-login-program "rsh")
				(tramp-login-args
				 (("%h")
				  ("-l" "%u")))
				tramp-remote-shell
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c"))
				 (tramp-copy-program "rcp")
				 (tramp-copy-args
				  (("-p" "%k")
				   ("-r")))
				 (tramp-copy-keep-date t)
				 (tramp-copy-recursive t))
				"remcp"
				(tramp-login-program "remsh")
				(tramp-login-args
				 (("%h")
				  ("-l" "%u")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c"))
				 (tramp-copy-program "rcp")
				 (tramp-copy-args
				  (("-p" "%k")))
				 (tramp-copy-keep-date t))
				"scp"
				(tramp-login-program "ssh")
				(tramp-login-args
				 (("-l" "%u")
				  ("-p" "%p")
				  ("%c")
				  ("-e" "none")
				  ("%h")))
				(tramp-async-args
				 (("-q")))
				(tramp-direct-async t)
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c"))
				 (tramp-copy-program "scp")
				 (tramp-copy-args
				  (("-P" "%p")
				   ("-p" "%k")
				   ("%x")
				   ("%y")
				   ("%z")
				   ("-q")
				   ("-r")
				   ("%c")))
				 (tramp-copy-keep-date t)
				 (tramp-copy-recursive t))
				"scpx"
				(tramp-login-program "ssh")
				(tramp-login-args
				 (("-l" "%u")
				  ("-p" "%p")
				  ("%c")
				  ("-e" "none")
				  ("-t" "-t")
				  ("-o" "RemoteCommand=\"%l\"")
				  ("%h")))
				(tramp-async-args
				 (("-q")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c"))
				 (tramp-copy-program "scp")
				 (tramp-copy-args
				  (("-P" "%p")
				   ("-p" "%k")
				   ("%x")
				   ("%y")
				   ("%z")
				   ("-q")
				   ("-r")
				   ("%c")))
				 (tramp-copy-keep-date t)
				 (tramp-copy-recursive t))
				"rsync"
				(tramp-login-program "ssh")
				(tramp-login-args
				 (("-l" "%u")
				  ("-p" "%p")
				  ("%c")
				  ("-e" "none")
				  ("%h")))
				(tramp-async-args
				 (("-q")))
				(tramp-direct-async t)
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c"))
				 (tramp-copy-program "rsync")
				 (tramp-copy-args
				  (("-t" "%k")
				   ("-p")
				   ("-r")
				   ("-s")
				   ("-c")))
				 (tramp-copy-env
				  (("RSYNC_RSH")
				   ("ssh")
				   ("%c")))
				 (tramp-copy-keep-date t)
				 (tramp-copy-keep-tmpfile t)
				 (tramp-copy-recursive t))
				"rsh"
				(tramp-login-program "rsh")
				(tramp-login-args
				 (("%h")
				  ("-l" "%u")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c")))
				"remsh"
				(tramp-login-program "remsh")
				(tramp-login-args
				 (("%h")
				  ("-l" "%u")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c")))
				"ssh"
				(tramp-login-program "ssh")
				(tramp-login-args
				 (("-l" "%u")
				  ("-p" "%p")
				  ("%c")
				  ("-e" "none")
				  ("%h")))
				(tramp-async-args
				 (("-q")))
				(tramp-direct-async t)
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c")))
				"sshx"
				(tramp-login-program "ssh")
				(tramp-login-args
				 (("-l" "%u")
				  ("-p" "%p")
				  ("%c")
				  ("-e" "none")
				  ("-t" "-t")
				  ("-o" "RemoteCommand=\"%l\"")
				  ("%h")))
				(tramp-async-args
				 (("-q")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c")))
				"telnet"
				(tramp-login-program "telnet")
				(tramp-login-args
				 (("%h")
				  ("%p")
				  ("%n")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c")))
				"nc"
				(tramp-login-program "telnet")
				(tramp-login-args
				 (("%h")
				  ("%p")
				  ("%n")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c"))
				 (tramp-copy-program "nc")
				 (tramp-copy-args
				  (("-w" "1")
				   ("-v")
				   ("%h")
				   ("%r")))
				 (tramp-remote-copy-program "nc")
				 (tramp-remote-copy-args
				  (("-l")
				   ("-p" "%r")
				   ("%n"))))
				"su"
				(tramp-login-program "su")
				(tramp-login-args
				 (("-")
				  ("%u")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c"))
				 (tramp-connection-timeout 10))
				"sg"
				(tramp-login-program "sg")
				(tramp-login-args
				 (("-")
				  ("%u")))
				((tramp-remote-shell-args
				  ("-c"))
				 (tramp-connection-timeout 10))
				"sudo"
				(tramp-login-program "env")
				(tramp-login-args
				 (("SUDO_PROMPT=P\"\"a\"\"s\"\"s\"\"w\"\"o\"\"r\"\"d\"\":")
				  ("sudo")
				  ("-u" "%u")
				  ("-s")
				  ("-H")
				  ("%l")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c"))
				 (tramp-connection-timeout 10)
				 (tramp-session-timeout 300)
				 (tramp-password-previous-hop t))
				"doas"
				(tramp-login-program "doas")
				(tramp-login-args
				 (("-u" "%u")
				  ("-s")))
				((tramp-remote-shell-args
				  ("-c"))
				 (tramp-connection-timeout 10)
				 (tramp-session-timeout 300)
				 (tramp-password-previous-hop t))
				"ksu"
				(tramp-login-program "ksu")
				(tramp-login-args
				 (("%u")
				  ("-q")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c"))
				 (tramp-connection-timeout 10))
				"krlogin"
				(tramp-login-program "krlogin")
				(tramp-login-args
				 (("%h")
				  ("-l" "%u")
				  ("-x")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c")))
				"plink"
				(tramp-login-program "plink")
				tramp-login-args
				("-l" "%u")
				("-P" "%p")
				("-ssh")
				("-t")
				("%h")
				("\"")
				format "env 'TERM=%s' 'PROMPT_COMMAND=' 'PS1=%s'"
				(("%l")
				 ("\""))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c")))
				"plinkx"
				(tramp-login-program "plink")
				("-load")
				("%h")
				("-t")
				("\"")
				(("%l")
				 ("\""))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c")))
				"pscp"
				(tramp-login-program "plink")
				("-l" "%u")
				("-P" "%p")
				("-ssh")
				("-t")
				("%h")
				("\"")
				(("%l")
				 ("\""))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c"))
				 (tramp-copy-program "pscp")
				 (tramp-copy-args
				  (("-l" "%u")
				   ("-P" "%p")
				   ("-scp")
				   ("-p" "%k")
				   ("-q")
				   ("-r")))
				 (tramp-copy-keep-date t)
				 (tramp-copy-recursive t))
				"psftp"
				(tramp-login-program "plink")
				("-l" "%u")
				("-P" "%p")
				("-ssh")
				("-t")
				("%h")
				("\"")
				(("%l")
				 ("\""))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-c"))
				 (tramp-copy-program "pscp")
				 (tramp-copy-args
				  (("-l" "%u")
				   ("-P" "%p")
				   ("-sftp")
				   ("-p" "%k")
				   ("-q")))
				 (tramp-copy-keep-date t))
				"fcp"
				(tramp-login-program "fsh")
				(tramp-login-args
				 (("%h")
				  ("-l" "%u")
				  ("sh" "-i")))
				((tramp-remote-shell-login
				  ("-l"))
				 (tramp-remote-shell-args
				  ("-i")
				  ("-c"))
				 (tramp-copy-program "fcp")
				 (tramp-copy-args
				  (("-p" "%k")))
				 (tramp-copy-keep-date t))
				tramp-default-method-alist "\\`" regexp-quote "\\'"
				("su")
				tramp-default-user-alist "\\`\\(?:doas\\|ksu\\|su\\(?:do\\)?\\)\\'" nil "\\`\\(?:fcp\\|krlogin\\|nc\\|r\\(?:cp\\|emcp\\|sh\\)\\|telnet\\)\\'" user-login-name]
    15]
 #[0 "\300\301\302\"\207"
    [tramp-register-foreign-file-name-handler tramp-rclone-file-name-p tramp-rclone-file-name-handler]
    3]
 #[0 "\301\302\303B\"\210\301\304\305B\"\210\306\307\"\207"
    [tramp-rclone-method add-to-list tramp-methods
			 ((tramp-mount-args
			   ("--no-unicode-normalization" "--dir-cache-time" "0s"))
			  (tramp-copyto-args nil)
			  (tramp-moveto-args nil)
			  (tramp-about-args
			   ("--full")))
			 tramp-default-host-alist
			 (nil "")
			 tramp-set-completion-function
			 ((tramp-rclone-parse-device-names ""))]
    4]
 #[0 "\300\301\302\303B\"\207"
    [add-to-list tramp-foreign-file-name-handler-alist tramp-ftp-file-name-p tramp-ftp-file-name-handler]
    4]
 #[0 "\301\302C\"\210\301\303\304\305E\"\210\301\303\305\306E\"\210\307\310\"\207"
    [tramp-ftp-method add-to-list tramp-methods tramp-default-method-alist "\\`ftp\\." nil "\\`\\(?:anonymous\\|ftp\\)\\'" tramp-set-completion-function
		      ((tramp-parse-netrc "~/.netrc"))]
    5]
 #[0 "\306\307\310	D\311\312\n\313BD\314\nD\315BBBBB\"\210\306\307\310\fD\316\312\n\317BD\314\nD\320BBBBB\"\210\306\307
\310D\321\322\312\n\323BD\314\nD\324BBBBBB\"\210\325\326\327	!DC\"\210\325\326\327\f!DC\"\210\325
\330\"\207"
    [tramp-docker-method tramp-docker-program tramp-default-remote-shell tramp-podman-method tramp-podman-program tramp-kubernetes-method add-to-list tramp-methods tramp-login-program
			 (tramp-login-args
			  (("exec")
			   ("-it")
			   ("-u" "%u")
			   ("%h")
			   ("%l")))
			 tramp-direct-async
			 ("-c")
			 tramp-remote-shell
			 ((tramp-remote-shell-login
			   ("-l"))
			  (tramp-remote-shell-args
			   ("-i" "-c")))
			 (tramp-login-args
			  (("exec")
			   ("-it")
			   ("-u" "%u")
			   ("%h")
			   ("%l")))
			 ("-c")
			 ((tramp-remote-shell-login
			   ("-l"))
			  (tramp-remote-shell-args
			   ("-i" "-c")))
			 (tramp-login-args
			  (("exec")
			   ("%h")
			   ("-it")
			   ("--")
			   ("%l")))
			 (tramp-config-check tramp-kubernetes--current-context-data)
			 ("-c")
			 ((tramp-remote-shell-login
			   ("-l"))
			  (tramp-remote-shell-args
			   ("-i" "-c")))
			 tramp-set-completion-function tramp-container--completion-function executable-find
			 ((tramp-kubernetes--completion-function ""))
			 tramp-kubernetes-program]
    9]
 #[0 "\300\301\302\"\207"
    [tramp-register-foreign-file-name-handler tramp-adb-file-name-p tramp-adb-file-name-handler]
    3]
 #[0 "\302\303\304	D\305BB\"\210\302\306\307B\"\210\310\311\"\207"
    [tramp-adb-method tramp-adb-program add-to-list tramp-methods tramp-login-program
		      ((tramp-login-args
			(("-s" "%d")
			 ("shell")))
		       (tramp-direct-async t)
		       (tramp-tmpdir "/data/local/tmp")
		       (tramp-default-port 5555))
		      tramp-default-host-alist
		      (nil "")
		      tramp-set-completion-function
		      ((tramp-adb-parse-device-names ""))]
    5])

Documentation

Forms to be executed at the end of tramp.el.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;;;###tramp-autoload
(progn
  (defvar tramp--startup-hook nil
    "Forms to be executed at the end of tramp.el.")

  (put 'tramp--startup-hook 'tramp-suppress-trace t)

  (defmacro tramp--with-startup (&rest body)
    "Schedule BODY to be executed at the end of tramp.el."
    `(add-hook 'tramp--startup-hook (lambda () ,@body))))