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

Evaluating "super-save-exclude" doesn't seem to work #31

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

Evaluating "super-save-exclude" doesn't seem to work #31

alienbogart opened this issue Oct 26, 2019 · 0 comments

Comments

@alienbogart
Copy link

My Environment

Issue

I have the following to prevent super-save from working on Python files:

(setq super-save-exclude '(".py"))

But it does not work, super-save remain active. In fact, super-save seems to remain active in all modes, in all circumstances, even after I hit M-x super-save-mode. Altering super-save-duration requires a full reboot (I use emacsclient).

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))
@alienbogart alienbogart changed the title "super-save-exclude" doesn't seem to work Evaluating "super-save-exclude" doesn't seem to work Oct 26, 2019
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

1 participant