> "Stephen" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
Uwe Brauer writes:
> Hello
>
> This looks really bizarre. I have been using wdired for years. It allows
> me to edit files in dired mode on the fly.
[...]
> Only if I do not load wdired, query-replace-regexp works as expected.
So the problem is in the implementation of query-replace-regexp in
wdired. wdired isn't an XEmacs package, so we don't have the code.
Oops it
is not, it is very useful. I attach it below just in case. The
issue is there is no real definition of query-replace-regexp in that
code. The only relevant part is that
(if wdired-advise-functions
(progn
(mapcar 'wdired-add-replace-advice
'(query-replace query-replace-regexp replace-string))))
And I have set wdired-advise-functions to nil so it should not be used.
What do you expect us to do?
Try loading wdired.el, not wdired.elc, and see if debugging works or
perhaps even query-replace-regexp works.
Meanwhile I found the following solution:
;;(require 'wdired)
(define-key dired-mode-map "r" 'wdired-change-to-wdired-mode)
(autoload 'wdired-change-to-wdired-mode "wdired" nil t)
And till now query-replace-regexp is working ....
In any case here is the code:
Uwe
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta