From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Krehel Subject: Re: Could org-mode use `completing-read-function' instead of `org-icompleting-read'? Date: Thu, 16 Apr 2015 16:31:36 +0200 Message-ID: References: <87egnk17wg.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YikpP-0003K1-LO for emacs-orgmode@gnu.org; Thu, 16 Apr 2015 10:31:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YikpN-0006la-Uj for emacs-orgmode@gnu.org; Thu, 16 Apr 2015 10:31:39 -0400 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:32882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YikpN-0006lJ-Mi for emacs-orgmode@gnu.org; Thu, 16 Apr 2015 10:31:37 -0400 Received: by wgin8 with SMTP id n8so82801158wgi.0 for ; Thu, 16 Apr 2015 07:31:36 -0700 (PDT) In-Reply-To: <87egnk17wg.fsf@gmx.us> 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: Rasmus Cc: emacs-orgmode@gnu.org Hi Rasmus, On Thu, Apr 16, 2015 at 4:10 PM, Rasmus wrote: > Hi Oleh, > > Oleh Krehel writes: > >> I was just trying to customize the completion back end for refiling (ido isn't >> great for that, even with the ido-vertical upgrade). And it's not at all easy, >> since ido seems to be hard-wired into org-mode's completion. Could we just >> change to use `completing-read-function' instead of `org-icompleting-read'? > > I think it's nicer to use existing features/variables, but comparability > is also an issue. Alright, I've made so that if `completing-read-function' is `completing-read-default', nothing changes. But when it's set, it used. So now, e.g. `helm-mode' or `ivy-mode' will automatically work. Oleh