From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: File name completion glitch Date: Sun, 15 Mar 2009 20:32:11 -0700 Message-ID: <006a01c9a5e7$cb4efe70$0200a8c0@us.oracle.com> References: <87mybodr5p.fsf@cyd.mit.edu> <87hc1vb0tb.fsf@catnip.gol.com><004b01c9a59a$04bfe000$0200a8c0@us.oracle.com> <8763ia8ep4.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237174340 29532 80.91.229.12 (16 Mar 2009 03:32:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2009 03:32:20 +0000 (UTC) Cc: emacs-devel@gnu.org, 'Miles Bader' To: "'Chong Yidong'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 16 04:33:36 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lj3a2-0004MB-7p for ged-emacs-devel@m.gmane.org; Mon, 16 Mar 2009 04:33:34 +0100 Original-Received: from localhost ([127.0.0.1]:34646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lj3Yf-0006rC-Vr for ged-emacs-devel@m.gmane.org; Sun, 15 Mar 2009 23:32:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lj3Yc-0006r0-AX for emacs-devel@gnu.org; Sun, 15 Mar 2009 23:32:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lj3YX-0006lH-V4 for emacs-devel@gnu.org; Sun, 15 Mar 2009 23:32:06 -0400 Original-Received: from [199.232.76.173] (port=40198 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lj3YX-0006lB-Nh for emacs-devel@gnu.org; Sun, 15 Mar 2009 23:32:01 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:47818) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lj3YV-0002Wb-IE; Sun, 15 Mar 2009 23:31:59 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2G3WgWi027467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 16 Mar 2009 03:32:44 GMT Original-Received: from acsmt702.oracle.com (acsmt702.oracle.com [141.146.40.80]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n2G3Vvvm020923; Mon, 16 Mar 2009 03:31:58 GMT Original-Received: from dradamslap1 (/24.4.133.20) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 16 Mar 2009 03:31:47 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <8763ia8ep4.fsf@cyd.mit.edu> Thread-Index: Acml0qgsLuguPoUCQl+J8muqyoqr7QAFEEvQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt702.oracle.com [141.146.40.80] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A0B0207.49BDC82A.0065:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109649 Archived-At: > > This denies the value of `[No match]' in letting you know that there > > is no completion with the prefix you typed. > > When point is at the end of the minibuffer text, that is > still the case. No, not if some match can be found using another match method in `completion-styles'. The new default behavior is to try partial-completion if prefix completion fails. And even with point at the end of the minibuffer, partial-completion can succeed after prefix completion fails. You never see `[No match]'; instead, your input is completed. Just do `C-x C-f a- TAB', and see if you don't see plenty of completions displayed, in spite of not having any file that starts with the prefix `a-'. You lose the advantage of `[No match]' telling you there is no (prefix) match, which often means you hit the wrong key. Again, I'm not saying that combining partial-completion with prefix completion is a bad thing. I'm saying only that this should not be the *default* behavior.