filename bug

Stephen J. Turnbull stephen at xemacs.org
Fri Nov 27 11:55:26 EST 2009


Jonathan Miller writes:

 > xemacs 21.5 (beta 29) "garbanzo" on fedora 11 linux will let you create
 > a file with an embedded newline in the name.

That's not a bug, that's a feature.  A Unix filename is a sequence of
non-NUL bytes terminated by a NUL byte.  You can do the same thing at
the command line, at least with zsh, but I imagine bash or dash or csh
would work too.  Type "touch 'new^V^Jline'", then RET.  Now do "echo
n*e".  The inner quotes are needed, or the shell will interpret the
newline as either a word separator or the end of command.

 > This causes trouble at various spots, probably most due to dired
 > mode displays not being as expected.

That's a bug.  Please report bugs against dired using M-x
dired-report-bug.  You can use "C-h a <pkgname>.*bug" to identify
possible bug reporters against other packages.  Failing that, use M-x
report-xemacs-bug, and also for bugs in the core distribution.



More information about the XEmacs-Beta mailing list