emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-refile confuses jump-to-captured
@ 2017-08-31 20:16 Raymond Zeitler
  2017-08-31 21:16 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Raymond Zeitler @ 2017-08-31 20:16 UTC (permalink / raw)
  To: emacs-orgmode

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")))

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-refile confuses jump-to-captured
  2017-08-31 20:16 org-refile confuses jump-to-captured Raymond Zeitler
@ 2017-08-31 21:16 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-08-31 21:16 UTC (permalink / raw)
  To: Raymond Zeitler; +Cc: emacs-orgmode

Hello,

"Raymond Zeitler" <zeitra@yahoo.com> writes:

> 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")))

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-31 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-31 20:16 org-refile confuses jump-to-captured Raymond Zeitler
2017-08-31 21:16 ` Nicolas Goaziou

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).