Hello

I have an issue with org-timer-set-timer when used on a node with an
effort set of the format “0:0x”. The intended behavior is that this is
evaluated into a timer of x minutes. This works fine in an org-mode
buffer.

However if I try to do the same in a calendar buffer the timer gets set
to x seconds.

The follow hack seems to work around the issue

diff –git a/lisp/org/org-timer.el b/lisp/org/org-timer.el
index 9d4e350429b..76ccd938a44 100644
— a/lisp/org/org-timer.el
+++ b/lisp/org/org-timer.el
@@ -435,7 +435,7 @@ using three \\[universal-argument] prefix arguments."
         (minutes (or (and (numberp opt) (number-to-string opt))
                      (and (not (equal opt ’(64)))
                           effort-minutes
• (number-to-string effort-minutes))
⁃ (format “%d:00” effort-minutes))
  (and (consp opt) default-timer)
  (and (stringp opt) opt)
  (read-from-minibuffer
– 


Emacs  : GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, 
cairo version 1.18.2)
Package: Org mode version 9.7.31 (N/A @ 
/nix/store/kjj6m7c2l5x6jx0wk1k4jxgl07r7k0kc-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9999snapshot1/)

Reply via email to