On Sun, Oct 26, 2008 at 01:19:42AM -0700, Elf wrote:
~$ touch abc\\298.test
csi> (find-files "." regular-file? (lambda (x y)(print x)
(print (file-stat (canonical-path x)))))
./abc\298.test
Error: (file-stat) cannot access file - No such file or
directory: "/home/matt/stuff/tools/lmbk/abc/298.test"
this isn't a bug; it has to handle both windows and unix paths. i can add
optional flags for specifying behaviour of slash and backslash, if desired.
It would be better to make the behaviour be system-specific, instead of
adding flags. On Windows, *always* treat slashes as backslashes. On Unix,
*only* accept slashes with no additional translation steps. (I'm not sure
Windows doesn't allow slashes in filenames, but I don't think it does)