From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Hill Newsgroups: gmane.emacs.bugs Subject: file-name-all-completions Date: Wed, 28 May 2003 12:48:28 -0700 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Trace: main.gmane.org 1054151543 23070 80.91.224.249 (28 May 2003 19:52:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 May 2003 19:52:23 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 28 21:52:22 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19L6xf-0005xf-00 for ; Wed, 28 May 2003 21:51:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19L6yZ-0002GU-OH for gnu-bug-gnu-emacs@m.gmane.org; Wed, 28 May 2003 15:52:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19L6vr-0001De-E1 for bug-gnu-emacs@gnu.org; Wed, 28 May 2003 15:49:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19L6vH-0000j9-1S for bug-gnu-emacs@gnu.org; Wed, 28 May 2003 15:49:21 -0400 Original-Received: from renfield.synergymicro.com ([153.105.4.30] helo=synergymicro.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19L6u6-0007YX-H8 for bug-gnu-emacs@gnu.org; Wed, 28 May 2003 15:48:06 -0400 Original-Received: from synergy.synergy.encinitas.ca.us ([153.105.4.29]) by synergymicro.com (8.9.3/8.9.3) with ESMTP id MAA32303 for ; Wed, 28 May 2003 12:49:29 -0700 Original-Received: from [198.17.100.22] (G_Hill_Mac [198.17.100.22]) h4SJtie9017458 for ; Wed, 28 May 2003 12:55:44 -0700 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5186 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5186 platform: GNU Emacs 21.2.2 (sparc-sun-solaris2.7, X toolkit) This is a really wierd one that I hate to report because it will probably be impossible for you to even replicate it, let alone do anything about it. I can only catch it happening once in thousands of tries. Most likely it is not even truely an "Emacs bug," because it probably originates in the operating system, and for all I know there is no way that Emacs could possibly even detect that it has happened. It might properly be called an "Emacs bug" if-and-only-if it can be shown that Emacs potentially _could_ have detected a file system error but failed to notice and report it. The platform (described above) is getting its directory data from an NSF-mounted drive. Once in a blue moon the directory listing returned by 'file-name-all-completions is incomplete. The missing file names are always from what would have been the beginning of a complete list. Below is the invocation of the function in question and the results returned as it was executed four time in succession in my *scratch* buffer. (Getting two errors in a row like that was _really_ unusual.) The first and last lists are correct. (file-name-all-completions "ecom" bom.BrdPin-dir) ("ecom-n" "ecom-m" "ecom-k" "ecom-j" "ecom-g" "ecom-f" "ecom-e" "ecom-d" "ecom-h" "ecom-c" "ecom-a") ("ecom-m" "ecom-k" "ecom-j" "ecom-g" "ecom-f" "ecom-e" "ecom-d" "ecom-h" "ecom-c" "ecom-a") ("ecom-g" "ecom-f" "ecom-e" "ecom-d" "ecom-h" "ecom-c" "ecom-a") ("ecom-n" "ecom-m" "ecom-k" "ecom-j" "ecom-g" "ecom-f" "ecom-e" "ecom-d" "ecom-h" "ecom-c" "ecom-a") I'm not expecting you to be able to solve this problem. However, I thought you might at least be interested in knowing about it, in case you can think of some way that the file system error could be detected and reported. --Greg