From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: AW: Can't interrupt directory_files_internal run fromtimer-event-handler Date: Mon, 08 Aug 2005 23:27:16 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1123533180 7437 80.91.229.2 (8 Aug 2005 20:33:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2005 20:33:00 +0000 (UTC) Cc: kzeitler@lucent.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 08 22:32:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2EHe-00055t-HI for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2005 22:31:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2EKg-0005hi-07 for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2005 16:34:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E2EJT-0005Ed-JT for emacs-devel@gnu.org; Mon, 08 Aug 2005 16:33:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E2EJO-0005Br-QW for emacs-devel@gnu.org; Mon, 08 Aug 2005 16:33:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2EJO-0005B2-3A for emacs-devel@gnu.org; Mon, 08 Aug 2005 16:33:30 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E2ERI-0002UZ-OX for emacs-devel@gnu.org; Mon, 08 Aug 2005 16:41:40 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-88-205.inter.net.il [80.230.88.205]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CBL28535 (AUTH halo1); Mon, 8 Aug 2005 23:27:15 +0300 (IDT) Original-To: In-reply-to: (klaus.berndl@sdm.de) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41726 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41726 > Date: Mon, 8 Aug 2005 13:27:46 +0200 > From: > Cc: , > > > >A combination of file-attributes (looking at the number of links) and > >directory-files should do that, I think. > > Hmm, maybe i oversee something here - but when you have to call > directory-files - where is the improvement compared to the problem of > the OP? It's an improvement because (1) directory-files is a direct interface to system calls, and (2) it is more portable since it does not rely on the existence of `ls', which is only standard on Posix platforms. > `directory-files' IS the problem.... Well, I'm sorry if I missed something at the beginning of this thread, but what problem in directory-files are you talking about?