From mboxrd@z Thu Jan 1 00:00:00 1970 From: ben lamothe Subject: Recovering org-completion-use-ido functionality Date: Fri, 24 Aug 2018 21:46:43 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000033d7eb057438ac41" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftNfe-0004Mx-BV for emacs-orgmode@gnu.org; Fri, 24 Aug 2018 21:47:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftNfd-0007e6-JC for emacs-orgmode@gnu.org; Fri, 24 Aug 2018 21:47:22 -0400 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:43189) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftNfd-0007dD-B5 for emacs-orgmode@gnu.org; Fri, 24 Aug 2018 21:47:21 -0400 Received: by mail-lj1-x22b.google.com with SMTP id m84-v6so8172465lje.10 for ; Fri, 24 Aug 2018 18:47:20 -0700 (PDT) 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: emacs-orgmode@gnu.org --00000000000033d7eb057438ac41 Content-Type: text/plain; charset="UTF-8" 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? --00000000000033d7eb057438ac41 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi. I see from the=C2=A0org-mode 9.0 changelog=C2=A0that the "org-completio= n-use-ido" option was removed:
Remove all options related to ido or iswitchb<= br>This includes org-completion-use-iswitchb and org-completion-use-ido. In= stead 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 h= ow to restore the functionality that this option used to enable. I have tri= ed=C2=A0ido-completing-read-plus/ido-ubiquitous, but that is overkill be= cause it tries to enable ido everywhere, but I just want to re-enable ido f= or 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.=C2= =A0

