nvim-orgmode / nvim-orgmode/orgmode
org_timestamp_{up,down} with count behaves unexpectedly on minutes
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.9k
- Forks
- 190
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
Describe the bug
When using org_timestamp_{up,down} with a count on minutes, the value is changed by count times org_time_stamp_rounding_minutes rather than count minutes.
Also there's inconsistent spelling of timestamp and time_stamp in the options.
Steps to reproduce
set org_time_stamp_rounding_minutes = 5- put cursor on minutes part of datetime
- do
15<C-A>
Expected behavior
15<C-A> increases 15 minutes regardless of the value of org_time_stamp_rounding_minutes.
Emacs functionality
No response
Minimal init.lua
Reproducible on default settings.
Screenshots and recordings
No response
OS / Distro
Arch
Neovim version/commit
NVIM v0.7.2
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the org_timestamp_{up,down} implementation and the org_time_stamp_rounding_minutes option handling, then reproduce the reported 15-minute increment with rounding set to 5. Done means a count changes minutes by that many minutes independently of rounding, with the timestamp option spelling made consistent if it remains in scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100