"Steven E. Harris" <seh(a)speakeasy.org> writes:
Following up on my previous bug report, attached please find a small
patch to nnheader.el to allow a Cygwin XEmacs to use the Windows-style
`file-name-(non)?directory' splitting in the function
`nnheader-translate-file-chars'.
I also used this bit of code in my initialization file to restore '+'
as a valid path character in Windows (initially set in gnus-ems.el):
,----
| (eval-and-compile
| (let ((case-fold-search t))
| (cond
| ((string-match "windows-nt\\|cygwin32"
| (symbol-name system-type))
| (setq nnheader-file-name-translation-alist
| (del-alist ?+ nnheader-file-name-translation-alist))))))
`----
It may be the case that '+' is not a valid path character on OS/2 or
EMX, but '+' *is* valid in Windows NT (and Cygwin). Perhaps
gnus-ems.el should change to be more precise about when it forbids
'+' in path names.
Thanks for your patch. I've installed it.
ShengHuo