all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: kzeitler@lucent.com, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Can't interrupt directory_files_internal run from timer-event-handler
Date: Tue, 09 Aug 2005 19:15:12 -0400	[thread overview]
Message-ID: <m1slxiaelg.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <ufytn364b.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 06 Aug 2005 09:57:08 +0300")

> There's no need to run any program just to know if a directory is
> empty.  Emacs has primitives which will tell that directly (e.g.,
> file-attributes) and do that faster.

If directory-files blocks (on a failed NFS server), file-attributes is
pretty likely to block just as well, in which case `ls' may be a good way to
do the equivalent of running directory-files asynchronously.


        Stefan

  parent reply	other threads:[~2005-08-09 23:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-05  9:03 Can't interrupt directory_files_internal run from timer-event-handler Klaus Zeitler
2005-08-05 20:38 ` Richard M. Stallman
2005-08-06  6:57   ` Eli Zaretskii
2005-08-07 17:15     ` Richard M. Stallman
2005-08-07 18:15       ` Eli Zaretskii
2005-08-08  8:44         ` Johan Vromans
2005-08-08 14:32           ` Johan Vromans
2005-08-09  0:27         ` Richard M. Stallman
2005-08-14 20:13           ` Sascha Wilde
2005-08-15 16:04             ` Richard M. Stallman
2005-08-09 23:15     ` Stefan Monnier [this message]
2005-08-09 23:07   ` Stefan Monnier

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=m1slxiaelg.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=kzeitler@lucent.com \
    --cc=rms@gnu.org \
    /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.