What is the best way to restore the func= tionality of the now removed "org-completion-use-ido" option?
--00000000000033d7eb057438ac41-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: ben lamothe Subject: Re: Recovering org-completion-use-ido functionality Date: Sat, 25 Aug 2018 09:01:07 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000164a48057442185b" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftYDF-0001NP-DH for emacs-orgmode@gnu.org; Sat, 25 Aug 2018 09:02:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftYCI-0006Og-4e for emacs-orgmode@gnu.org; Sat, 25 Aug 2018 09:01:47 -0400 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:38779) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftYCH-0006OD-Rn for emacs-orgmode@gnu.org; Sat, 25 Aug 2018 09:01:46 -0400 Received: by mail-lf1-x12a.google.com with SMTP id i7-v6so8627264lfh.5 for ; Sat, 25 Aug 2018 06:01:45 -0700 (PDT) In-Reply-To: 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: emacs-orgmode@gnu.org --000000000000164a48057442185b Content-Type: text/plain; charset="UTF-8" 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? > --000000000000164a48057442185b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 ()
=C2=A0 "S= et the current buffer's completing read engine to IDO."
=C2=A0 = (setq-local completing-read-function #'ido-completing-read))=C2=A0
(add-hook 'or= g-mode-hook 'bl/completion-use-ido)
=C2=A0
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.=C2=A0

On Fri, Aug 24, 2018 at 9:46 PM ben lamothe <zonotope@gmail.com> wrote:
Hi. I see from the=C2=A0org-mode 9.0 changelog=C2= =A0that the "org-completion-use-ido" option was removed:
Remove all options rela= ted to ido or iswitchb
This includes org-completion-use-iswitchb= and org-completion-use-ido. Instead Org uses regular functions, e.g., comp= letion-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 op= tion used to enable. I have tried=C2=A0ido-completing-read= -plus/ido-ubiquitous, but that is overkill because it tries to enable i= do everywhere, but I just want to re-enable ido for org-mode completion (ma= inly refile). I also run into the same problem if I try to set the completi= ng read function to the one from ido globally.=C2=A0

What is the best way to restore the functionality of the now remov= ed "org-completion-use-ido" option?
--000000000000164a48057442185b-- 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 15:13:51 +0100 Message-ID: <87h8j6llcw.fsf@yandex.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwpc7-0000Z4-IP for emacs-orgmode@gnu.org; Mon, 03 Sep 2018 10:14:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwpc6-0007fI-Lz for emacs-orgmode@gnu.org; Mon, 03 Sep 2018 10:13:59 -0400 Received: from forward104j.mail.yandex.net ([2a02:6b8:0:801:2::107]:33688) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fwpc6-0007eI-9V for emacs-orgmode@gnu.org; Mon, 03 Sep 2018 10:13:58 -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 Dear Ben, >>>>> 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) That doesn't work for me > In any case, I think re-enabling the functionality > that was removed with the "org-completion-use-ido" function should > be documented somewhere. Hear! Hear! Best wishes, 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, From mboxrd@z Thu Jan 1 00:00:00 1970 From: ben lamothe Subject: Re: Recovering org-completion-use-ido functionality Date: Tue, 4 Sep 2018 08:09:35 -0400 Message-ID: References: <877ek2lh9x.fsf@yandex.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004090ea05750a8a9e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxA9x-0007PN-19 for emacs-orgmode@gnu.org; Tue, 04 Sep 2018 08:10:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxA9v-0000DN-Au for emacs-orgmode@gnu.org; Tue, 04 Sep 2018 08:10:16 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:36299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fxA9u-0000BN-TL for emacs-orgmode@gnu.org; Tue, 04 Sep 2018 08:10:15 -0400 Received: by mail-lf1-x12d.google.com with SMTP id x207-v6so2753714lff.3 for ; Tue, 04 Sep 2018 05:10:14 -0700 (PDT) In-Reply-To: <877ek2lh9x.fsf@yandex.com> 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: m43cap@yandex.com Cc: emacs-orgmode@gnu.org --0000000000004090ea05750a8a9e Content-Type: text/plain; charset="UTF-8" Thanks for the suggestion. I did try out `ido-completing-read-plus`, but it's too aggressive for me. It tries to enable ido *everywhere*, including the interface for `M-x`. I just want to enable it for org-mode specific completions. Basically, I want replicate exactly the functionality that was removed with the `org-completion-use-ido` option. Incidentally, the buffer-local variable is also too aggressive. Now, when I try to enter a command with `M-x`, that interface tries to use IDO for completing reads, and IDO can't handle it so it fails. That means I'm back at the drawing board, and my previous solution doesn't actually work for me. Does anyone know how I replicate the functionality that was removed with `org-completion-use-ido`? On Mon, Sep 3, 2018 at 11:42 AM Colin Baxter wrote: > >>>>> 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, > --0000000000004090ea05750a8a9e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the suggestion. I did try out `ido-completing-r= ead-plus`, but it's too aggressive for me. It tries to enable ido *ever= ywhere*, including the interface for `M-x`. I just want to enable it for or= g-mode specific completions. Basically, I want replicate exactly the functi= onality that was removed with the `org-completion-use-ido` option.

=
Incidentally, the buffer-local variable is also too aggressive. = Now, when I try to enter a command with `M-x`, that interface tries to use = IDO for completing reads, and IDO can't handle it so it fails. That mea= ns I'm back at the drawing board, and my previous solution doesn't = actually work for me.

Does anyone know how I repli= cate the functionality that was removed with `org-completion-use-ido`?

On Mon, Sep 3, 2018 = at 11:42 AM Colin Baxter <m43cap@ya= ndex.com> wrote:
>>>= ;>> ben lamothe <zonotope@gmail.com> writes:

