Kevin Ryde <[email protected]> writes:

> I suppose the right thing would be if find-file didn't look at the
> remote identifier part when considering whether there's wildcards, thus
> allowing any chars at all there.  So where it has
>
>     (string-match "[[*?]" filename)
>
> instead perhaps something like, completely untested,
>
>     (defun file-name-wildcards-p (filename)
>       (string-match "[[*?]" filename
>                     (length (or (file-remote-p filename)
>                                 "")))))
>
> but probably with a check that the file-remote-p return is indeed a
> prefix of the filename, if that's not quite mandatory.

Maybe. But this special Tramp syntax is very uncommon in GNU Emacs; I
doubt that such a change will find its way into Emacs.

Best regards, Michael.


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to