fniessen / emacs-leuven-theme

This Emacs theme reduces eye strain with a light, high-contrast color scheme, syntax highlighting, and support for multiple modes. Enhance your coding experience! #emacs #theme #coding #orgmode
GNU General Public License v3.0
696 stars 59 forks source link

hidestars / org-indent-mode only hiding level 2 stars #51

Closed cpbotha closed 4 years ago

cpbotha commented 6 years ago

With #+STARTUP: hidestars, orgmode hides the initial stars in headings. See the attached solarized-light theme rendering for an example of what this looks like. However, somehow this only works on level 2 headings for Leuven, with all deeper headings it does not manage to hide the leading starts.

#+STARTUP: hidestars

* level 1 heading

** level 2 heading

*** level 3

**** level 4

***** level 5

image

image

fniessen commented 6 years ago

test-emacs-leuven

It works for me, without doing anything special.

Which version are you using? The one built-in with Emacs, or the one from MELPA? Try to look for the version number....

cpbotha commented 6 years ago

Thank you very much for getting back to me!

Seeing your example's background made me remember that I had edited my elpa-installed leuven-theme.el to have a slightly less bright background (the grey you can see in my example):

@@ -148,7 +148,7 @@
   (custom-theme-set-faces
    'leuven
-   `(default ((,class (:foreground "#333333" :background "#FFFFFF"))))
+   `(default ((,class (:foreground "#333333" :background "#EFEFEF"))))
    `(bold ((,class (:weight bold :foreground "black"))))
    `(bold-italic ((,class (:weight bold :slant italic :foreground "black"))))

Most probably due to my limited understanding of emacs themes, this change somehow neutralised the org-hide setting / hiding mechanism.

You can close this issue. :) (If you have any tips why that single change breaks org-hide, I would be most grateful to hear them!)

fniessen commented 4 years ago

Dear @cpbotha , thanks for helping cleaning up… Much appreciated!