=C2=A0 =C2=A0 > I've been able to implement the functionality I want= ed using a
=C2=A0 =C2=A0 > buffer-local variable in an org-mode hook:
=C2=A0 =C2=A0 >>
=C2=A0 =C2=A0 >> (defun bl/completion-use-ido () "Set the curren= t buffer's
=C2=A0 =C2=A0 >> completing read engine to IDO."=C2=A0 (setq-loc= al
=C2=A0 =C2=A0 >> completing-read-function #'ido-completing-read))=

=C2=A0 =C2=A0 > (add-hook 'org-mode-hook 'bl/completion-use-ido)=


=C2=A0 =C2=A0 > I think that works for me, but I'm open to a better = suggestion if
=C2=A0 =C2=A0 > there is one. In any case, I think re-enabling the funct= ionality
=C2=A0 =C2=A0 > that was removed with the "org-completion-use-ido&q= uot; function should
=C2=A0 =C2=A0 > be documented somewhere.

=C2=A0 =C2=A0 > On Fri, Aug 24, 2018 at 9:46 PM ben lamothe <zonotope@gmail.com>= wrote:

=C2=A0 =C2=A0 >> Hi. I see from the org-mode 9.0 changelog
=C2=A0 =C2=A0 >> <https://orgmode.org/Changes_old.html<= /a>> that the
=C2=A0 =C2=A0 >> "org-completion-use-ido" option was remove= d:
=C2=A0 =C2=A0 >>
=C2=A0 =C2=A0 >>> *Remove all options related to ido or iswitchb* = This includes
=C2=A0 =C2=A0 >>> org-completion-use-iswitchb and org-completion-u= se-ido.=C2=A0 Instead
=C2=A0 =C2=A0 >>> Org uses regular functions, e.g., completion-rea= d so as to let
=C2=A0 =C2=A0 >>> those libraries operate.
=C2=A0 =C2=A0 >>
=C2=A0 =C2=A0 >>
=C2=A0 =C2=A0 >> However, I'm unclear from the changelog and I ha= ven't found any
=C2=A0 =C2=A0 >> other documentation about how to restore the functio= nality that
=C2=A0 =C2=A0 >> this option used to enable. I have tried
=C2=A0 =C2=A0 >> ido-completing-read-plus/ido-ubiquitous
=C2=A0 =C2=A0 >> <
https://gith= ub.com/DarwinAwardWinner/ido-completing-read-plus>,
=C2=A0 =C2=A0 >> but that is overkill because it tries to enable ido = everywhere,
=C2=A0 =C2=A0 >> but I just want to re-enable ido for org-mode comple= tion (mainly
=C2=A0 =C2=A0 >> refile). I also run into the same problem if I try t= o set the
=C2=A0 =C2=A0 >> completing read function to the one from ido globall= y.
=C2=A0 =C2=A0 >>
=C2=A0 =C2=A0 >> What is the best way to restore the functionality of= the now
=C2=A0 =C2=A0 >> removed "org-completion-use-ido" option? =C2=A0 =C2=A0 >>

I've now found `ido-completing-read-plus' to supply what I need. It= 's at
https://github.com/DarwinAwardWinner/id= o-completing-read-plus

Best wishes,
--0000000000004090ea05750a8a9e-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Colin Baxter Subject: Re: Recovering org-completion-use-ido functionality Date: Tue, 04 Sep 2018 16:20:12 +0100 Message-ID: <87y3ch47df.fsf@yandex.com> References: <877ek2lh9x.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxD7s-0007XS-S0 for emacs-orgmode@gnu.org; Tue, 04 Sep 2018 11:20:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxD7s-0003xD-5R for emacs-orgmode@gnu.org; Tue, 04 Sep 2018 11:20:20 -0400 Received: from forward101j.mail.yandex.net ([2a02:6b8:0:801:2::101]:43799) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fxD7r-0003ux-Og for emacs-orgmode@gnu.org; Tue, 04 Sep 2018 11:20:20 -0400 In-Reply-To: (ben lamothe's message of "Tue, 4 Sep 2018 08:09:35 -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 Dear Ben >>>>> ben lamothe writes: > Thanks for the suggestion. I did try out > `ido-completing-read-plus`, but it's too aggressive for me. It > tries to enable ido *everywhere*, including the interface for > `M-x`. I just want to enable it for org-mode specific > completions. Basically, I want replicate exactly the functionality > that was removed with the `org-completion-use-ido` option. > Incidentally, the buffer-local variable is also too > aggressive. Now, when I try to enter a command with `M-x`, that > interface tries to use IDO for completing reads, and IDO can't > handle it so it fails. That means I'm back at the drawing board, > and my previous solution doesn't actually work for me. > Does anyone know how I replicate the functionality that was > removed with `org-completion-use-ido`? Sorry to hear of your ido-completing-read-plus experience. The only other suggestion I have is to use icomplete, which predates ido. Emacs has it installed so all you need do is (require 'icomplete) (icomplete-mode 1) It might be worth a try. Best wishes,