From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: about ido-completing-read and completing-read Date: Thu, 31 May 2007 12:01:03 +0200 Message-ID: References: <87vee9d3ks.fsf@www.williamxu.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180605802 14897 80.91.229.12 (31 May 2007 10:03:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 31 May 2007 10:03:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: "William Xu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 31 12:03:14 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 1HthUu-0001Ep-Kd for ged-emacs-devel@m.gmane.org; Thu, 31 May 2007 12:03:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HthUt-0000qj-Vf for ged-emacs-devel@m.gmane.org; Thu, 31 May 2007 06:03:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HthSt-0007RZ-Bk for emacs-devel@gnu.org; Thu, 31 May 2007 06:01:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HthSr-0007Q2-Id for emacs-devel@gnu.org; Thu, 31 May 2007 06:01:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HthSr-0007Pq-AO for emacs-devel@gnu.org; Thu, 31 May 2007 06:01:05 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HthSq-0004pl-QN for emacs-devel@gnu.org; Thu, 31 May 2007 06:01:04 -0400 Original-Received: by wx-out-0506.google.com with SMTP id h26so95311wxd for ; Thu, 31 May 2007 03:01:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LWHaLM0aisSkDwsXwFOt3JBD5cu1ZkZuWNTOgsrE6YV0XaV3esS9oAFeFce0yoA45SnWIebOd+PKGArXmRhUnLUAMBBZ33BgLMmMavSdP0x35z2GURcTFIdz5uGxy799Cz9kOe7cSRlP2AaKY3k0+JsD1dD6MBxZu6QI+eIsR5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DUFfoeBRk1ABeo9lQXm02avHNbRZZhaAUKyxOFNkGkKQufZGApoPR4kMtwpdnXvX6uAPPF1WMoFqJgxF9v5vqygOapQpeacWs03a2pZeo4d07RnHNX5oHM7PrGxIzkSdhtpm4h81Sh2TowB/qkLQO0mg75Cdcus+eJcD97lGRpM= Original-Received: by 10.90.34.3 with SMTP id h3mr186050agh.1180605663884; Thu, 31 May 2007 03:01:03 -0700 (PDT) Original-Received: by 10.90.103.8 with HTTP; Thu, 31 May 2007 03:01:03 -0700 (PDT) In-Reply-To: <87vee9d3ks.fsf@www.williamxu.com> Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:72010 Archived-At: On 5/31/07, William Xu wrote: > I find myself is keeping modifying their source codes > to replace completing-read with ido-completing-read.. You could try this: (defvar *completing-read-recursive* nil) (defadvice completing-read (around my-completing-read activate compile) (if *completing-read-recursive* ad-do-it (let ((*completing-read-recursive* t)) (ido-completing-read prompt collection predicate require-match initial-input hist def)))) to see whether it helps. Juanma