From: Richard M Stallman <rms@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-pretest-bug@gnu.org, 2445@emacsbugs.donarmstrong.com
Subject: bug#2445: 23.0.90; file name completion GCs a lot
Date: Fri, 20 Mar 2009 18:52:44 -0400 [thread overview]
Message-ID: <E1Lkna0-0000hl-GW@fencepost.gnu.org> (raw)
In-Reply-To: <jwv3ad91c0m.fsf-monnier+emacsbugreports@gnu.org> (message from Stefan Monnier on Thu, 19 Mar 2009 16:43:14 -0400)
> 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.
next prev parent reply other threads:[~2009-03-20 22:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-23 15:02 bug#2445: 23.0.90; file name completion GCs a lot Richard M Stallman
2009-02-25 16:35 ` Stefan Monnier
2009-02-26 19:25 ` Richard M Stallman
2009-03-17 18:03 ` Stefan Monnier
2009-03-19 19:37 ` Richard M Stallman
2009-03-19 20:43 ` Stefan Monnier
2009-03-20 22:52 ` Richard M Stallman [this message]
2009-03-21 1:41 ` Stefan Monnier
2009-03-18 13:40 ` Stefan Monnier
2009-03-18 22:18 ` Richard M Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Lkna0-0000hl-GW@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=2445@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.