From: ben lamothe <zonotope@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Recovering org-completion-use-ido functionality
Date: Sat, 25 Aug 2018 09:01:07 -0400 [thread overview]
Message-ID: <CAEwsFJGoBqmXM5MrA0bng5OLSdWZq_cRDnp+6r=FrNdyWwAw=A@mail.gmail.com> (raw)
In-Reply-To: <CAEwsFJG3PevE3txpV1Z3gs5_CRPTCrCU44gJgCGDW7Svgd2bXA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1637 bytes --]
I've been able to implement the functionality I wanted using a buffer-local
variable in an org-mode hook:
>
> (defun bl/completion-use-ido ()
> "Set the current buffer's completing read engine to IDO."
> (setq-local completing-read-function #'ido-completing-read))
(add-hook 'org-mode-hook 'bl/completion-use-ido)
I think that works for me, but I'm open to a better suggestion if there is
one. In any case, I think re-enabling the functionality that was removed
with the "org-completion-use-ido" function should be documented somewhere.
On Fri, Aug 24, 2018 at 9:46 PM ben lamothe <zonotope@gmail.com> wrote:
> Hi. I see from the org-mode 9.0 changelog
> <https://orgmode.org/Changes_old.html> that the "org-completion-use-ido"
> option was removed:
>
>> *Remove all options related to ido or iswitchb*
>> This includes org-completion-use-iswitchb and org-completion-use-ido.
>> Instead Org uses regular functions, e.g., completion-read so as to let
>> those libraries operate.
>
>
> However, I'm unclear from the changelog and I haven't found any other
> documentation about how to restore the functionality that this option used
> to enable. I have tried ido-completing-read-plus/ido-ubiquitous
> <https://github.com/DarwinAwardWinner/ido-completing-read-plus>, but that
> is overkill because it tries to enable ido everywhere, but I just want to
> re-enable ido for org-mode completion (mainly refile). I also run into the
> same problem if I try to set the completing read function to the one from
> ido globally.
>
> What is the best way to restore the functionality of the now removed
> "org-completion-use-ido" option?
>
[-- Attachment #2: Type: text/html, Size: 2483 bytes --]
next prev parent reply other threads:[~2018-08-25 13:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-25 1:46 Recovering org-completion-use-ido functionality ben lamothe
2018-08-25 13:01 ` ben lamothe [this message]
2018-09-03 14:13 ` Colin Baxter
2018-09-03 15:42 ` Colin Baxter
2018-09-04 12:09 ` ben lamothe
2018-09-04 15:20 ` Colin Baxter
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEwsFJGoBqmXM5MrA0bng5OLSdWZq_cRDnp+6r=FrNdyWwAw=A@mail.gmail.com' \
--to=zonotope@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).