emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-agenda-clock-cancel does not update agenda buffer [9.6.15 (release_9.6.15 @ /nix/store/5hl68vr85cagmwaycqy652r2g2isjcyq-emacs-29.2/share/emacs/29.2/lisp/org/)]
@ 2024-03-21  4:50 z
  2024-03-21 12:57 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: z @ 2024-03-21  4:50 UTC (permalink / raw)
  To: emacs-orgmode

After clocking into an entry (org-agenda-clock-in) from an agenda
buffer (such as org-agenda-list), the entry is highlighted with a face
(org-agenda-clocking).  When the entry is no longer clocked in, e.g.,
by clocking out or marking it DONE, the org-agenda-clocking face is
normally removed.

However, org-agenda-clock-cancel is the exception, as it doesn't
update the clocking entry's appearance.  Pressing r (org-agenda-redo)
fixes the appearance.  I suspect org-agenda-clock-cancel just needs to
call org-agenda-unmark-clocking-task.

Emacs  : GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars)
Package: Org mode version 9.6.15 (release_9.6.15 @ /nix/store/5hl68vr85cagmwaycqy652r2g2isjcyq-emacs-29.2/share/emacs/29.2/lisp/org/)


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

* Re: [BUG] org-agenda-clock-cancel does not update agenda buffer [9.6.15 (release_9.6.15 @ /nix/store/5hl68vr85cagmwaycqy652r2g2isjcyq-emacs-29.2/share/emacs/29.2/lisp/org/)]
  2024-03-21  4:50 [BUG] org-agenda-clock-cancel does not update agenda buffer [9.6.15 (release_9.6.15 @ /nix/store/5hl68vr85cagmwaycqy652r2g2isjcyq-emacs-29.2/share/emacs/29.2/lisp/org/)] z
@ 2024-03-21 12:57 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-03-21 12:57 UTC (permalink / raw)
  To: z; +Cc: emacs-orgmode

z@bcc32.com writes:

> After clocking into an entry (org-agenda-clock-in) from an agenda
> buffer (such as org-agenda-list), the entry is highlighted with a face
> (org-agenda-clocking).  When the entry is no longer clocked in, e.g.,
> by clocking out or marking it DONE, the org-agenda-clocking face is
> normally removed.
>
> However, org-agenda-clock-cancel is the exception, as it doesn't
> update the clocking entry's appearance.  Pressing r (org-agenda-redo)
> fixes the appearance.  I suspect org-agenda-clock-cancel just needs to
> call org-agenda-unmark-clocking-task.

Thanks for reporting!
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5dbf930c2

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

end of thread, other threads:[~2024-03-21 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-21  4:50 [BUG] org-agenda-clock-cancel does not update agenda buffer [9.6.15 (release_9.6.15 @ /nix/store/5hl68vr85cagmwaycqy652r2g2isjcyq-emacs-29.2/share/emacs/29.2/lisp/org/)] z
2024-03-21 12:57 ` Ihor Radchenko

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