[EMAIL PROTECTED] (Hans Aberg) writes: > If one, in Hugs 1.4, reads a file whose name contains spaces, by > enclosing the filename in quotes, then the quotes are being stripped off, > and the file is read correctly. However, the :e command (without an > argument) does not put those quotes back in, before handling it over to the > shell via the system() call. > > Thus, a file named "foo bar", will become two files "foo" and "bar". > > This is not good on Macintoshes, where filenams with spaces are common. Its also bad on Windows 95/NT since filenames occasionally contain spaces there too. On Windows, the correct solution is to use a string something like this: c:\emacs\emacs.exe "%s" +%d which contains quotes in the right places. This seems to work pretty well (though it's a royal pain to sneak the quotes past the quoting mechanisms used in various different shells). Can you use the same trick on the Mac? Alastair ps Thanks very much for your efforts to get/keep Hugs running on a Mac. I hope my attempts to merge your changes into Hugs didn't break too much of your code.
