all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Tom Tromey <tromey@redhat.com>
Cc: 4341@emacsbugs.donarmstrong.com
Subject: bug#4341: 23.1; M-x locate runs synchronously
Date: Thu, 10 Sep 2009 04:17:14 +0300	[thread overview]
Message-ID: <87y6onr35h.fsf@mail.jurta.org> (raw)
In-Reply-To: <m3y6oua5cp.fsf@fleche.redhat.com> (Tom Tromey's message of "Fri,  04 Sep 2009 13:15:50 -0600")

> 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	other threads:[~2009-09-10  1:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-04 19:15 bug#4341: 23.1; M-x locate runs synchronously Tom Tromey
2009-09-10  1:17 ` Juri Linkov [this message]
2020-11-03 17:04   ` Michael Heerdegen
2020-11-03 19:45     ` Juri Linkov
2020-11-04 11:14       ` Michael Heerdegen
2020-11-08 19:47         ` Juri Linkov
2020-11-08 20:23           ` Stefan Kangas
2020-11-15 20:20             ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y6onr35h.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=4341@emacsbugs.donarmstrong.com \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.