emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: [gnorb] completion for `gnorb-gnus-incoming-do-todo'
Date: Sun, 16 Aug 2015 11:53:22 +0800	[thread overview]
Message-ID: <877fovvqh9.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87pp2o1sbb@gmx.de

Thomas Holst <Thomas_Holst@gmx.de> writes:

> · Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
>> Thomas Holst <Thomas_Holst@gmx.de> writes:
>>
>>> Hi Eric,
>>>
>>> · Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
>>>
>>>>> thanks for the gnorb package! I started using it and I like it a lot!
>>>>>
>>>>> When I call `gnorb-gnus-incoming-do-todo' from gnus I'm prompted for a
>>>>> headline. But completion is not working. Neither <TAB> nor M-j does
>>>>> anything.
>>>>>
>>>>> How can I get completion working? Completion is working for org-refile.
>>>>>
>>>>> I have no settings customized. Only key bindings as suggested.
>>>>>
>>>>> Thank you for looking into this!
>
> [ ... snip ... ]
>
> ok so I did a little more intvestigation: The reason why I disabled helm
> for `org-refile' and `org-goto' was that completion is not working or at
> least not as I wanted. Thats why I set:
>
> #+begin_src emacs_lisp
>   (add-to-list 'helm-completing-read-handlers-alist '(org-refile . nil))
>   (add-to-list 'helm-completing-read-handlers-alist '(org-goto . nil))
> #+end_src
>
>
> Forgot to mention that.
>
> Now I added:
>
> #+begin_src emacs_lisp
>   (add-to-list 'helm-completing-read-handlers-alist '(gnorb-gnus-outgoing-do-todo . nil))
>   (add-to-list 'helm-completing-read-handlers-alist '(gnorb-gnus-incoming-do-todo . nil))
> #+end_src
>
>
> And I get completion without helm. So this is solved. Sorry for the
> noise.

No worries, glad it's sorted!

> But maybe someone can give me a hint how to get helm working here.
>
> As mentioned above I have
>
> #+begin_src emacs_lisp
>   (setq org-refile-use-outline-path 'file)
> #+end_src
>
> Because I can travel along the path in steps
>
> file <TAB>
>   1. Heading <TAB>
>   ...
>   n. heading <RET>
>
> with completion working for each step. With helm enabled for `org-goto'
> and `org-refile' I see canditates for completion, but neither <TAB> nor
> M-j have any effect. Minibuffer does not change. When I set
> `org-refile-use-outline-path' to nil, I get tons of candidates for
> completion but <TAB> has also no effect. And if I hit <RETURN> with an
> incomplete input I get an error. This behaviour was the reason why I
> disabled helm for `org-refile' and `org-goto' to begin with.
>
> So has anyone helm working for `org-refile' and `org-goto'? I would
> appreciate any help here. Thanks.

It works fine here! Have you started from "emacs -Q"? That's usually the
best first step.

  reply	other threads:[~2015-08-16  3:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-12 12:24 [gnorb] completion for `gnorb-gnus-incoming-do-todo' Thomas Holst
2015-08-12 13:53 ` Eric Abrahamsen
     [not found] ` <8737zosjan.fsf@ericabrahamsen.net>
2015-08-12 16:19   ` Thomas Holst
2015-08-15  4:45     ` Eric Abrahamsen
2015-08-15 15:31       ` Thomas Holst
2015-08-16  3:53         ` Eric Abrahamsen [this message]
2015-08-16 14:37           ` Thomas Holst
2015-08-17  7:01             ` Eric Abrahamsen
2015-08-17  8:38               ` Thomas Holst

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=877fovvqh9.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).