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

Feat: Add a variable to control whether face-today is applied #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vedang
Copy link

@vedang vedang commented Jan 21, 2023

The new variable cfw:highlight-today gives the user control on whether cfw:face-today is applied to the whole day view or not. The default value t ensures that existing behaviour is not affected.

I use emacs-calfw in Day view mode, and I do not want the cfw:face-today background in Day View. I wouldn't mind it in Week View. Hiding the application of the face behind a variable gives me the control I prefer.

This variable gives the user control on whether `cfw:face-today` is
applied to the whole day view or not. The default value `t` ensures
that existing behaviour is not affected.

I use `emacs-calfw` in Day view mode, and I do not want the
`cfw:face-today` background in Day View. I wouldn't mind it in Week
View. Hiding the application of the face behind a variable gives me
the control I prefer.
vedang added a commit to vedang/calfw-blocks that referenced this pull request Jan 21, 2023
This variable gives me control on whether `cfw:face-today` is applied
to the whole day view or not. This is important because I actually
prefer the colors that `calfw-blocks` uses for rendering the calendar
than the default used by `emacs-calfw`, and setting the new
`cfw:hightlight-today` to nil lets me use it so.

This change has also been contributed back to `emacs-calfw` at:
kiwanami/emacs-calfw#154
vedang added a commit to vedang/calfw-blocks that referenced this pull request Jan 21, 2023
This variable gives me control on whether `cfw:face-today` is applied
to the whole day view or not. This is important because I actually
prefer the colors that `calfw-blocks` uses for rendering the calendar
than the default used by `emacs-calfw`, and setting the new
`cfw:hightlight-today` to nil lets me use it so.

This change has also been contributed back to `emacs-calfw` at:
kiwanami/emacs-calfw#154
vedang added a commit to vedang/emacs-up that referenced this pull request Jan 23, 2023
Visually looking at the day gives a far more visceral understanding of
what you plan to do today.

Note that I am using personal recipes for both these projects, until
the fixes I've made can be merged upstream. The relevant PRs are:

- kiwanami/emacs-calfw#154
- kiwanami/emacs-calfw#155
- ml729/calfw-blocks#1
- ml729/calfw-blocks#2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant