-
Notifications
You must be signed in to change notification settings - Fork 9
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
New feature and elisp rewrite #28
base: master
Are you sure you want to change the base?
Conversation
|
They were part of the TODO keywords in the source code. org-sticky-header/org-sticky-header.el Lines 187 to 188 in 6978759
Purpose |
Indeed, but those changes aren't related to the purpose of this one, so making the change in the same pull request makes the code much more work to review. If that change were to be made, it should be done separately.
Ok, but that issue was from over 3.5 months ago, so I need you to link me to it if you want me to know about it. Regarding the other changes made: Why is |
Thanks for the screenshots. Here are the next steps that need to be taken:
Then this PR could be merged. |
I have been using this code snippet for 3.5 months now, it solved my original problem and it acts better on different themes. My goal was to share this little fix. If there is interest, it can be merged. |
Introduce new option `org-sticky-header-default-face` which allows to use either the org buffer heading theme or the default Emacs `header-line` theme. Corresponding foreground faces are added. Update function `org-sticky-header--heading-string` and use `pcase-let*`.
Added new propery
org-sticky-header-clean-face
.org-sticky-header--heading-string
rewrite for this new property. Elisp code upgrade topcase
andpcase-let*
.