emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Holst <Thomas_Holst@gmx.de>
To: org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [gnorb] completion for `gnorb-gnus-incoming-do-todo'
Date: Wed, 12 Aug 2015 18:19:48 +0200	[thread overview]
Message-ID: <87wpwzmbb3@gmx.de> (raw)
In-Reply-To: <8737zosjan.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 12 Aug 2015 21:55:28 +0800")

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!
>
> Hi Thomas,
>
> Glad to hear you're liking Gnorb! Can you tell me a few things about
> your setup?
>
> 1. What versions of the packages are you using? Org and Gnorb?

I use most recent git versions:

Org-mode version 8.3.1 (release_8.3.1-56-g046110 @
/home/thommy/git-emacs/org-mode/lisp/)

gnorb: most recent git version

> 2. Are you using any special completion packages (ido, iswitchb,
> helm)?

I mostly use helm. But for refile I use following settings since I
found helm not really working here:

#+begin_src emacs_lisp
  ;; -----------------------------------------------------------------------------
  ;; settings für org-refile
  ;; -----------------------------------------------------------------------------
  (setq org-refile-use-outline-path 'file)
  (setq org-refile-targets
        '((org-agenda-files :maxlevel . 3)
          (org-agenda-text-search-extra-files . (:maxlevel . 3))
          (nil :maxlevel . 5)))

  ; Allow refile to create parent tasks with confirmation
  (setq org-refile-allow-creating-parent-nodes (quote confirm))
#+end_src

> 3. Can you confirm that the prompt where you're seeing failure is
>    "Trigger heading:"?

I see: "Trigger heading (default Reparaturen):"
>
> I assume that putting point after this sexp and running "C-x C-e" gets
> you a fully functional completion prompt, is that true?
>
> (org-refile-get-location "Trigger heading" nil t)

Yes with helm interface. But again completion is not functional.

Now when I press `g' at the begin of a headline I get:

"Refile subtree "Erträge" to (default Reperaturen):"

With regular (no helm) completion (<TAB> completes) working.

> Thanks for your help in tracking this down!

Again thank you for looking into this! I really apreciate your help and
gnorb package which makes my work a lot easier"

--
  Thomas

  parent reply	other threads:[~2015-08-13 15:56 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 [this message]
2015-08-15  4:45     ` Eric Abrahamsen
2015-08-15 15:31       ` Thomas Holst
2015-08-16  3:53         ` Eric Abrahamsen
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=87wpwzmbb3@gmx.de \
    --to=thomas_holst@gmx.de \
    --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).