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

Layouts autosave on initial load #5590

Closed
cmccloud opened this issue Mar 25, 2016 · 3 comments
Closed

Layouts autosave on initial load #5590

cmccloud opened this issue Mar 25, 2016 · 3 comments

Comments

@cmccloud
Copy link
Contributor

Description

Spacemacs layers autosave functionality fails to trigger on spacemacs load.

Reproduction guide

  • Start Emacs
    ;; somewhere before layout layer load, e.g. user/init
    (setq layouts-enable-autosave t)

Observed behaviour:
Autosave is not enabled.
spacemacs--layouts-autosave-timer => nil

Expected behaviour:
Autosave enabled.
spacemacs--layouts-autosave-timer => timer-object

Cause
Layouts autosave is added to persp-mode-hooks in the config portion of the layer declaration, while persp-mode is activated in the init portion.

System Info

  • OS: darwin
  • Emacs: 25.0.92.1
  • Spacemacs: 0.105.14
  • Spacemacs branch: develop (rev. 9368cba)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
((auto-completion :variables auto-completion-tab-key-behavior 'complete auto-completion-return-key-behavior nil auto-completion-enable-snippets-in-popup t)
 (shell :variables shell-default-height 30 shell-default-position 'bottom shell-default-shell 'ansi-term)
 helm-spacemacs emacs-lisp clojure javascript react html markdown git github version-control
 (syntax-checking :variables syntax-checking-enable-tooltips nil syntax-checking-enable-by-default nil))
@cmccloud
Copy link
Contributor Author

By the way, @CestDiego, the layer is looking really good =)

@NJBS
Copy link
Contributor

NJBS commented Oct 19, 2016

Do you still experience this issue on the latest Spacemacs release?

@d12frosted
Copy link
Contributor

Closing issue for lack of activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants