emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Raymond Zeitler" <zeitra@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: org-refile confuses jump-to-captured
Date: Thu, 31 Aug 2017 16:16:45 -0400	[thread overview]
Message-ID: <002e01d32296$12337f80$369a7e80$@yahoo.com> (raw)

Point doesn't "jump-to-captured" when org-refile changes target during capture.

Try:
Invoke org-capture
Invoke org-refile while in the capture buffer, but specify a non-default location, say A.org/Tasks
Finish with C-c C-c

The new item gets created in A.org as expected.  Yet Point incorrectly jumps to where the item would've gone (todo.org/Tasks) had org-refile not changed its location.

Details:
org-capture-templates contains (one of many):
     ("t" "TODO (simple)" entry
      (file+headline "~/todo.org" "Tasks")
      "* TODO %?  %^g" :prepend t :jump-to-captured t)

org-refile-targets has:
(quote ((org-agenda-files :regexp . "Tasks")))

             reply	other threads:[~2017-08-31 20:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-31 20:16 Raymond Zeitler [this message]
2017-08-31 21:16 ` org-refile confuses jump-to-captured Nicolas Goaziou

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='002e01d32296$12337f80$369a7e80$@yahoo.com' \
    --to=zeitra@yahoo.com \
    --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).