From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2445: 23.0.90; file name completion GCs a lot Date: Fri, 20 Mar 2009 18:52:44 -0400 Message-ID: References: Reply-To: rms@gnu.org, 2445@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1237590379 21772 80.91.229.12 (20 Mar 2009 23:06:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2009 23:06:19 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 2445@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 21 00:07:36 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lkno1-0002El-QW for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Mar 2009 00:07:14 +0100 Original-Received: from localhost ([127.0.0.1]:33390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lknmf-0006rl-0n for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 19:05:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lknkm-0005kL-7F for bug-gnu-emacs@gnu.org; Fri, 20 Mar 2009 19:03:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lknkh-0005iV-6g for bug-gnu-emacs@gnu.org; Fri, 20 Mar 2009 19:03:51 -0400 Original-Received: from [199.232.76.173] (port=50517 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lknkg-0005iQ-W9 for bug-gnu-emacs@gnu.org; Fri, 20 Mar 2009 19:03:47 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42594) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lknkf-0006UP-Sh for bug-gnu-emacs@gnu.org; Fri, 20 Mar 2009 19:03:46 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2KN3h3l003713; Fri, 20 Mar 2009 16:03:43 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2KN031A002595; Fri, 20 Mar 2009 16:00:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Richard M Stallman Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 20 Mar 2009 23:00:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2445 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12375896031157 (code B ref -1); Fri, 20 Mar 2009 23:00:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 20 Mar 2009 22:53:23 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2KMqjNo001139; Fri, 20 Mar 2009 15:52:46 -0700 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Lkna0-0000hl-GW; Fri, 20 Mar 2009 18:52:44 -0400 In-reply-to: (message from Stefan Monnier on Thu, 19 Mar 2009 16:43:14 -0400) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 20 Mar 2009 19:03:51 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26517 gmane.emacs.pretest.bugs:24162 Archived-At: > 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.