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

Impossible to disable super-save-mode #32

Open
alienbogart opened this issue Oct 26, 2019 · 2 comments
Open

Impossible to disable super-save-mode #32

alienbogart opened this issue Oct 26, 2019 · 2 comments

Comments

@alienbogart
Copy link

My Environment

Issue

M-x super-save-mode has no effect in any buffer: it just keeps saving no matter what. To disable it, I need to change my configurations and reboot. Evaluating (super-save-mode +1) or (setq super-save-mode nil) has absolutely no effect.

This is my use-package declaration for super-save:

(use-package super-save
  :defer nil
  :ensure t
  :config
  (setq auto-save-default nil
        auto-save-file-name-transforms `((".*" "~/.emacs.d/var/temp" t))
        auto-save-interval 300
        auto-save-timeout 30
        auto-save-visited-mode t
        super-save-exclude '(".py")
        super-save-auto-save-when-idle t
        super-save-idle-duration 1
        super-save-triggers
        '(balance-windows
          evil-window-next
          evil-window-prev
          eyebrowse-close-window-config
          eyebrowse-create-window-config
          my/no-highlight
          eyebrowse-next-window-config
          eyebrowse-prev-window-config
          eyebrowse-switch-to-window-config-1
          eyebrowse-switch-to-window-config-2
          eyebrowse-switch-to-window-config-3
          eyebrowse-switch-to-window-config-4
          eyebrowse-switch-to-window-config-5
          eyebrowse-switch-to-window-config-6
          eyebrowse-switch-to-window-config-7
          eyebrowse-switch-to-window-config-8
          eyebrowse-switch-to-window-config-9
          next-buffer
          org-babel-execute-src-block
          other-window
          previous-buffer
          split-window-below
          split-window-horizontally
          start-process-shell-command
          switch-to-buffer
          treemacs-select-window
          windmove-down
          windmove-left
          windmove-right
          windmove-up))

  (super-save-mode +1))
@kamoii
Copy link

kamoii commented Feb 18, 2020

@mrbig033 M-x super-save-mode works for me. What does the message say when you try to turn of by M-x super-save-mode(It shoud be Super-Save mode disabled if its working).

@eschutz
Copy link

eschutz commented Jun 29, 2021

I couldn't get super save to disable by default, M-x super-save-mode disabled it in that buffer but setting (super-save-mode -1) did nothing. The only way I could get it to work was by placing a file containing

(provide 'super-save)
(defvar super-save-remote-files nil)
(defvar super-save-idle-timer nil)
(defvar super-save-idle-duration nil)
(defvar super-save-mode nil)
(defvar super-save-mode-map nil)
(defvar super-save-mode-hook nil)
(defvar super-save-triggers nil)
(defvar super-save-auto-save-when-idle nil)
(defvar super-save-hook-triggers nil)
(defvar super-save-exclude nil)

in personal/preload. This makes Prelude think super save is loaded so it doesn't raise an error on startup.

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

3 participants