>>>>> "Chris" == Chris Moore <[EMAIL PROTECTED]> writes:

> This seems to fix it:
> --- Backup/wdired.el.~1~      2006-02-07 05:10:38.000000000 +0100
> +++ wdired.el 2006-02-07 05:10:48.000000000 +0100
> @@ -323,8 +323,8 @@
>       (if old
>           (setq file (get-text-property beg 'old-name))
>         (setq end (next-single-property-change (1+ beg) 'end-name))
> -       (setq file (buffer-substring-no-properties (+ 2 beg) end)))
> -     (and file (setq file (wdired-normalize-filename file))))
> +       (setq file (buffer-substring-no-properties (+ 2 beg) end))
> +       (and file (setq file (wdired-normalize-filename file)))))
>        (if (or no-dir old)
>         file
>       (and file (> (length file) 0)

> Basically, we don't want to call wdired-normalize-filename if the
> filename has been pulled from a text property rather than from a
> substring of the dired buffer.

You mean we don't want to use wdired-normalize-filename on the name stored
in the `old-name' property?  Yes, that makes sense since that property's
value comes from dired-get-filename which we should assume to be correct.


        Stefan


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to