From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Refile is not using IDO Date: Tue, 02 Feb 2016 17:41:14 +0100 Message-ID: <87oabzjc9h.fsf@nicolasgoaziou.fr> References: <87fuxbe5v1.fsf@gmail.com> 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 1aQdz4-0001mQ-26 for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 11:39:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQdz0-0003Ny-I6 for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 11:39:17 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:43156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQdz0-0003Nm-Bs for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 11:39:14 -0500 In-Reply-To: <87fuxbe5v1.fsf@gmail.com> (Vitalie Spinu's message of "Tue, 02 Feb 2016 11:58:26 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Vitalie Spinu Cc: emacs-orgmode@gnu.org Hello, Vitalie Spinu writes: > I cannot get IDO working with refile anymore. The following change seem to be > relevant: > > @@ -12008,12 +11980,11 @@ this is used for the GOTO interface." > (unless org-refile-target-table > (user-error "No refile targets")) > (let* ((cbuf (current-buffer)) > - (partial-completion-mode nil) > (cfn (buffer-file-name (buffer-base-buffer cbuf))) > (cfunc (if (and org-refile-use-outline-path > org-outline-path-complete-in-steps) > - 'org-olpath-completing-read > - 'org-icompleting-read)) > + #'org-olpath-completing-read > + #'completing-read)) > (extra (if org-refile-use-outline-path "/" "")) > (cbnex (concat (buffer-name) extra)) > (filename (and cfn (expand-file-name cfn))) > > > > > And presumably obsoleted ido completion. I don't see anything mentioned in > org-completion-use-ido, tough. The idea behind this patch is that IDO completion should be handled by IDO, not Org. IOW, Org uses `completing-read' and IDO does its magic, e.g., by setting `completing-read-function'. > How do I activate ido with refile now? I cannot tell, I don't use IDO. In the worst case, you can always replace `completing-read-function' with `ido-completing-read'. I assume there is some setting in IDO allowing to do it automatically. Regards, -- Nicolas Goaziou