Add option to make the leading stars invisible#4
Closed
lmintmate wants to merge 1 commit into
Closed
Conversation
From sabof#13. I wanted to remove the indentation from the org levels and this pull request against the original repository did this. I however had to make the changes to this file by hand because the emacsorphanage version has added most of the stuff that used to be in the minor mode definition in the org-bullets--keywords variable instead and there would thus be a conflict if I attempted to merge the specific commits.
|
Thanks!
I have more experience dealing with conflicts, so I have redone this while preserving the original commits (well the messages and authorship information). I have pushed the result to the Before merging that I want to improve the doc-string and think about changing the name of the option. |
|
I am afraid this conflicts with with sabof#19. I have pushed a version of that to the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the option to make the leading stars completely invisible, and not just hidden by means of color, via the variable
org-bullets-invisible-leading-stars(nilby default).In particular, when this variable is set to
t, the headings will look likeinstead of
This is useful if the contents of
org-bullets-bullet-listmake obvious the level of each heading, and thus indentation in that case is superfluous.Note that the code of this PR originally came from sabof#13, and, as the original PR modified a part of the minor mode definition, which was moved to the
org-bullets--keywordsvariable instead in the emacsorphanage version, a modification to move some code in its new proper place had to be done in comparison to the original PR.P.S. I've been using a forked version of org-bullets with this code added in my own emacs config for about a month without problems, and thus thought that it would be nice if it could be added to the upstream emacsorphanage repo, so that others can benefit from it.