Hi XEmacs team,
I am using
XEmacs 21.4 (patch 13) "Rational FORTRAN" [Lucid] (i586-pc-win32) of Sun May 25 2003 on TSUNAMI
and found that `dired-do-rename-regexp' strips all backslashes from my
path-names. I think that in `dired-mark-read-regexp', the path
returned by `dired-dwim-target-directory' should be
`regexp-quote'd. See attached patch (which might not at all be
appropriate but illustrates my point).
Best regards,
Marcus
--- e:\XEmacs\xemacs-packages\lisp\dired\dired-rgxp.el~ 2005-07-29 12:55:40.478623000 +0200
+++ e:\XEmacs\xemacs-packages\lisp\dired\dired-rgxp.el 2005-09-09 13:28:15.953289200 +0200
@@ -89,7 +89,7 @@
(newname
(read-string
(concat (if whole-path "Path " "") operation " " regexp " to: ")
- (and (not whole-path) (dired-dwim-target-directory)))))
+ (and (not whole-path) (regexp-quote (dired-dwim-target-directory))))))
(list regexp newname arg whole-path)))
;;; Marking file names matching a regexp.