From: Oleh Krehel <ohwoeowho@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: [elpa] master 567ea7e 1/3: Ivy-mode now works better with `find-file'
Date: Fri, 17 Apr 2015 16:57:28 +0200 [thread overview]
Message-ID: <CAA01p3pOUn+2kskr+XOaWZZh6Tb0gU4aa82wjU67ox4hv7+mag@mail.gmail.com> (raw)
In-Reply-To: <jwviocux12r.fsf-monnier+emacsdiffs@gnu.org>
On Fri, Apr 17, 2015 at 4:49 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> + (cond ((or (functionp collection)
>> + (vectorp collection))
>> + (when (eq collection 'read-file-name-internal)
>> + (setq ivy--directory default-directory)
>> + (setq initial-input nil))
>> + (setq collection (all-completions "" collection predicate)))
>> + ((hash-table-p collection)
>> + (error "Hash table as a collection unsupported"))
>> + ((listp (car collection))
>> + (setq collection (all-completions "" collection predicate))))
>
> I suggest you also try
>
> C-h i
> g (em TAB
Info-read-node-name-1 takes STRING, PREDICATE, and CODE and says to
look in the `completing-read' doc. But there's nothing abount CODE
there. Where do I get it?
Oleh
next prev parent reply other threads:[~2015-04-17 14:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150417081157.13187.57850@vcs.savannah.gnu.org>
[not found] ` <E1Yj1NW-0003Ri-FV@vcs.savannah.gnu.org>
2015-04-17 14:49 ` [elpa] master 567ea7e 1/3: Ivy-mode now works better with `find-file' Stefan Monnier
2015-04-17 14:57 ` Oleh Krehel [this message]
2015-04-17 18:28 ` Stefan Monnier
2015-04-17 18:39 ` Oleh Krehel
2015-04-17 19:22 ` Stefan Monnier
2015-04-17 19:27 ` Oleh Krehel
2015-04-18 4:56 ` Stefan Monnier
2015-04-18 4:50 ` Thierry Volpiatto
2015-04-18 14:12 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA01p3pOUn+2kskr+XOaWZZh6Tb0gU4aa82wjU67ox4hv7+mag@mail.gmail.com \
--to=ohwoeowho@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.