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

Conflict with Org Mode #30

Closed
tanrax opened this issue May 25, 2016 · 4 comments
Closed

Conflict with Org Mode #30

tanrax opened this issue May 25, 2016 · 4 comments

Comments

@tanrax
Copy link

tanrax commented May 25, 2016

Writing returns to be aligned to the left

@joostkremers
Copy link
Owner

This is probably due to the fact that something in org-mode uses the margins and doesn't take their existing width into account.

Do you have any org-specific configurations in your init file? Also, which Emacs version are you using and which Org version? Do you have any minor modes active in your org-mode buffers?

@tanrax
Copy link
Author

tanrax commented May 25, 2016

I have tried all settings commenting :P

screen shot 2016-05-25 at 19 39 26
screen shot 2016-05-25 at 19 39 20
screen shot 2016-05-25 at 19 39 08

@joostkremers
Copy link
Owner

I notice in your screen shots that you have line numbers. If you're using linum-mode for that, then that is probably the cause of the problem. linum-mode is incompatible with writeroom-mode, because it usurps the left margin.

You can use nlinum-mode instead, which is available from ELPA. There are stlll some incompatibilities between nlinum-mode and writeroom-mode but they don't happen so often and are better manageable.

@tanrax
Copy link
Author

tanrax commented May 25, 2016

Thank you! It works perfectly :)
As you said, I installed nlinum-mode
After I changed my setup:
(global-linum-mode t)
to
(global-nlinum-mode t)

Your script wonderful job.

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

No branches or pull requests

2 participants