emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: refiling, ido-mode, and creating projects
Date: Tue, 20 Nov 2012 09:25:20 +0100	[thread overview]
Message-ID: <m21ufovfyn.fsf@polytechnique.org> (raw)

Hello,

I found out that using ido-mode is very useful for refiling. However
there is one thing I don't know how to do: how to create a parent node
in this setup.

Here is my configuration (straight from the usual
http://doc.norang.ca/org-mode.html)

#+BEGIN_SRC elisp
; Use full outline paths for refile targets - we file directly with IDO
(setq org-refile-use-outline-path t)

; Targets complete directly with IDO
(setq org-outline-path-complete-in-steps nil)

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

; Use IDO for both buffer and file completion and ido-everywhere to t
(setq org-completion-use-ido t)
(setq ido-everywhere t)
(setq ido-max-directory-size 100000)
(ido-mode (quote both))
#+END_SRC

Let's say I already have an entry "Work/Trips" and I want to refile some
task to a new "Paris" project under "Trips". If I "C-c C-w" and type
"Trips", I can see that the entry is selected. However, I don't know how
to say "select this entry and let me type some more to add to it". If I
continue typing "/Paris" I get a "no match" and an error
"org-refile-check-position: Please save the buffer to a file before
refiling" (which probably happens because I'm inside the agenda, and the
refiling target "Trpis/Paris" makes no sense).

I tried doing a "C-f" as when using ido with find-file, but it does not
do anything.

Any suggestion?

Thanks,

Alan

             reply	other threads:[~2012-11-20  8:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-20  8:25 Alan Schmitt [this message]
2012-11-24 20:07 ` refiling, ido-mode, and creating projects Bernt Hansen

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=m21ufovfyn.fsf@polytechnique.org \
    --to=alan.schmitt@polytechnique.org \
    --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).