nvim-orgmode / nvim-orgmode/orgmode

Insert time of day, repeating with calendar choice

Open
#255 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core-feature
Dominant language
Lua
Stars
3.9k
Forks
190
Avg merge
2d 13h
Merged PRs (30d)
7

Description

Does this feature exist in Emacs orgmode core?

N/A

Orgmode link

I am unsure how emacs exactly behaves, I never really got it

Feature value

If I want to insert a date (e.g. a schedule) that has a time of day and/or is repeating, I have to manually go to the date and edit it. It would save me time searching for and moving to the inserted/edited date if I could add time and repeat from the calendar screen.

My suggestion to solve this (just a quick thought, there may be better ideas):

  • a new mapping (e.g. i) will open a new text field
  • you can type time and/or repeating into the text field
  • on <cr> this string will be validated and added to the calender screen
    • if it is not correct, an error will be displayed and the text field stays open
  • when choosing the date via <cr>, the time/repeat will be added to the date object

This could look like this:

┌────────────────────────────────────┐
│             April 2022             │
│ Mon  Tue  Wed  Thu  Fri  Sat  Sun  │
│                     01   02   03   │
│ 04   05   06   07   08   09   10   │
│ 11   12   13   14   15   16   17   │
│ 18   19   20   21   22   23   24   │
│ 25   26   27   28   29   30        │
│                                    │
│ [i] - add time/repeat (12:00 .+1w) │
│ [<] - prev month  [>] - next month │
│ [.] - today   [Enter] - select day │
└────────────────────────────────────┘
Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the calendar screen and its date-selection flow, then clarify the accepted time and repetition syntax and how invalid input should behave. Done requires an agreed design and an implementation plan for entering, validating, and applying those values.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.