From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Use ido for *all* completion? Date: Tue, 8 Mar 2005 17:43:56 -0800 Message-ID: References: <87oedtr5xx.fsf@ID-87814.user.uni-berlin.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110333885 6425 80.91.229.2 (9 Mar 2005 02:04:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2005 02:04:45 +0000 (UTC) Cc: storm@cua.dk Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 09 03:04:44 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8qYk-0006oU-RY for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Mar 2005 03:04:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8qnK-0001um-V4 for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2005 21:19:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D8qmY-0001fV-GQ for help-gnu-emacs@gnu.org; Tue, 08 Mar 2005 21:18:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D8qmS-0001cZ-AV for help-gnu-emacs@gnu.org; Tue, 08 Mar 2005 21:18:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8qmQ-0001Xv-Vf for help-gnu-emacs@gnu.org; Tue, 08 Mar 2005 21:18:35 -0500 Original-Received: from [148.87.122.32] (helo=rgminet03.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D8qFG-0004Nh-4a for help-gnu-emacs@gnu.org; Tue, 08 Mar 2005 20:44:18 -0500 Original-Received: from rgminet03.oracle.com (localhost [127.0.0.1]) by rgminet03.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j291i9qc003971; Tue, 8 Mar 2005 20:44:09 -0500 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.191.50]) by rgminet03.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j291i1Ru003841; Tue, 8 Mar 2005 20:44:04 -0500 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j291i0aW031885; Tue, 8 Mar 2005 18:44:00 -0700 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-83-2.vpn.oracle.com [141.144.83.2]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j291hx40031875 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 8 Mar 2005 18:44:00 -0700 Original-To: 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.2800.1441 In-Reply-To: <87oedtr5xx.fsf@ID-87814.user.uni-berlin.de> Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24664 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24664 AFAIK, you can use `ido-completing-read' as a general replacement for `completing-read'. I don't know if you could just do a `defalias' (or would want to, even if you could), but at least for your own commands you can choose to use `ido-completing-read' instead of `completing-read'. It looks like the signatures of the two functions are a bit different, so I doubt that you could just `defalias' completing-read to ido-completing-read - the latter does not accept an inherit-input-method argument, and its second argument must be a list of strings, not an obarray or an alist whose cars are strings. CCing ido's author, in case he has an idea about this. - Drew > Is there a way to use ido's magical completion for everything? For > example, I'd like it to complete when answering the prompt M-x gives. > > CVS Emacs finally broke lightning completion[1] for me so I decided to look > at ido. I like it! You can configure Lightning completion so that it > completes for all minibuffer prompts. It would be great if ido did that > too. Can it? I don't think that ido can do this (yet I don't /know/ either that it can not.) However, there's M-x icomplete-mode