| Subject: | bug#2445: 23.0.90; file name completion GCs a lot |
|---|---|
| From: | Richard M Stallman |
| Date: | Fri, 20 Mar 2009 18:52:44 -0400 |
| Newsgroups: | gnu.emacs.bug |
> I have a feeling that (file-name-completion "" "xmail/") ought to
> first check (file-directory-p "xmail/") and return t if that does.
No: if all files in xmail/ start with "aba", then the above should
return "aba".
I am not convinced it should do that. Maybe
(file-name-completion "xmail" "") should do that,
but I tend to think that (file-name-completion "" "xmail/"), with the
empty string as file name, should not complete anything.
There is a semantic confusion going on here.
The question that (try-completion "xmail/" table) answers
is not the question that its caller wants to ask.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | bug#2730: Patch to fix "Wrong number of arguments" error in with-selected-frame in CVS Emacs, Stefan Monnier |
|---|---|
| Next by Date: | bug#2445: 23.0.90; file name completion GCs a lot, Richard M Stallman |
| Previous by Thread: | bug#2445: 23.0.90; file name completion GCs a lot, Stefan Monnier |
| Next by Thread: | bug#2445: 23.0.90; file name completion GCs a lot, Richard M Stallman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |