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

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

bug#4341: 23.1; M-x locate runs synchronously


From: Juri Linkov
Subject: bug#4341: 23.1; M-x locate runs synchronously
Date: Thu, 10 Sep 2009 04:17:14 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

> Today I ran M-x locate.
> This took a little while -- long enough to bother me that Emacs was
> locked up for the entire time it was running.
>
> I think it would be preferable to run locate in asynchronously.

This would be possible when `locate' were more similar to `find-dired'.
I don't mean its output should be formatted as files in dired.
For that we could create a new command like `locate-dired'.
But maybe internals of `find-dired' should be generalized to
accept arbitrary commands.  This would allow implementing
`locate-dired', `rgrep-dired', `lgrep-dired', i.e. any command
that searches files with their output formatted for dired
like `find-name-dired', `find-grep-dired' and `find-dired'.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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