Closed tanrax closed 8 years ago
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?
I have tried all settings commenting :P
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.
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.
Writing returns to be aligned to the left