[Top][All Lists]

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

Re: [O] for your amusement

From: Nicolas Richard
Subject: Re: [O] for your amusement
Date: Thu, 20 Feb 2014 11:55:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

[fu2 gmane.emacs.bbdb.user]

Eric Abrahamsen <address@hidden> writes:
> Incidentally, I'm using `ido-everywhere', and would like to write this
> function so that it didn't _rely_ on ido, but made use of ido when
> `ido-everywhere' was true. Ie, I'd like to replace the
> `ido-completing-read' calls with something more generic that still made
> use of ido when it was turned on. Any suggestions?

ido-everywhere is only meant for buffer/file (see its docstring). People
who really want ido everywhere should probably use ido-ubiquitous which
sets completing-read-function to ido-completing-read (in fact, a wrapper
around it because it cannot handle all cases that completing-read should

Hence, my suggestion would be to use completing-read instead of
ido-completing-read in your code, and configure ido-ubiquitous
(available from marmalade and melpa) for controlling what to use.

Related package : ido-hacks (which also enables ido in more places)

I *guess* it'll then also work automagically with icomplete-mode
(shipped with recent emacs) if that is what the user enable instead of


reply via email to

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