From mboxrd@z Thu Jan 1 00:00:00 1970 From: Colin Baxter Subject: Re: Recovering org-completion-use-ido functionality Date: Mon, 03 Sep 2018 16:42:02 +0100 Message-ID: <877ek2lh9x.fsf@yandex.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwqzd-0004x7-69 for emacs-orgmode@gnu.org; Mon, 03 Sep 2018 11:42:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwqzc-0008Lp-21 for emacs-orgmode@gnu.org; Mon, 03 Sep 2018 11:42:21 -0400 Received: from forward105o.mail.yandex.net ([2a02:6b8:0:1a2d::608]:40880) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fwqzY-0008Dj-2n for emacs-orgmode@gnu.org; Mon, 03 Sep 2018 11:42:18 -0400 In-Reply-To: (ben lamothe's message of "Sat, 25 Aug 2018 09:01:07 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: ben lamothe Cc: emacs-orgmode@gnu.org >>>>> ben lamothe writes: > 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 wrote: >> Hi. I see from the org-mode 9.0 changelog >> 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 >> , >> 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? >> I've now found `ido-completing-read-plus' to supply what I need. It's at https://github.com/DarwinAwardWinner/ido-completing-read-plus Best wishes,