From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Holst Subject: Re: [gnorb] completion for `gnorb-gnus-incoming-do-todo' Date: Sat, 15 Aug 2015 17:31:52 +0200 Message-ID: <87pp2o1sbb@gmx.de> References: <87io8ksnix@gmx.de> <8737zosjan.fsf@ericabrahamsen.net> <87wpwzmbb3@gmx.de> <87k2sxxir6.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQdRE-0007FG-4T for emacs-orgmode@gnu.org; Sat, 15 Aug 2015 11:32:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQdR9-0004Gv-Ra for emacs-orgmode@gnu.org; Sat, 15 Aug 2015 11:32:04 -0400 Received: from mout.gmx.net ([212.227.17.22]:61041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQdR9-0004GN-HA for emacs-orgmode@gnu.org; Sat, 15 Aug 2015 11:31:59 -0400 In-Reply-To: <87k2sxxir6.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sat, 15 Aug 2015 12:45:01 +0800") 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: org mode mailing list Cc: Eric Abrahamsen · Eric Abrahamsen wrote: > Thomas Holst writes: > >> Hi Eric, >> >> · Eric Abrahamsen 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 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. 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 1. Heading ... n. heading with completion working for each step. With helm enabled for `org-goto' and `org-refile' I see canditates for completion, but neither 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 has also no effect. And if I hit 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. -- Thomas Life is so easy - that's why it's so complicated