diff options
| author | Michael Albinus | 2008-10-22 21:13:56 +0000 |
|---|---|---|
| committer | Michael Albinus | 2008-10-22 21:13:56 +0000 |
| commit | 49545fe2163cdeafb76d002da27bc3e8b2051d63 (patch) | |
| tree | ef3f0b4a87254841d73afe6b8df0306982c172b8 | |
| parent | e9e6aee8216f118576c889497a0314ecefc53022 (diff) | |
| download | emacs-49545fe2163cdeafb76d002da27bc3e8b2051d63.tar.gz emacs-49545fe2163cdeafb76d002da27bc3e8b2051d63.zip | |
* files.texi (Remote Files): Precise selection of default method.
Rewrite paragraph about disabling remote file names.
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/files.texi | 26 |
2 files changed, 19 insertions, 12 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 423fd2647d9..53e5d8339fe 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-10-22 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * files.texi (Remote Files): Precise selection of default method. | ||
| 4 | Rewrite paragraph about disabling remote file names. | ||
| 5 | |||
| 1 | 2008-10-22 Chong Yidong <cyd@stupidchicken.com> | 6 | 2008-10-22 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * search.texi (Special Isearch): Document M-TAB is isearch. | 8 | * search.texi (Special Isearch): Document M-TAB is isearch. |
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 11e0b63122c..d6024cc3d8f 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi | |||
| @@ -1908,7 +1908,7 @@ are blue, and the newest changes are red. | |||
| 1908 | When you give a prefix argument to this command, Emacs reads two | 1908 | When you give a prefix argument to this command, Emacs reads two |
| 1909 | arguments using the minibuffer: the ID of which revision to display and | 1909 | arguments using the minibuffer: the ID of which revision to display and |
| 1910 | annotate (instead of the current file contents), and the time span in | 1910 | annotate (instead of the current file contents), and the time span in |
| 1911 | days the color range should cover. | 1911 | days the color range should cover. |
| 1912 | 1912 | ||
| 1913 | From the annotate buffer, these and other color scaling options are | 1913 | From the annotate buffer, these and other color scaling options are |
| 1914 | available from the @samp{VC-Annotate} menu. In this buffer, you can | 1914 | available from the @samp{VC-Annotate} menu. In this buffer, you can |
| @@ -2231,7 +2231,7 @@ line. @kbd{o} visits that file in another window. @kbd{q} dismisses | |||
| 2231 | the directory buffer. | 2231 | the directory buffer. |
| 2232 | 2232 | ||
| 2233 | @kbd{x} toggles hiding of up-to-date files. | 2233 | @kbd{x} toggles hiding of up-to-date files. |
| 2234 | 2234 | ||
| 2235 | @kbd{m} marks the file or directory on the current line. If the | 2235 | @kbd{m} marks the file or directory on the current line. If the |
| 2236 | region is active, @kbd{m} marks all the files in the region. There | 2236 | region is active, @kbd{m} marks all the files in the region. There |
| 2237 | are some restrictions when marking: a file cannot be marked if any of | 2237 | are some restrictions when marking: a file cannot be marked if any of |
| @@ -3024,11 +3024,22 @@ FTP. | |||
| 3024 | If the user name is @samp{ftp} or @samp{anonymous}, then Emacs uses | 3024 | If the user name is @samp{ftp} or @samp{anonymous}, then Emacs uses |
| 3025 | FTP. | 3025 | FTP. |
| 3026 | @item | 3026 | @item |
| 3027 | If the variable @code{tramp-default-method} is set to @samp{ftp}, | ||
| 3028 | then Emacs uses FTP. | ||
| 3029 | @item | ||
| 3030 | If @command{ssh-agent} is running, then Emacs uses @command{scp}. | ||
| 3031 | @item | ||
| 3027 | Otherwise, Emacs uses @command{ssh}. | 3032 | Otherwise, Emacs uses @command{ssh}. |
| 3028 | @end enumerate | 3033 | @end enumerate |
| 3029 | 3034 | ||
| 3035 | @cindex disabling remote files | ||
| 3030 | @noindent | 3036 | @noindent |
| 3031 | Remote file access through FTP is handled by the Ange-FTP package, which | 3037 | You can entirely turn off the remote file name feature by setting the |
| 3038 | variable @code{tramp-mode} to @code{nil}. You can turn off the | ||
| 3039 | feature in individual cases by quoting the file name with @samp{/:} | ||
| 3040 | (@pxref{Quoted File Names}). | ||
| 3041 | |||
| 3042 | Remote file access through FTP is handled by the Ange-FTP package, which | ||
| 3032 | is documented in the following. Remote file access through the other | 3043 | is documented in the following. Remote file access through the other |
| 3033 | methods is handled by the Tramp package, which has its own manual. | 3044 | methods is handled by the Tramp package, which has its own manual. |
| 3034 | @xref{Top, The Tramp Manual,, tramp, The Tramp Manual}. | 3045 | @xref{Top, The Tramp Manual,, tramp, The Tramp Manual}. |
| @@ -3082,15 +3093,6 @@ to make remote file names work, but the procedure is complex. You can | |||
| 3082 | read the instructions by typing @kbd{M-x finder-commentary @key{RET} | 3093 | read the instructions by typing @kbd{M-x finder-commentary @key{RET} |
| 3083 | ange-ftp @key{RET}}. | 3094 | ange-ftp @key{RET}}. |
| 3084 | 3095 | ||
| 3085 | @vindex file-name-handler-alist | ||
| 3086 | @cindex disabling remote files | ||
| 3087 | You can entirely turn off the FTP file name feature by removing the | ||
| 3088 | entries @code{ange-ftp-completion-hook-function} and | ||
| 3089 | @code{ange-ftp-hook-function} from the variable | ||
| 3090 | @code{file-name-handler-alist}. You can turn off the feature in | ||
| 3091 | individual cases by quoting the file name with @samp{/:} (@pxref{Quoted | ||
| 3092 | File Names}). | ||
| 3093 | |||
| 3094 | @node Quoted File Names | 3096 | @node Quoted File Names |
| 3095 | @section Quoted File Names | 3097 | @section Quoted File Names |
| 3096 | 3098 | ||