From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-refile confuses jump-to-captured Date: Thu, 31 Aug 2017 23:16:17 +0200 Message-ID: <877exj4evy.fsf@nicolasgoaziou.fr> References: <002e01d32296$12337f80$369a7e80$@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnWp3-0000Sc-OK for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 17:16:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnWp2-0005bg-Ku for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 17:16:21 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:52513) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dnWp2-0005b9-EM for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 17:16:20 -0400 In-Reply-To: <002e01d32296$12337f80$369a7e80$@yahoo.com> (Raymond Zeitler's message of "Thu, 31 Aug 2017 16:16:45 -0400") 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" To: Raymond Zeitler Cc: emacs-orgmode@gnu.org Hello, "Raymond Zeitler" 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