bbatsov / super-save

Save Emacs buffers when they lose focus
313 stars 20 forks source link

not working in org-mode (doom-emacs) #42

Open freeo opened 1 year ago

freeo commented 1 year ago

Tested with this config:

(use-package! super-save
  :ensure t
  :config
  (super-save-mode +1))

(setq super-save-auto-save-when-idle t)

Works with .md files just fine, but .org files not unfortunately... Was testing windmove-left/right and out of focus events, all the same though.

Thought at first this has something to do with the triggering event but I tried all kinds of stuff, reinstallation and other peoples config.

Also tried removing all other packages and configs, so my doom emacs it was pretty vanilla. Also had a look at the init.el but couldn't find anything obvious that would affect this.

Don't know what else to try...

kindrowboat commented 1 year ago

This worked for me...

in ~/.doom.d/packages.el

(package! super-save)

in ~/.doom.d/config.el

(after! org
  (super-save-mode +1))
freeo commented 1 year ago

Tried this with a couple of variations, but to no avail...

Still using my old workaround until there's help debugging this, so I'm leaving this open.