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

Support org-adapt-indentation #272

Merged
merged 10 commits into from
Apr 6, 2020

Conversation

cpbotha
Copy link
Contributor

@cpbotha cpbotha commented Apr 5, 2020

This is on top of the yet-to-be-merged PR #271.

Here we add support for an org-adapt-indentation compatible setting.

By default (org-adapt-indentation t), heading body is indented according to the nesting level of the heading. When this new setting is enabled in the organice UI, we follow org-adapt-indentation nil instead, i.e. all text is kept flush left.

Some users prefer this, because then they have the option to switch dynamically between indent / no-indent modes with org-indent-mode.

@munen
Copy link
Collaborator

munen commented Apr 5, 2020

Merged master to make existing tests on CI green.

@munen
Copy link
Collaborator

munen commented Apr 5, 2020

I have rebased this PR on top of master so this PR only shows it's own changes.

@cpbotha cpbotha changed the title WIP: support org-adapt-indentation Support org-adapt-indentation Apr 6, 2020
@cpbotha
Copy link
Contributor Author

cpbotha commented Apr 6, 2020

Dear @munen - this PR is now ready for your review.

@munen
Copy link
Collaborator

munen commented Apr 6, 2020

lgtm!

@munen munen merged commit e096e55 into 200ok-ch:master Apr 6, 2020
@munen
Copy link
Collaborator

munen commented Apr 6, 2020

I've updated the changelog with your attribution accordingly: 8b63808

Thank you very much for your effort and the great implementation! 🙏

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.

2 participants