[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How should libraries integrate with IDO?
From: |
Philipp Stephani |
Subject: |
Re: How should libraries integrate with IDO? |
Date: |
Sun, 26 Feb 2017 16:13:57 +0000 |
Stefan Monnier <monnier@iro.umontreal.ca> schrieb am Sa., 18. Feb. 2017 um
19:56 Uhr:
> > what should a library do that wants to use `completing-read', but
> > optionally support IDO?
>
> In my opinion, the best answer is:
> - help integrate IDO functionality into icomplete-mode (and into the
> default completion system).
>
Wouldn't that be orthogonal? Ideally `completing-read' would provide the
superset of ido, iswitchb, icomplete, ivy, etc.
>
> but the more realistic one should be:
>
> > - just call `completing-read' and tell the user to set
> > `completing-read-function' to `ido-completing-read'?
>
> Tho just setting it like that might not work 100%, so better use
> ido-ubiquitous, which should hopefully deal with the special cases (I
> have no idea whether it does, tho).
>
>
OK, thanks. So I guess the best approach is to ignore the existence of
ido-completing-read and direct users to ido-ubiquitous.