The following small patch to dired.el seems to fix both the locate and
the find{-grep}-dired problems you reported.  I will still do some
further checking.  Maybe there are better solutions than the one below
(but the one below does seem to work).

===File ~/dired.el-diff=====================================
*** dired.el    23 Oct 2005 10:06:08 -0500      1.329
--- dired.el    06 Nov 2005 22:29:27 -0600      
***************
*** 2403,2408 ****
--- 2403,2410 ----
                      ;; if we get here, removing worked
                      (setq succ (1+ succ))
                      (message "%s of %s deletions" succ count)
+                     (delete-region (progn (beginning-of-line) (point))
+                                    (progn (forward-line 1) (point)))
                      (dired-fun-in-all-buffers
                       (file-name-directory fn) (file-name-nondirectory fn)
                       (function dired-delete-entry) fn))
============================================================


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to