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: C-x C-f, Tab (in)completion and visiting the wrong, new files Date: Sun, 12 Aug 2007 13:12:35 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1186949727 8661 80.91.229.12 (12 Aug 2007 20:15:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Aug 2007 20:15:27 +0000 (UTC) Cc: Development of Aquamacs Emacs , emacs- devel To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 12 22:15:25 2007 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 1IKJqN-00070J-7C for ged-emacs-devel@m.gmane.org; Sun, 12 Aug 2007 22:15:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKJqM-0001vY-Ng for ged-emacs-devel@m.gmane.org; Sun, 12 Aug 2007 16:15:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IKJpy-0001aK-KR for emacs-devel@gnu.org; Sun, 12 Aug 2007 16:14:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IKJpy-0001ZS-56 for emacs-devel@gnu.org; Sun, 12 Aug 2007 16:14:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKJpx-0001Z5-Ox for emacs-devel@gnu.org; Sun, 12 Aug 2007 16:14:57 -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 1IKJpx-0001dt-Bf for emacs-devel@gnu.org; Sun, 12 Aug 2007 16:14:57 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l7CKEc1L015656; Sun, 12 Aug 2007 15:14:38 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id l7CJBwv7019801; Sun, 12 Aug 2007 14:14:38 -0600 Original-Received: from dhcp-amer-csvpn-gw2-141-144-72-211.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3116162501186949569; Sun, 12 Aug 2007 13:12:49 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-Detected-Kernel: Linux 2.4-2.6 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:76393 Archived-At: > > However, what I think should happen in the case you mention, and what > > happens by default in Icicles, is that TAB immediately displays > > *Completions*, which lets you know that completion is > > incomplete and lets you see the matching candidate names of the > > existing files. > > That doesn't help. The "TAB RET" sequence is hit much too > quickly, as a sort of atomic entity. There's no time for a > user like me (and apparently David) to adjust things after > the TAB but before the RET. If you have a habit of hitting TAB RET, then you are, in effect, expecting TAB to complete to a complete match, so that RET will open the existing file whose name matches. With that expectation, incomplete matches throw you off. In that case, you want TAB to complete only against existing files, no? Then why not bind `file-file-existing'? That's what it's for.