[Top][All Lists]

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

Re: [elpa] master 6a098c6 15/19: Add ivy-mode

From: Oleh Krehel
Subject: Re: [elpa] master 6a098c6 15/19: Add ivy-mode
Date: Fri, 17 Apr 2015 23:25:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Dmitry Gutov <address@hidden> writes:

> On 04/16/2015 04:37 PM, Stefan Monnier wrote:
>>> +  (cond ((functionp collection)
>>> +         (error "Function as a collection unsupported"))
>>> +        ((hash-table-p collection)
>>> +         (error "Hash table as a collection unsupported"))
>>> +        ((listp (car collection))
>>> +         (setq collection (mapcar #'car collection))))
>> [...]
>>> +      (setq completing-read-function 'ivy-completing-read)
>> Since completion-tables in the form of a function are pretty common
>> nowadays (and becoming every time more frequent), this is a real
>> problem
> It also needs to support obarrays, to be useful with
> e.g. `describe-function'.

It already does, you're looking at an outdated version.  The only thing
that doesn't work so far is the completion in the directory of Info
(regular Info nodes work fine). Also, I have yet to encounter a
collection that is a hash table.


reply via email to

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