"John J. Foerch" <[email protected]> writes: > On Mon, Dec 06, 2010 at 03:11:15PM +0800, zwz wrote: >> Another very important thing is to support "/" as path separator. In >> fact it is already supported on Windows (in cmd or explorer). But in >> Conkeror, I found I could not use it for user_pref('conkeror.rcfile', >> 'd:/emacs/home/.conkerorrc') > > > Let's bring this discussion back to reality. As I was saying, I have no > way to test any windows-specific features I write. However, if it's > important to people, I can write the feature and have the conkeror > community test it for me.
I would like to be one. :) > > I did a web search and found that "/" is an illegal filename character > in > Windows. In the expert opinion of anybody reading this message, does > that > mean we can safely do a simple substitution of "/" for "\\", and that > there are no corner cases to worry about? I guess it is my fault that I misused the term of "path separator". In fact I mean "path delimiter" or "directory separator". Anyway, what I googled is that #+BEGIN_QUOTE Actually, every version of Windows, and every version of MS-DOS from 2.0 on, has accepted "/" as a path delimiter. #+END_QUOTE Here are some links you can check: 1. http://en.wikipedia.org/wiki/Path_(computing) 2. http://bytes.com/topic/python/answers/23123-when-did-windows-start-accepting-forward-slash-path-separator 3. http://php.net/manual/en/function.basename.php So in my opinion, we should always prefer "/", and there is no need for a simple substitution of "/" for "\\". _______________________________________________ Conkeror mailing list [email protected] https://www.mozdev.org/mailman/listinfo/conkeror
