diff options
| author | Richard M. Stallman | 2005-02-03 07:25:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-02-03 07:25:14 +0000 |
| commit | 4a10556bc2baa2b6904536f65d27d85e29b03844 (patch) | |
| tree | 56a2b384d903a1d3000cbcccc47ed92e60f3c88f | |
| parent | b027df6b5813b665a9fcdeb0d0017905daa5df4a (diff) | |
| download | emacs-4a10556bc2baa2b6904536f65d27d85e29b03844.tar.gz emacs-4a10556bc2baa2b6904536f65d27d85e29b03844.zip | |
(File Names): Clarify.
(Visiting): Update conditions for use of file dialog. Clarify.
(Saving): Doc d as answer in save-some-buffers.
(Remote Files): Clean up the text.
| -rw-r--r-- | man/files.texi | 49 |
1 files changed, 26 insertions, 23 deletions
diff --git a/man/files.texi b/man/files.texi index 2ab9d5aaaa6..df7809309e8 100644 --- a/man/files.texi +++ b/man/files.texi | |||
| @@ -120,7 +120,7 @@ is not defined). | |||
| 120 | only when done before Emacs is started. | 120 | only when done before Emacs is started. |
| 121 | 121 | ||
| 122 | @cindex home directory shorthand | 122 | @cindex home directory shorthand |
| 123 | You can use the @file{~/} in a file name to mean your home directory, | 123 | You can use @file{~/} in a file name to mean your home directory, |
| 124 | or @file{~@var{user-id}/} to mean the home directory of a user whose | 124 | or @file{~@var{user-id}/} to mean the home directory of a user whose |
| 125 | login name is @code{user-id}. (On DOS and Windows systems, where a user | 125 | login name is @code{user-id}. (On DOS and Windows systems, where a user |
| 126 | doesn't have a home directory, Emacs substitutes @file{~/} with the | 126 | doesn't have a home directory, Emacs substitutes @file{~/} with the |
| @@ -208,11 +208,13 @@ While in the minibuffer, you can abort @kbd{C-x C-f} by typing | |||
| 208 | about this, see @ref{Completion Options}. | 208 | about this, see @ref{Completion Options}. |
| 209 | 209 | ||
| 210 | @cindex file selection dialog | 210 | @cindex file selection dialog |
| 211 | When Emacs is built with a suitable GUI toolkit, it pops up the | 211 | When Emacs is built with a suitable GUI toolkit, commands invoked |
| 212 | standard File Selection dialog of that toolkit instead of prompting for | 212 | with the mouse or the menu bar use the toolkit's standard File |
| 213 | the file name in the minibuffer. On Unix and GNU/Linux platforms, Emacs | 213 | Selection dialog instead of prompting for the file name in the |
| 214 | does that when built with LessTif and Motif toolkits; on MS-Windows, the | 214 | minibuffer. On Unix and GNU/Linux platforms, Emacs does that when |
| 215 | GUI version does that by default. | 215 | built with GTK, LessTif, and Motif toolkits; on MS-Windows, the GUI |
| 216 | version does that by default. @xref{Dialog Boxes}, for info | ||
| 217 | on customization of this. | ||
| 216 | 218 | ||
| 217 | Your confirmation that @kbd{C-x C-f} has completed successfully is the | 219 | Your confirmation that @kbd{C-x C-f} has completed successfully is the |
| 218 | appearance of new text on the screen and a new buffer name in the mode | 220 | appearance of new text on the screen and a new buffer name in the mode |
| @@ -253,10 +255,10 @@ carriage-return linefeed or just carriage-return if appropriate. | |||
| 253 | @vindex find-file-run-dired | 255 | @vindex find-file-run-dired |
| 254 | If the file you specify is actually a directory, @kbd{C-x C-f} invokes | 256 | If the file you specify is actually a directory, @kbd{C-x C-f} invokes |
| 255 | Dired, the Emacs directory browser, so that you can ``edit'' the contents | 257 | Dired, the Emacs directory browser, so that you can ``edit'' the contents |
| 256 | of the directory (@pxref{Dired}). Dired is a convenient way to delete, | 258 | of the directory (@pxref{Dired}). Dired is a convenient way to view, delete, |
| 257 | look at, or operate on the files in the directory. However, if the | 259 | or operate on the files in the directory. However, if the variable |
| 258 | variable @code{find-file-run-dired} is @code{nil}, then it is an error | 260 | @code{find-file-run-dired} is @code{nil}, then it is an error to try |
| 259 | to try to visit a directory. | 261 | to visit a directory. |
| 260 | 262 | ||
| 261 | Files which are actually collections of other files, or @dfn{file | 263 | Files which are actually collections of other files, or @dfn{file |
| 262 | archives}, are visited in special modes which invoke a Dired-like | 264 | archives}, are visited in special modes which invoke a Dired-like |
| @@ -407,6 +409,9 @@ about other buffers. | |||
| 407 | View the buffer that you are currently being asked about. When you exit | 409 | View the buffer that you are currently being asked about. When you exit |
| 408 | View mode, you get back to @code{save-some-buffers}, which asks the | 410 | View mode, you get back to @code{save-some-buffers}, which asks the |
| 409 | question again. | 411 | question again. |
| 412 | @item d | ||
| 413 | Diff the buffer against its corresponding file, so you can see | ||
| 414 | what changes you would be saving. | ||
| 410 | @item C-h | 415 | @item C-h |
| 411 | Display a help message about these options. | 416 | Display a help message about these options. |
| 412 | @end table | 417 | @end table |
| @@ -3085,26 +3090,24 @@ syntax: | |||
| 3085 | @end example | 3090 | @end example |
| 3086 | 3091 | ||
| 3087 | @noindent | 3092 | @noindent |
| 3088 | When you do this, Emacs may use the FTP program to access files on the | 3093 | To carry out this request, Emacs uses either the FTP program or a |
| 3089 | remote host, or Emacs may use a remote-login program (such as | 3094 | remote-login program such as @command{ssh}, @command{rlogin}, or |
| 3090 | @command{ssh}, @command{rlogin}, or @command{telnet}) to do this. | 3095 | @command{telnet}. You can always specify in the file name which |
| 3091 | 3096 | method to use---for example, | |
| 3092 | You can always specify in the file name which method should be used to | ||
| 3093 | access the remote files, for example | ||
| 3094 | @file{/ftp:@var{user}@@@var{host}:@var{filename}} uses FTP, whereas | 3097 | @file{/ftp:@var{user}@@@var{host}:@var{filename}} uses FTP, whereas |
| 3095 | @file{/ssh:@var{user}@@@var{host}:@var{filename}} uses @command{ssh}. | 3098 | @file{/ssh:@var{user}@@@var{host}:@var{filename}} uses @command{ssh}. |
| 3096 | When you don't specify a method in the file name, Emacs determines a | 3099 | When you don't specify a method in the file name, Emacs chooses |
| 3097 | default method according to the following rules: | 3100 | the method as follows: |
| 3098 | 3101 | ||
| 3099 | @enumerate | 3102 | @enumerate |
| 3100 | @item | 3103 | @item |
| 3101 | If the host name starts with @samp{ftp.} (with dot), then Emacs assumes | 3104 | If the host name starts with @samp{ftp.} (with dot), then Emacs uses |
| 3102 | the @command{ftp} method. | 3105 | FTP. |
| 3103 | @item | 3106 | @item |
| 3104 | If the user name is @samp{ftp} or @samp{anonymous}, then Emacs assumes | 3107 | If the user name is @samp{ftp} or @samp{anonymous}, then Emacs uses |
| 3105 | the @command{ftp} method. | 3108 | FTP. |
| 3106 | @item | 3109 | @item |
| 3107 | Otherwise, Emacs assumes the @command{ssh} method. | 3110 | Otherwise, Emacs uses @command{ssh}. |
| 3108 | @end enumerate | 3111 | @end enumerate |
| 3109 | 3112 | ||
| 3110 | @noindent | 3113 | @noindent |