Next: , Previous: , Up: Usage   [Contents][Index]

5.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. Its value changes after every call of tramp-change-syntax. However, it is not recommended to use this variable in external packages, a call of file-remote-p is much more appropriate.