diff options
| author | Eli Zaretskii | 2015-01-31 18:32:11 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-01-31 18:32:11 +0200 |
| commit | 017a03afc92ba084898fc897c7e3dbf90197e0b6 (patch) | |
| tree | b153f6f53dc75f228b9df46e31535f46d2a8fc25 /doc | |
| parent | f3faf4f0275d7f94011464ca35d4e7a7ce49b746 (diff) | |
| download | emacs-017a03afc92ba084898fc897c7e3dbf90197e0b6.tar.gz emacs-017a03afc92ba084898fc897c7e3dbf90197e0b6.zip | |
Document MS-Windows file-name idiosyncrasies (Bug#19463)
doc/emacs/msdog.texi (Windows Files): Document characters invalid in
Windows file names.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/emacs/msdog.texi | 37 |
2 files changed, 39 insertions, 1 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 4e3c60efa03..7d8fcf4cb6d 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2015-01-31 Eli Zaretskii <eliz@gnu.org> | 1 | 2015-01-31 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * msdog.texi (Windows Files): Document characters invalid in | ||
| 4 | Windows file names. (Bug#19463) | ||
| 5 | |||
| 3 | * custom.texi (Customization Groups): Update the looks of the | 6 | * custom.texi (Customization Groups): Update the looks of the |
| 4 | Customize Group buffer. | 7 | Customize Group buffer. |
| 5 | 8 | ||
diff --git a/doc/emacs/msdog.texi b/doc/emacs/msdog.texi index bf130eba7c2..0245fed208c 100644 --- a/doc/emacs/msdog.texi +++ b/doc/emacs/msdog.texi | |||
| @@ -249,7 +249,42 @@ removable and remote volumes, where this could potentially slow down | |||
| 249 | Dired and other related features. The value of @code{nil} means never | 249 | Dired and other related features. The value of @code{nil} means never |
| 250 | issue those system calls. Non-@code{nil} values are more useful on | 250 | issue those system calls. Non-@code{nil} values are more useful on |
| 251 | NTFS volumes, which support hard links and file security, than on FAT, | 251 | NTFS volumes, which support hard links and file security, than on FAT, |
| 252 | FAT32, and XFAT volumes. | 252 | FAT32, and exFAT volumes. |
| 253 | |||
| 254 | @cindex file names, invalid characters on MS-Windows | ||
| 255 | Unlike Unix, MS-Windows file systems restrict the set of characters | ||
| 256 | that can be used in a file name. The following characters are not | ||
| 257 | allowed: | ||
| 258 | |||
| 259 | @itemize @bullet | ||
| 260 | @item | ||
| 261 | Shell redirection symbols @samp{<}, @samp{>}, and @samp{|}. | ||
| 262 | |||
| 263 | @item | ||
| 264 | Colon @samp{:} (except after the drive letter). | ||
| 265 | |||
| 266 | @item | ||
| 267 | Forward slash @samp{/} and backslash @samp{\} (except as directory | ||
| 268 | separators). | ||
| 269 | |||
| 270 | @item | ||
| 271 | Wildcard characters @samp{*} and @samp{?}. | ||
| 272 | |||
| 273 | @item | ||
| 274 | Control characters whose codepoints are 1 through 31 decimal. In | ||
| 275 | particular, newlines in file names are not allowed. | ||
| 276 | |||
| 277 | @item | ||
| 278 | The null character, whose codepoint is zero (this limitation exists on | ||
| 279 | Unix filesystems as well). | ||
| 280 | @end itemize | ||
| 281 | |||
| 282 | @noindent | ||
| 283 | In addition, referencing any file whose name matches a DOS character | ||
| 284 | device, such as @file{NUL} or @file{LPT1} or @file{PRN} or @file{CON}, | ||
| 285 | with or without any file-name extension, will always resolve to those | ||
| 286 | character devices, in any directory. Therefore, only use such file | ||
| 287 | names when you want to use the corresponding character device. | ||
| 253 | 288 | ||
| 254 | @node ls in Lisp | 289 | @node ls in Lisp |
| 255 | @section Emulation of @code{ls} on MS-Windows | 290 | @section Emulation of @code{ls} on MS-Windows |