From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: ido-completing-read and substrings of choices
Date: Tue, 02 Apr 2013 17:52:51 +0200 [thread overview]
Message-ID: <874nfpsze4.fsf@wanadoo.es> (raw)
In-Reply-To: m18v512cep.fsf@gmail.com
Leo Liu <sdl.web@gmail.com> 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.
next prev parent reply other threads:[~2013-04-02 15:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-02 11:49 ido-completing-read and substrings of choices Óscar Fuentes
2013-04-02 11:54 ` Nicolas Richard
2013-04-02 12:22 ` Óscar Fuentes
2013-04-02 15:13 ` Leo Liu
2013-04-02 15:52 ` Óscar Fuentes [this message]
2013-04-02 16:47 ` Leo Liu
2013-04-03 13:22 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874nfpsze4.fsf@wanadoo.es \
--to=ofv@wanadoo.es \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).