From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#15735: 24.3.50; `find-library' completion bug Date: Mon, 28 Oct 2013 21:25:01 -0400 Message-ID: References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383009978 7934 80.91.229.3 (29 Oct 2013 01:26:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2013 01:26:18 +0000 (UTC) Cc: 15735@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 29 02:26:22 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vay4Z-00071C-QG for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Oct 2013 02:26:19 +0100 Original-Received: from localhost ([::1]:43810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vay4Z-0006FW-D8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2013 21:26:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vay4P-0006EN-Kt for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 21:26:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vay4I-0005E8-Ax for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 21:26:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vay4I-0005E3-78 for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 21:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vay4H-0004rV-Ry for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2013 21:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Oct 2013 01:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.138300991218622 (code B ref 15735); Tue, 29 Oct 2013 01:26:01 +0000 Original-Received: (at 15735) by debbugs.gnu.org; 29 Oct 2013 01:25:12 +0000 Original-Received: from localhost ([127.0.0.1]:50245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vay3T-0004qF-9Q for submit@debbugs.gnu.org; Mon, 28 Oct 2013 21:25:11 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:54567) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vay3P-0004pw-HJ; Mon, 28 Oct 2013 21:25:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFsoXfp/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av8EABK/CFFsoXfp/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="36558126" Original-Received: from 108-161-119-233.dsl.teksavvy.com (HELO pastel.home) ([108.161.119.233]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 28 Oct 2013 21:25:01 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 607C760020; Mon, 28 Oct 2013 21:25:01 -0400 (EDT) In-Reply-To: <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> (Drew Adams's message of "Mon, 28 Oct 2013 08:06:01 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79736 Archived-At: retitle 15735 locate-file-completion-table should not accept incomplete input thanks > It would make more sense to me if RET at this point did what I > expected a second TAB to do: tell you there are no completions > (beyond the directory name), but not exit the minibuffer. Yes, that makes sense. Indeed, there's a problem in the completion system: we don't distinguish between a valid input and a completion candidate. "ess-5.3.10/" is a valid completion candidate, but is not a valid input. IIRC there are cases where the completion primitives make it difficult to enforce this distinction (e.g. when we provide a predicate, where it can be OK to ignore the predicate on intermediate completions like "ess-5.3.10/"), but in the case of load-library's completion, it should be fixable without too much trouble. Stefan