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
Dim org-mode's headings leading stars #30
Comments
I did it like this:
Of course you'll have to adjust the colors to your own theme as necessary. EDIT: The trick was to look at the
|
Sorry it took so long. I’ve added |
Add ‘auto-dim-other-buffers-hide-face’ which has foreground and background set to the same colour. In effect, text rendered using that face is invisible. This is intended as a remapping for faces which hide the text such as ‘org-hide’ face (which otherwise show the text when window is dimmed). The face is added to ‘auto-dim-other-buffers-affected-faces’ list as a remapping for ‘org-hide’ but any other faces which are meant to hide the text may need to be added separately to that list. Fixes: #30
In an org-mode file, you can "hide" the leading stars of a heading, by using the org-hide face. The foreground of this face is supposed to be equal to the background of the frame, this way, the leading stars won't be visible.
Only thing is that, with auto-dim, the background color of the frame changes, while the org-hide face doesn't change.
I could make it work, as you can see here: https://git.titibandit.eu/thibaut/auto-dim-other-buffers.el/commit/047280b3735a1c351f4bbe4f22cad47938e70b89
But there, I've hardcoded the color of my background, I'm not sure how I can automatically retrieve the dimmed background color. When this is achieved, maybe we can merge this in here?
For reference, without the fix, dimmed org-mode buffers look like this:
The text was updated successfully, but these errors were encountered: