all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleh Krehel <ohwoeowho@gmail.com>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: [elpa] master 6a098c6 15/19: Add ivy-mode
Date: Thu, 16 Apr 2015 15:34:39 +0200	[thread overview]
Message-ID: <87d234kxhs.fsf@gmail.com> (raw)
In-Reply-To: <jwviocwfb80.fsf-monnier+emacsdiffs@gnu.org> (Stefan Monnier's message of "Thu, 16 Apr 2015 09:37:28 -0400")

Stefan Monnier <monnier@IRO.UMontreal.CA> 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.

Oleh





  reply	other threads:[~2015-04-16 13:34 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150416121807.21266.28456@vcs.savannah.gnu.org>
     [not found] ` <E1YiikF-0005ZU-F1@vcs.savannah.gnu.org>
2015-04-16 12:55   ` [elpa] master 0d619ea 10/19: counsel.el (couns-clj): Add with-no-warnings Stefan Monnier
     [not found] ` <E1YiikJ-0005ai-8x@vcs.savannah.gnu.org>
2015-04-16 12:59   ` [elpa] master 3b78e0e 18/19: swiper.el: Bump version Stefan Monnier
2015-04-16 12:57     ` Oleh Krehel
2015-04-16 17:48       ` Stefan Monnier
2015-04-16 17:53         ` Oleh Krehel
2015-04-16 18:52           ` Stefan Monnier
2015-04-16 18:50             ` Oleh Krehel
2015-04-16 19:36           ` Artur Malabarba
     [not found] ` <E1YiikI-0005aG-1X@vcs.savannah.gnu.org>
2015-04-16 13:37   ` [elpa] master 6a098c6 15/19: Add ivy-mode Stefan Monnier
2015-04-16 13:34     ` Oleh Krehel [this message]
2015-04-16 18:59       ` Stefan Monnier
2015-04-16 19:07         ` Oleh Krehel
2015-04-17 21:07     ` Dmitry Gutov
2015-04-17 21:25       ` Oleh Krehel
2015-04-17 21:37         ` Dmitry Gutov
2015-04-18  4:58         ` Stefan Monnier
2015-04-18 14:16           ` Stefan Monnier
2015-04-18 15:11             ` Oleh Krehel
2015-04-18 17:49               ` Stefan Monnier
2015-04-18 17:49                 ` Oleh Krehel
2015-04-19  2: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=87d234kxhs.fsf@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.