From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Zeng Subject: Re: Bug: org-clock-cancel doesn't set org-clock-current-task correctly [9.2.3 (9.2.3-23-g967801-elpaplus @ /.emacs.d/elpa/26.2/develop/org-plus-contrib-20190603/)] Date: Mon, 10 Jun 2019 22:51:18 -0400 Message-ID: References: <87tvcwhmel.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000026b78c058b03615f" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38550) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1haWx7-0004Mr-4u for emacs-orgmode@gnu.org; Mon, 10 Jun 2019 22:56:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1haWtC-0003R9-Hu for emacs-orgmode@gnu.org; Mon, 10 Jun 2019 22:51:59 -0400 Received: from mail-ot1-f50.google.com ([209.85.210.50]:46460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1haWtA-0003Pk-RJ for emacs-orgmode@gnu.org; Mon, 10 Jun 2019 22:51:57 -0400 Received: by mail-ot1-f50.google.com with SMTP id z23so10358715ote.13 for ; Mon, 10 Jun 2019 19:51:56 -0700 (PDT) Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com. [209.85.210.52]) by smtp.gmail.com with ESMTPSA id j62sm4910100otc.31.2019.06.10.19.51.54 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jun 2019 19:51:55 -0700 (PDT) Received: by mail-ot1-f52.google.com with SMTP id z24so10396455oto.1 for ; Mon, 10 Jun 2019 19:51:54 -0700 (PDT) In-Reply-To: <87tvcwhmel.fsf@kyleam.com> 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: Kyle Meyer Cc: emacs-orgmode@gnu.org --00000000000026b78c058b03615f Content-Type: text/plain; charset="UTF-8" Yes, I still see this with a vanilla config. I tried with [emacs -q] and the builtin org mode (9.1.9), as well as with 967801. On Mon, Jun 10, 2019 at 10:43 PM Kyle Meyer wrote: > Aaron Zeng writes: > > > (I'm running org mode from the Spacemacs org layer, which includes the > > org-plus-contrib package). > > > > Reproduction: > > 1. Create a new entry "* TODO Temp" > > 2. Clock in under that entry > > 3. Cancel the clock > > 4. [M-x describe-variable org-clock-current-task] is still set to > > "Temp" instead of being nil, which is what I expected. > > 5. In Spacemacs with the spaceline-all-the-icons mode line, "Temp" > > still appears in the "currently clocked task" position. > > > > Emacs : GNU Emacs 26.2 (build 1, x86_64-w64-mingw32) > > of 2019-04-13 > > Package: Org mode version 9.2.3 (9.2.3-23-g967801-elpaplus @ > > /.emacs.d/elpa/26.2/develop/org-plus-contrib-20190603/) > > Following your steps on commit 967801 (which matches your version > output), I'm unable to trigger the issue (i.e. org-clock-current-task is > nil following 3). > > If you try with a vanilla configuration and Org loaded, do you still see > the issue? Perhaps there's an interaction with a configuration value. > > -- > Kyle > --00000000000026b78c058b03615f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, I still see this with a vanilla config.=C2=A0 I tried= with [emacs -q] and the builtin org mode (9.1.9), as well as with 967801.<= /div>
O= n Mon, Jun 10, 2019 at 10:43 PM Kyle Meyer <kyle@kyleam.com> wrote:
Aaron Zeng <me@bcc32.com> writes:

> (I'm running org mode from the Spacemacs org layer, which includes= the
> org-plus-contrib package).
>
> Reproduction:
> 1. Create a new entry "* TODO Temp"
> 2. Clock in under that entry
> 3. Cancel the clock
> 4. [M-x describe-variable org-clock-current-task] is still set to
> "Temp" instead of being nil, which is what I expected.
> 5. In Spacemacs with the spaceline-all-the-icons mode line, "Temp= "
> still appears in the "currently clocked task" position.
>
> Emacs=C2=A0 : GNU Emacs 26.2 (build 1, x86_64-w64-mingw32)
>=C2=A0 of 2019-04-13
> Package: Org mode version 9.2.3 (9.2.3-23-g967801-elpaplus @
> <snip>/.emacs.d/elpa/26.2/develop/org-plus-contrib-20190603/)
Following your steps on commit 967801 (which matches your version
output), I'm unable to trigger the issue (i.e. org-clock-current-task i= s
nil following 3).

If you try with a vanilla configuration and Org loaded, do you still see the issue?=C2=A0 Perhaps there's an interaction with a configuration va= lue.

--
Kyle
--00000000000026b78c058b03615f--