Next: , Previous: File name syntax, Up: Usage

6.2 Alternative file name syntax

The syntax described in File name syntax is the default syntax, which is active after Emacs startup. However, this can be changed.

— Command: tramp-change-syntax syntax

This command changes the syntax Tramp uses for remote file names. Beside the default value, syntax can be

— Variable: tramp-file-name-regexp

This variable keeps a regexp which matches the selected remote file name syntax. However, it is not recommended to use this variable in external packages, a call of file-remote-p is much more appropriate.