From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: helm and org-refile Date: Fri, 20 Jun 2014 10:25:13 -0700 Message-ID: <87tx7f5w92.fsf@ericabrahamsen.net> References: <87r42nj0qf.fsf@ericabrahamsen.net> <87a99bltbg.fsf@gmail.com> <87mwdbiyuc.fsf@ericabrahamsen.net> 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]:35556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wy2VZ-00014p-7B for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 13:21:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wy2VQ-0004ZO-R6 for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 13:21:49 -0400 Received: from plane.gmane.org ([80.91.229.3]:54967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wy2VQ-0004Ym-Jc for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 13:21:40 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wy2VO-0001B6-6O for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 19:21:38 +0200 Received: from c-76-28-195-250.hsd1.wa.comcast.net ([76.28.195.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Jun 2014 19:21:38 +0200 Received: from eric by c-76-28-195-250.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Jun 2014 19:21:38 +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 Sylvain Rousseau writes: > Here is the updated patch and config from my .emacs > >     (when (and (boundp 'org-completion-handler) >                (require 'helm nil t)) >       (defun org-helm-completion-handler >           (prompt collection &optional predicate require-match >                   initial-input hist def inherit-input-method) >         (helm-comp-read prompt >                         collection >                         ;; the character \ is filtered out by default > ;( >                         :fc-transformer nil >                         :test predicate >                         :must-match require-match >                         :initial-input initial-input >                         :history hist >                         :default def)) >     >       (setq org-completion-handler 'org-helm-completion-handler)) >     I finally got around to trying this, thanks very much! It seems to work well, though you can't actually complete the headline text with C-z or , as you can with the helm-find-files interface. I'm also not sure about relying on a patch which changes the org internals so much... But it does work -- thanks! Eric