[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reverting locate buffers.
From: |
Matt Hodges |
Subject: |
Reverting locate buffers. |
Date: |
Tue, 05 Sep 2006 14:08:37 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
In GNU Emacs 22.0.50.93 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
of 2006-09-01 on escpc40
X server distributor `The X.Org Foundation', version 11.0.70000000
configured using `configure '--with-gtk''
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.
The attached patch has suggested changes to address these issues. If
suitable, a ChangeLog entry is:
2006-09-05 Matt Hodges <address@hidden>
* locate.el (locate-current-search): New variable.
(locate): Set buffer local value. Use current buffer if it is
in Locate mode.
(locate-mode): Disable undo here.
(locate-do-setup): Use locate-current-filter from buffer to be
killed.
(locate-update): Use locate-current-search and
locate-current-filter.
Thanks,
Matt
txtTwtFqyicMh.txt
Description: locate.el patch.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Reverting locate buffers.,
Matt Hodges <=