From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Could org-mode use `completing-read-function' instead of `org-icompleting-read'? Date: Thu, 16 Apr 2015 16:10:07 +0200 Message-ID: <87egnk17wg.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YikUo-000334-4H for emacs-orgmode@gnu.org; Thu, 16 Apr 2015 10:10:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YikUi-0006Ep-46 for emacs-orgmode@gnu.org; Thu, 16 Apr 2015 10:10:21 -0400 Received: from plane.gmane.org ([80.91.229.3]:57891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YikUh-0006EY-Tc for emacs-orgmode@gnu.org; Thu, 16 Apr 2015 10:10:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YikUf-0007fB-Gd for emacs-orgmode@gnu.org; Thu, 16 Apr 2015 16:10:13 +0200 Received: from 46.166.188.202 ([46.166.188.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Apr 2015 16:10:13 +0200 Received: from rasmus by 46.166.188.202 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Apr 2015 16:10:13 +0200 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 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. Perhaps completing-read-function could be used if boundp in org-icompleting-read. Things like org-completion-use-ido as a separate variable rather than ido-everywhere is also a bit annoying IMO. Do you want to submit a patch? —Rasmus -- Send from my Emacs