Richard Stallman <[EMAIL PROTECTED]> writes:
> Is it feasible to fix read-file-name to obey the predicate
> in the completion case? It could be that the reason it doesn't
> do so was the difficulty of implementing that case efficiently.
>
> Since no one else seemed interested in this, I did it.
I think you've introduced a new bug -
lisp/net/ange-ftp.el.gz line 3980:
(defun ange-ftp-file-name-completion (file dir)
is being called like:
(ange-ftp-file-name-completion "" "/a:/" 'file-exists-p)
and
lisp/net/tramp.el.gz line 2859:
(defun tramp-handle-file-name-completion (filename directory)
is being called like:
(tramp-handle-file-name-completion "" "/a:/" 'file-exists-p)
in both cases the functions expect 2 arguments, and they're being
passed 3.
I reported this earlier today:
Message-Id: <[EMAIL PROTECTED]>
To: [email protected]
Subject: TRAMP: error when completing filename
without realising that this was related to the recent "Directory name
completion blocks when it shouldn't" fix.
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug