Function: tramp-change-syntax
tramp-change-syntax is an autoloaded, interactive and byte-compiled
function defined in tramp-cmds.el.gz.
Signature
(tramp-change-syntax &optional SYNTAX)
Documentation
Change Tramp syntax.
SYNTAX can be one of the symbols default (default),
simplified (ange-ftp like) or separate (XEmacs like).
Probably introduced at or before Emacs version 26.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-cmds.el.gz
;;;###tramp-autoload
(defun tramp-change-syntax (&optional syntax)
"Change Tramp syntax.
SYNTAX can be one of the symbols `default' (default),
`simplified' (ange-ftp like) or `separate' (XEmacs like)."
(interactive
(let ((input (completing-read
"Enter Tramp syntax: " (tramp-syntax-values) nil t
(symbol-name tramp-syntax))))
(unless (string-equal input "")
(list (intern input)))))
(when syntax
(customize-set-variable 'tramp-syntax syntax)))