From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: ido.el: swallowing superfluous RET key Date: 11 Apr 2004 00:17:40 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1081628484 8554 80.91.224.253 (10 Apr 2004 20:21:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2004 20:21:24 +0000 (UTC) Cc: Emacs Developement List Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Apr 10 22:21:17 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BCOyb-0000u8-00 for ; Sat, 10 Apr 2004 22:21:17 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BCOyb-0002Hs-00 for ; Sat, 10 Apr 2004 22:21:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BCOxC-0007oG-TF for emacs-devel@quimby.gnus.org; Sat, 10 Apr 2004 16:19:50 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BCOwW-0007BL-Tm for emacs-devel@gnu.org; Sat, 10 Apr 2004 16:19:08 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BCOvi-00063O-CM for emacs-devel@gnu.org; Sat, 10 Apr 2004 16:18:53 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BCOvg-0005jM-VD for emacs-devel@gnu.org; Sat, 10 Apr 2004 16:18:17 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by mx20.gnu.org with esmtp (Exim 4.30) id 1BCOvP-0001Ey-29 for emacs-devel@gnu.org; Sat, 10 Apr 2004 16:17:59 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id C648926284B; Sat, 10 Apr 2004 22:17:57 +0200 (CEST) Original-To: Karl Chen In-Reply-To: Original-Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21451 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21451 Karl Chen writes: > The behavior for finding files/buffers on TAB without requiring > RET is nice, but I still press RET out of habit, or because I > expect it to be the fist but not unique match. > > I've been using the advice code below to swallow unnecessary RETs; > this code could be useful if built-in to ido.el (maybe default off). > Well, this is a useful hack for you, but IMHO a little obscure to add in general. Instead, it would seem more logical to have an option to always reqiure RET after TAB (which is the effect of the other patch you sent). -- Kim F. Storm http://www.cua.dk