emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Ag Ibragimov <agzam.ibragimov@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: refile from capture template doesn't update org-clock-current-task [9.1.6 (9.1.6-57-gec8590-elpaplus @ /Users/ag.ibragimov/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/)]
Date: Wed, 21 Feb 2018 15:06:12 +0100	[thread overview]
Message-ID: <87bmgijv3f.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <b8d484lmdjn49.fsf@gmail.com> (Ag Ibragimov's message of "Mon, 19 Feb 2018 02:21:42 -0800")

Hello,

Ag Ibragimov <agzam.ibragimov@gmail.com> 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

  reply	other threads:[~2018-02-21 14:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-19 10:21 Bug: refile from capture template doesn't update org-clock-current-task [9.1.6 (9.1.6-57-gec8590-elpaplus @ /Users/ag.ibragimov/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/)] Ag Ibragimov
2018-02-21 14:06 ` Nicolas Goaziou [this message]
2018-05-18 20:58   ` agzam.ibragimov

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=87bmgijv3f.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=agzam.ibragimov@gmail.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).