From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: completion problem with read-file-name Date: Mon, 9 Jul 2007 13:32:23 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184013264 21244 80.91.229.12 (9 Jul 2007 20:34:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Jul 2007 20:34:24 +0000 (UTC) To: "Bug-Gnu-Emacs" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 09 22:34:22 2007 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 1I7zw3-0000GE-9E for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jul 2007 22:34:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7zw2-000757-Sg for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jul 2007 16:34:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I7zvz-00074t-KI for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2007 16:34:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I7zvy-00074V-ME for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2007 16:34:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7zvy-00074O-Hv for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2007 16:34:14 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I7zvy-0003aB-Ak for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2007 16:34:14 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l69KYBG7025291 for ; Mon, 9 Jul 2007 15:34:11 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l69HmDG6026650 for ; Mon, 9 Jul 2007 14:34:10 -0600 Original-Received: from dhcp-4op11-4op12-west-130-35-178-179.us.oracle.com by acsmt350.oracle.com with ESMTP id 3023454341184013144; Mon, 09 Jul 2007 13:32:24 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: Linux 2.4-2.6 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:16115 Archived-At: emacs -Q Create files qqq.el and qq-xxx-q.el in the same directory. Visit Dired there. C-x C-f qqq.el TAB, then C-b C-b C-b C-b, then type -xxx TAB. The minibuffer input is completed to qq-xxx-q.elq.el (with the cursor on the last `q'). In previous versions of Emacs, completion used the entire minibuffer input, not just the part before the cursor. I don't know if this change is considered a feature, but it seems like a bug to me. To me, the old behavior makes sense: all of your input is tested by completion, not just the part before point. In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'