I'm getting this very strange behavior while using olivetti: when calling save-buffer the display goes back to the left margin, as if olivetti has stopped working. If I call olivetti-mode, it shows that it's still enabled, and it stays to the left until I zoom in or out (ctrl-+ on doom). I only get this behavior in org buffers..

Is it possible that there's an after-save-hook that only runs in org mode? how can I check that?


  • You could try C-h v after-save-hook RET and see the value of the hook, if that's where the problem could be. – Manuel Uberti May 19 at 11:16
  • thanks! I have: (+vc-gutter-init-maybe-h org-roam-db-update org-roam--handle-title-change flycheck-handle-save t ws-butler-after-save) non of which look suspicious – Jonathan Sahar May 20 at 12:07
  • You say you are using Doom. Does olivetti behaves the same from emacs -Q? If so, you should report it as a bug at github.com/rnkn/olivetti – Manuel Uberti May 21 at 9:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.