Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
97e99cc3
Commit
97e99cc3
authored
Sep 06, 2013
by
Michael Albinus
Browse files
* tramp.texi (Alternative Syntax): Remove chapter.
parent
352d3bea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
42 deletions
+4
-42
doc/misc/ChangeLog
doc/misc/ChangeLog
+4
-0
doc/misc/tramp.texi
doc/misc/tramp.texi
+0
-42
No files found.
doc/misc/ChangeLog
View file @
97e99cc3
2013-09-06 Michael Albinus <michael.albinus@gmx.de>
* tramp.texi (Alternative Syntax): Remove chapter.
2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
* Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
...
...
doc/misc/tramp.texi
View file @
97e99cc3
...
...
@@ -225,7 +225,6 @@ Configuring @value{tramp} for use
Using @value
{
tramp
}
* Filename Syntax:: @value
{
tramp
}
filename conventions.
* Alternative Syntax:: URL-like filename syntax.
* Filename completion:: Filename completion.
* Ad-hoc multi-hops:: Declaring multiple hops in the file name.
* Remote processes:: Integration with other @value
{
emacsname
}
packages.
...
...
@@ -2356,7 +2355,6 @@ minute you have already forgotten that you hit that key!
@menu
*
Filename Syntax:: @value
{
tramp
}
filename conventions.
*
Alternative Syntax:: URL
-
like filename syntax.
*
Filename completion:: Filename completion.
*
Ad
-
hoc multi
-
hops:: Declaring multiple hops in the file name.
*
Remote processes:: Integration with other @value
{
emacsname
}
packages.
...
...
@@ -2453,46 +2451,6 @@ by adding @file{#<port>} to the host name, like in @file{@trampfn{ssh,
daniel, melancholia#
42
, .emacs
}}
.
@node Alternative Syntax
@section URL
-
like filename syntax
@cindex filename syntax
@cindex filename examples
Additionally to the syntax described in the previous chapter, it is
possible to use a URL
-
like syntax for @value
{
tramp
}
. This can be
switched on by customizing the variable @code
{
tramp
-
syntax
}
. Please
note that this feature is experimental for the time being.
The variable @code
{
tramp
-
syntax
}
must be set before requiring @value
{
tramp
}
:
@lisp
(
setq tramp
-
syntax 'url
)
(
require 'tramp
)
@end lisp
Then, a @value
{
tramp
}
filename would look like this:
@file
{
/
@var
{
method
}
:
//
@var
{
user
}
@@@var
{
machine
}
:@var
{
port
}
/
@var
{
path
/
to.file
}}
.
@file
{
/
@var
{
method
}
:
//
}
is mandatory, all other parts are optional.
@file
{
:@var
{
port
}}
is useful for methods only who support this.
The last example from the previous section would look like this:
@file
{
/
ssh:
//
daniel@@melancholia
/
.emacs
}
.
For the time being, @code
{
tramp
-
syntax
}
can have the following values:
@itemize @w
{}
@ifset emacs
@item @code
{
ftp
}
---
That is the default syntax
@item @code
{
url
}
---
URL
-
like syntax
@end ifset
@ifset xemacs
@item @code
{
sep
}
---
That is the default syntax
@item @code
{
url
}
---
URL
-
like syntax
@item @code
{
ftp
}
---
EFS
-
like syntax
@end ifset
@end itemize
@node Filename completion
@section Filename completion
@cindex filename completion
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment