emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "M-x locate" regression


From: Luc Teirlinck
Subject: Re: "M-x locate" regression
Date: Sun, 6 Nov 2005 22:41:03 -0600 (CST)

Nick Roberts wrote:

   The Emacs manual says:

   >   These buffers don't work entirely like ordinary Dired buffers.  File
   > operations work, but do not always automatically update the buffer.

   Well they did with 21.3 (at least for deletion).  So I think the manual is
   documenting a regression.

For `D', it worked in 21.3 because there `dired-internal-do-deletions'
deleted the line directly in the *Locate* buffer.  In current CVS, it
calls `dired-fun-in-all-buffers', which deletes the file name in all
Dired buffers whose directory is the file's directory.  Unless the
file's directory is "/", this does not include the *Locate* buffer.

Maybe the correct solution is to use _both_ the old and the new code,
which would once again delete the deleted file's name from the
*Locate* buffer.  I may not have time to test this out until tomorrow
evening.

Sincerely,

Luc.
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]