[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: Thu, 16 Apr 2015 15:34:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> +  (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:
>    emacs -Q -l .../swiper/swiper-autoloads.el
>    M-x ivy-mode RET
>    C-x C-f
>    C-x b
> Notice how both C-x C-f and C-x b signal errors.

Yeah, that feature isn't completely ready yet.
I just have to read up on what to do if `collection' is a function.


reply via email to

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