aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2015-01-31 18:32:11 +0200
committerEli Zaretskii2015-01-31 18:32:11 +0200
commit017a03afc92ba084898fc897c7e3dbf90197e0b6 (patch)
treeb153f6f53dc75f228b9df46e31535f46d2a8fc25 /doc
parentf3faf4f0275d7f94011464ca35d4e7a7ce49b746 (diff)
downloademacs-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/ChangeLog3
-rw-r--r--doc/emacs/msdog.texi37
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 @@
12015-01-31 Eli Zaretskii <eliz@gnu.org> 12015-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
249Dired and other related features. The value of @code{nil} means never 249Dired and other related features. The value of @code{nil} means never
250issue those system calls. Non-@code{nil} values are more useful on 250issue those system calls. Non-@code{nil} values are more useful on
251NTFS volumes, which support hard links and file security, than on FAT, 251NTFS volumes, which support hard links and file security, than on FAT,
252FAT32, and XFAT volumes. 252FAT32, 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
256that can be used in a file name. The following characters are not
257allowed:
258
259@itemize @bullet
260@item
261Shell redirection symbols @samp{<}, @samp{>}, and @samp{|}.
262
263@item
264Colon @samp{:} (except after the drive letter).
265
266@item
267Forward slash @samp{/} and backslash @samp{\} (except as directory
268separators).
269
270@item
271Wildcard characters @samp{*} and @samp{?}.
272
273@item
274Control characters whose codepoints are 1 through 31 decimal. In
275particular, newlines in file names are not allowed.
276
277@item
278The null character, whose codepoint is zero (this limitation exists on
279Unix filesystems as well).
280@end itemize
281
282@noindent
283In addition, referencing any file whose name matches a DOS character
284device, such as @file{NUL} or @file{LPT1} or @file{PRN} or @file{CON},
285with or without any file-name extension, will always resolve to those
286character devices, in any directory. Therefore, only use such file
287names 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