emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: helm and org-refile
Date: Fri, 20 Jun 2014 10:25:13 -0700	[thread overview]
Message-ID: <87tx7f5w92.fsf@ericabrahamsen.net> (raw)
In-Reply-To: CAJ8n832=n7MifAtLOefeUb=b4WdLHQQ52V8B9D8VBpkR0iUKqw@mail.gmail.com

Sylvain Rousseau <thisirs@gmail.com> 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
<right>, 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

  reply	other threads:[~2014-06-20 17:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-17 10:20 helm and org-refile Eric Abrahamsen
2014-06-17 10:32 ` Thorsten Jolitz
2014-06-17 11:01   ` Eric Abrahamsen
2014-06-18 15:09     ` Sylvain Rousseau
2014-06-20 17:25       ` Eric Abrahamsen [this message]
2014-06-23 20:17 ` Michael Bach
2014-06-23 22:18   ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tx7f5w92.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).