From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: =?UTF-8?B?UmU6IEJ1ZzogcmVmaWxlIGZyb20gY2FwdHVyZSB0ZW1wbGF0ZSBk?= =?UTF-8?B?b2Vzbid0IHVwZGF0ZSBvcmctY2xvY2stY3VycmVudC10YXNrIFs5LjEuNiAo?= =?UTF-8?B?OS4xLjYtNTctZ2VjODU5MC1lbHBhcGx1cyBAIC9Vc2Vycy9hZy5pYnJhZ2lt?= =?UTF-8?B?b3YvLmVtYWNzLmQvZWxwYS8yNi4wL2RldmVsb3Avb3JnLXBsdXMtY29udHJp?= =?UTF-8?B?Yi0yMDE4MDIxOS8pXQ==?= Date: Wed, 21 Feb 2018 15:06:12 +0100 Message-ID: <87bmgijv3f.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoV2L-0002Pj-Ii for emacs-orgmode@gnu.org; Wed, 21 Feb 2018 09:06:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoV2F-0000B8-M7 for emacs-orgmode@gnu.org; Wed, 21 Feb 2018 09:06:21 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:55579) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eoV2F-0000AS-FY for emacs-orgmode@gnu.org; Wed, 21 Feb 2018 09:06:15 -0500 In-Reply-To: (Ag Ibragimov's message of "Mon, 19 Feb 2018 02:21:42 -0800") 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: Ag Ibragimov Cc: emacs-orgmode@gnu.org Hello, Ag Ibragimov writes: > I'm not sure if that's a legitimate bug, just something I have run into > on my Spacemacs config > > # Description > > org-clock-current-task doesn't update mode-line after refile on capture > > # To reproduce: > > Create a capture template with :clock-in and :clock-keep fields, e.g.: > > ("i" "Immediate" entry (file "tasks.org") > "* ONGOING %?" :clock-in t :clock-resume t :clock-keep t) > > Create an item using the template. > In org-capture dialog - type title, e.g.: "foo" > > # Observed behavior: > > After refiling (C-c C-c) - the task header doesn't update in the modeline. It shows > correctly the time, but not the title. > =org-clock-current-task= contains nil. > Compare that with the regular way of clocking-in (without using > capture) - the title and the variable updates correctly Fixed. Thank you. Regards, -- Nicolas Goaziou