[Bug: 21.4.19] file-name-all-completions returns null result
Aidan Kehoe
kehoea at parhasard.net
Wed Feb 11 12:46:34 EST 2009
Ar an deichiú lá de mí Feabhra, scríobh John Rose:
> [...] File name completion is broken out of the box for NFS-mounted
> directories.
>
> Test case:
>
> ;; pick an NFS-mounted directory...
> (shell-command "ls /net/macosx/Users/jrose")
> ;; ...displays lots of files
>
> ;; but try to get completions:
> (file-name-all-completions "" "/net/macosx/Users/jrose")
> ("../" "./") ;; just the built-in defaults
>
> Using Solaris "truss", I verified that the getdents64 system call was
> returning the proper set of names to the C program. And
> file-name-all-completions is a subr. So the problem is somewhere
> below Lisp and above syscall. Could it be an Emacs config problem?
There may be some handler configured; what does
(find-file-name-handler "/net/macosx/Users/jrose"
'file-name-all-completions)
give you?
If that’s nil, then it’s a bug in our C code, as far as I can see. I’m sure
it’s reasonably easy to find; I can’t promise anything, but can you point me
towards a comparable VMWare image to your install? I’m on OS X, with VMWare
Fusion 1.1.1.
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghe, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
More information about the XEmacs-Beta
mailing list