emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [gnorb] completion for `gnorb-gnus-incoming-do-todo'


From: Eric Abrahamsen
Subject: Re: [O] [gnorb] completion for `gnorb-gnus-incoming-do-todo'
Date: Sun, 16 Aug 2015 11:53:22 +0800
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Thomas Holst <address@hidden> writes:

> · Eric Abrahamsen <address@hidden> wrote:
>> Thomas Holst <address@hidden> writes:
>>
>>> Hi Eric,
>>>
>>> · Eric Abrahamsen <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]