[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [elpa] master 567ea7e 1/3: Ivy-mode now works better with `find-file

From: Oleh Krehel
Subject: Re: [elpa] master 567ea7e 1/3: Ivy-mode now works better with `find-file'
Date: Fri, 17 Apr 2015 21:27:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> Seems very complex for just returning a (short) list of strings.
> The set of files or the set of Info nodes (which can appear in any file)
> can't conveniently be treated as "a (short) list of strings".
>> Why doesn't this work for `Info-read-node-name-1':
>>     (setq collection (all-completions "" collection predicate))
> I don't understand the question.  AFAIK it does work.  It just doesn't
> return every possible node name, since there's pretty much an infinite
> supply (if you include those that can be accessed via Tramp, for example).
>>     (setq collection (funcall collection "" nil t))
> Indeed (funcall collection "" pred t) should be equivalent to
> (all-completions "" collection predicate) when `collection' is a function.
> If you see otherwise, we have a problem.

You can try the current ivy-mode code in elpa. It uses this for functions:

    (all-completions "" collection predicate)

And it does't work with Info. I tried also with helm-mode, it doesn't
work either.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]