From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: [gnorb] completion for `gnorb-gnus-incoming-do-todo' Date: Sun, 16 Aug 2015 11:53:22 +0800 Message-ID: <877fovvqh9.fsf@ericabrahamsen.net> References: <87io8ksnix@gmx.de> <8737zosjan.fsf@ericabrahamsen.net> <87wpwzmbb3@gmx.de> <87k2sxxir6.fsf@ericabrahamsen.net> <87pp2o1sbb@gmx.de> 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]:59545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQp0m-00050I-So for emacs-orgmode@gnu.org; Sat, 15 Aug 2015 23:53:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQp0j-0000SO-ME for emacs-orgmode@gnu.org; Sat, 15 Aug 2015 23:53:32 -0400 Received: from plane.gmane.org ([80.91.229.3]:53288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQp0j-0000SI-FQ for emacs-orgmode@gnu.org; Sat, 15 Aug 2015 23:53:29 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZQp0i-0003Ft-GJ for emacs-orgmode@gnu.org; Sun, 16 Aug 2015 05:53:28 +0200 Received: from 50.56.99.223 ([50.56.99.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Aug 2015 05:53:28 +0200 Received: from eric by 50.56.99.223 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Aug 2015 05:53:28 +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 Thomas Holst writes: > · 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. 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 > 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. It works fine here! Have you started from "emacs -Q"? That's usually the best first step.