Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show 1st week of next month in calendar #98

Open
gerazov opened this issue Sep 30, 2021 · 8 comments
Open

Show 1st week of next month in calendar #98

gerazov opened this issue Sep 30, 2021 · 8 comments
Labels
core-feature Feature is in orgmode core

Comments

@gerazov
Copy link
Contributor

gerazov commented Sep 30, 2021

Does this feature exist in Emacs orgmode core?

N/A

Orgmode link

I've not used emacs.

Feature value

It's easier to schedule tasks if one week of next month is also visible in the calendar view. Currently if I want to schedule something on Oct 1, and today is Sep 30, I have to press 7 keys: >kkkkww. With the modification 2 keys ww.

Actually, if we are optimizing the calendar, it would be nice to get rid of the pipes |, without them jumping between dates would be twice as fast 👍

Additional context

No response

@gerazov gerazov added the core-feature Feature is in orgmode core label Sep 30, 2021
@kristijanhusak
Copy link
Member

I agree it's easier, but it's not so easy to implement it. It would require much more logic, and a proper way to distinguish what belongs to next/prev month (highlighting and such).
I think simplest thing would be to jump to the 1st day of month when switching months, that would remove a need for additional movements.
Pipes are there because they delimit the day. If you would put a cursor in between two days (without the pipes) and tried to submit it, Vim would collect one or another, potentially something that you do not expect. I could add an additional validation to not allow submitting if cursor is not on a number though. I'm open for suggestions on that.

@gerazov
Copy link
Contributor Author

gerazov commented Sep 30, 2021

Both make sense 👍

@kristijanhusak
Copy link
Member

I pushed a change that does 2 things:

  1. It jumps to first day of month when going forward, or last day of month when going backward
  2. Removed pipes and added a requirement for a cursor to be on a number

This makes using calendar a bit smoother. Let me know what you think.

@gerazov
Copy link
Contributor Author

gerazov commented Oct 1, 2021

Awesome! 😎 thanks 🙏

gzagatti pushed a commit to gzagatti/orgmode that referenced this issue Oct 19, 2022
gzagatti pushed a commit to gzagatti/orgmode that referenced this issue Oct 19, 2022
@gerazov
Copy link
Contributor Author

gerazov commented Oct 31, 2022

I don't want to necrobump but I was about to create an issue about the same thing around one year later 😅

@jgollenz
Copy link
Contributor

jgollenz commented Nov 2, 2022

I'm unsure I understand the issue fully. Do you propose that

  • the week that the last of the month is displayed in full, even if those days are not part of the current month

OR

  • do you want a whole week of the next month displayed, regardless of which day of the week is the last of the current?

@gerazov
Copy link
Contributor Author

gerazov commented Nov 2, 2022

The first one. It would be useful in weeks like the current one where Monday is 31st. But it's only a marginal thing if it's too difficult to implement 😉

@jgollenz jgollenz reopened this Mar 14, 2023
@jgollenz
Copy link
Contributor

Reopening for now, else this will slip through the cracks.

SlayerOfTheBad pushed a commit to SlayerOfTheBad/orgmode that referenced this issue Aug 16, 2024
SlayerOfTheBad pushed a commit to SlayerOfTheBad/orgmode that referenced this issue Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core-feature Feature is in orgmode core
Projects
None yet
Development

No branches or pull requests

3 participants