[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Directory name completion blocks when it shouldn't
From: |
Chris Moore |
Subject: |
Re: Directory name completion blocks when it shouldn't |
Date: |
Tue, 19 Dec 2006 21:16:39 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
Richard Stallman <address@hidden> 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: <address@hidden>
To: address@hidden
Subject: TRAMP: error when completing filename
without realising that this was related to the recent "Directory name
completion blocks when it shouldn't" fix.