From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitalie Spinu Subject: Re: Refile is not using IDO Date: Tue, 02 Feb 2016 18:55:46 +0100 Message-ID: <87egcv3skd.fsf@gmail.com> References: <87fuxbe5v1.fsf@gmail.com> <87oabzjc9h.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQfBC-0003mQ-0d for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 12:55:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQfB7-0004sb-1w for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 12:55:53 -0500 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:37727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQfB6-0004sV-SG for emacs-orgmode@gnu.org; Tue, 02 Feb 2016 12:55:49 -0500 Received: by mail-wm0-x231.google.com with SMTP id l66so34710056wml.0 for ; Tue, 02 Feb 2016 09:55:48 -0800 (PST) Received: from localhost ([143.176.214.220]) by smtp.gmail.com with ESMTPSA id q73sm17592627wmb.1.2016.02.02.09.55.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Feb 2016 09:55:46 -0800 (PST) In-Reply-To: <87oabzjc9h.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 02 Feb 2016 17:41:14 +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: emacs-orgmode@gnu.org > 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'. That makes sense, but why is org-completion-use-ido and all the references pointing to it is still there? >> How do I activate ido with refile now? > I cannot tell, I don't use IDO. What do yo use if not a secret? Helm? > In the worst case, you can always replace `completing-read-function' with > `ido-completing-read'. It's already there - completing-read-ido-ubiquitous. After another look, it's not a problem with org-refile-get-location. The following works: (with-current-buffer (get-buffer-create " *dummy.org") (setq default-directory org-directory) (org-refile-get-location "Clock")) Something is resetting in refile. I will investigate. Thanks, Vitalie