From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: ido-completing-read and substrings of choices Date: Tue, 02 Apr 2013 17:52:51 +0200 Message-ID: <874nfpsze4.fsf@wanadoo.es> References: <87fvz9taoh.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1364918003 29403 80.91.229.3 (2 Apr 2013 15:53:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Apr 2013 15:53:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 02 17:53:51 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UN3Ww-0002Ux-LX for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 17:53:50 +0200 Original-Received: from localhost ([::1]:34379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN3WX-0001Pv-Ef for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 11:53:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN3WF-0001Js-9Z for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 11:53:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN3WC-0005dx-5R for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 11:53:07 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:33618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN3WB-0005dk-VK for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 11:53:04 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UN3WY-0002Di-HM for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 17:53:26 +0200 Original-Received: from 255.red-83-32-114.dynamicip.rima-tde.net ([83.32.114.255]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Apr 2013 17:53:26 +0200 Original-Received: from ofv by 255.red-83-32-114.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Apr 2013 17:53:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 255.red-83-32-114.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:Yy1FBZbwQGT7hNZCfqag+KadQAU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89897 Archived-At: Leo Liu writes: > On 2013-04-02 19:49 +0800, Óscar Fuentes wrote: >> It seems that it is not possible to input a string that is a substring >> of some candidate, even if require-match is nil: >> >> (ido-completing-read "Choose: " '("abc" "xyz") nil nil) >> >> How could the user input "ab" on the command above? > > C-j Thanks Leo. Nico already answered this. The documentation on ido.el is centered around selecting files and buffers. However, ido-mode is so convenient that more and more people are using ido-completing-read as a replacement for completing-read on lots of contexts. IMHO ido-completing-read deserves move visibility on the documentation at the top of ido.el or, better, explain the general goal of ido-mode starting from ido-completing-read and present file and buffer selection as specific applications. Thanks again.