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

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

Re: patch for locate.el when called with prefix arg


From: Chong Yidong
Subject: Re: patch for locate.el when called with prefix arg
Date: Fri, 20 Apr 2007 14:56:15 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> Undo no longer works in a locate buffer.  This is a serious bug and a
> regression in Emacs 22 if it does not get fixed.  You are supposed to
> be able to do essentially everything you can do in a dired buffer
> (including undo) in a locate buffer.  That is the very purpose of
> locate-mode.

After studying the patch that introduced this, it seems to me that the
one line

  (buffer-disable-undo)

in locate.el:472 was sneaked in without further justification.

Luc, could you test if removing this line solves your problem?  Also,
could you see if the original problem addressed by this patch, i.e.

  Reverting Locate mode buffers (via locate-update) currently ignores
  filters from locate-with-filter.  It also doesn't work with uniquely
  renamed buffers, or when locate has been called non-interactively
  (e.g., from eshell/locate) and locate-history-list and
  locate-grep-history-list aren't modified.

remains solved after removing that line?





reply via email to

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