diff options
| author | Eli Zaretskii | 2008-10-12 19:54:23 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-10-12 19:54:23 +0000 |
| commit | 2d6fc764aed5baef16b2b45d7dce20be832e4d20 (patch) | |
| tree | dc3ed1e05452eb4f58d2af1790108be305d20d6a | |
| parent | d2b2930a59174f3240b07e843346dc5d8acc2d3a (diff) | |
| download | emacs-2d6fc764aed5baef16b2b45d7dce20be832e4d20.tar.gz emacs-2d6fc764aed5baef16b2b45d7dce20be832e4d20.zip | |
(Minibuffer File): Fix markup in last change. Refer to elsewhere in the manual
instead of describing yet again the intricacies of $HOME on MS-Windows and MS-DOS.
| -rw-r--r-- | doc/emacs/mini.texi | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi index 2cdc0815626..d8d18009ab5 100644 --- a/doc/emacs/mini.texi +++ b/doc/emacs/mini.texi | |||
| @@ -89,25 +89,33 @@ Find File: /u2/emacs/src//etc/termcap | |||
| 89 | @findex file-name-shadow-mode | 89 | @findex file-name-shadow-mode |
| 90 | Emacs interprets a double slash as ``ignore everything before the | 90 | Emacs interprets a double slash as ``ignore everything before the |
| 91 | second slash in the pair.'' In the example above, | 91 | second slash in the pair.'' In the example above, |
| 92 | @samp{/u2/emacs/src/} is ignored, so the argument you supplied is | 92 | @file{/u2/emacs/src/} is ignored, so the argument you supplied is |
| 93 | @file{/etc/termcap}. The ignored part of the file name is dimmed if | 93 | @file{/etc/termcap}. The ignored part of the file name is dimmed if |
| 94 | the terminal allows it (to disable this dimming, turn off File Name | 94 | the terminal allows it (to disable this dimming, turn off File Name |
| 95 | Shadow mode with the command @kbd{M-x file-name-shadow-mode}.) | 95 | Shadow mode with the command @kbd{M-x file-name-shadow-mode}.) |
| 96 | 96 | ||
| 97 | @cindex home directory shorthand | 97 | @cindex home directory shorthand |
| 98 | Emacs interprets @samp{~/} as your home directory. Thus, | 98 | Emacs interprets @file{~/} as your home directory. Thus, |
| 99 | @samp{~/foo/bar.txt} specifies a file named @samp{bar.txt}, inside a | 99 | @file{~/foo/bar.txt} specifies a file named @file{bar.txt}, inside a |
| 100 | directory named @samp{foo}, which is in turn located in your home | 100 | directory named @file{foo}, which is in turn located in your home |
| 101 | directory. In addition, @file{~@var{user-id}/} means the home | 101 | directory. In addition, @file{~@var{user-id}/} means the home |
| 102 | directory of a user whose login name is @code{user-id}. Any leading | 102 | directory of a user whose login name is @var{user-id}. Any leading |
| 103 | directory name in front of the @samp{~} is ignored: thus, | 103 | directory name in front of the @file{~} is ignored: thus, |
| 104 | @samp{/u2/emacs/~/foo/bar.txt} is equivalent to @samp{~/foo/bar.txt}. | 104 | @file{/u2/emacs/~/foo/bar.txt} is equivalent to @file{~/foo/bar.txt}. |
| 105 | 105 | ||
| 106 | On MS-Windows and MS-DOS systems, where a user doesn't have a home | 106 | On MS-Windows and MS-DOS systems, where a user doesn't always have a |
| 107 | directory, Emacs replaces @file{~/} with the value of the environment | 107 | home directory, Emacs uses several alternatives. For MS-Windows, see |
| 108 | variable @code{HOME}; see @ref{General Variables}. On these systems, | 108 | @ref{Windows HOME}; for MS-DOS, see |
| 109 | the @file{~@var{user-id}/} construct is supported only for the current | 109 | @ifnottex |
| 110 | user, i.e., only if @var{user-id} is the current user's login name. | 110 | @ref{MS-DOS File Names, HOME on MS-DOS}. |
| 111 | @end ifnottex | ||
| 112 | @iftex | ||
| 113 | @ref{MS-DOS File Names, HOME on MS-DOS,, emacs, the Emacs Manual}, in | ||
| 114 | the main Emacs manual. | ||
| 115 | @end iftex | ||
| 116 | On these systems, the @file{~@var{user-id}/} construct is supported | ||
| 117 | only for the current user, i.e., only if @var{user-id} is the current | ||
| 118 | user's login name. | ||
| 111 | 119 | ||
| 112 | @vindex insert-default-directory | 120 | @vindex insert-default-directory |
| 113 | To prevent Emacs from inserting the default directory when reading | 121 | To prevent Emacs from inserting the default directory when reading |