Subject: bug#5478: 23.1.91; Cannot use dired with cons DIRNAME arg if include remote files

From: "Drew Adams" <[email-masked]>
Date: Tue, 26 Jan 2010 16:45:02 -0800

> The problem for a remote file name or a remote directory name 
> as one of the elements of the cons comes I think from this code
> in the definition of `insert-directory' in ls-lisp.el:
> 
> (let ((handler (find-file-name-handler (expand-file-name file)
> 					   'insert-directory))
...
>       (if handler
> 	  (funcall handler 'insert-directory file switches
> 		   wildcard full-directory-p)

The same code is in the definition of `insert-directory' that is found in
files.el, so this bug is probably not only for users of ls-lisp.el (e.g. Windows
users).