* file-name-all-completions
@ 2003-05-28 19:48 Greg Hill
2003-05-30 0:50 ` file-name-all-completions Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Greg Hill @ 2003-05-28 19:48 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: file-name-all-completions
2003-05-28 19:48 file-name-all-completions Greg Hill
@ 2003-05-30 0:50 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2003-05-30 0:50 UTC (permalink / raw)
Cc: bug-gnu-emacs
Over the years there have been problems in using NFS from Emacs.
I don't, alas, remember what they were.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-30 0:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-28 19:48 file-name-all-completions Greg Hill
2003-05-30 0:50 ` file-name-all-completions Richard Stallman
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.