emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug#52547: 29.0.50; Confusing behavior of org-timer-set
       [not found] <m2bl1gu7zi.fsf@me.com>
@ 2021-12-17  4:45 ` Kyle Meyer
  2021-12-17 21:30   ` Rudolf Adamkovič via General discussions about Org-mode.
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle Meyer @ 2021-12-17  4:45 UTC (permalink / raw)
  To: Rudolf Adamkovič; +Cc: 52547

Rudolf Adamkovič:

> Reproduction steps:
>
> 1. run 'emacs -Q'
> 2. type M-; and then "(require 'org)"
> 3. type M-x and then 'org-timer-set'

This must be org-timer-set-timer; there's no org-timer-set in Org's
tree.

> 4. see 'How much time left? (minutes or h:mm:ss)'
> 5. type '10m'
>
> Expected: The timer runs for 10 minutes.
> Actual: The timer runs for 10 seconds.
>
> From the perspective of the user, this makes no sense.

Yes, it seems better to at least signal a user-error if the input
doesn't match the expected format.

Anyway, I'm redirecting this to the Org list.  Perhaps someone there
will be interested in improving this behavior or reviewing a patch that
does so.

> P.S. I would also expect auto-load on "org-timer-set".

org-timer-set-timer has been autoloaded since 4e2795413 (Add autoload
cookie to org-timer-set-timer, 2009-07-27).





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

* bug#52547: 29.0.50; Confusing behavior of org-timer-set
  2021-12-17  4:45 ` bug#52547: 29.0.50; Confusing behavior of org-timer-set Kyle Meyer
@ 2021-12-17 21:30   ` Rudolf Adamkovič via General discussions about Org-mode.
  0 siblings, 0 replies; 2+ messages in thread
From: Rudolf Adamkovič via General discussions about Org-mode. @ 2021-12-17 21:30 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: 52547

Kyle Meyer <kyle@kyleam.com> writes:

> This must be org-timer-set-timer; there's no org-timer-set in Org's
> tree.

Correct. My apologies.

> Yes, it seems better to at least signal a user-error if the input
> doesn't match the expected format.

Agreed.  Or perhaps recognize h/m/s, like org-schedule does.

> Anyway, I'm redirecting this to the Org list.  Perhaps someone there
> will be interested in improving this behavior or reviewing a patch that
> does so.

Thank you!  (Org remains strangely "disconnected" from Emacs.)

> org-timer-set-timer has been autoloaded since 4e2795413 (Add autoload
> cookie to org-timer-set-timer, 2009-07-27).

Correct.  My apologies again.

-- 
"I love deadlines. I love the whooshing noise they make as they go by." -- Douglas Adams, The Salmon of Doubt

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia




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

end of thread, other threads:[~2021-12-17 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m2bl1gu7zi.fsf@me.com>
2021-12-17  4:45 ` bug#52547: 29.0.50; Confusing behavior of org-timer-set Kyle Meyer
2021-12-17 21:30   ` Rudolf Adamkovič via General discussions about Org-mode.

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