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

Howto get a persistent spacemacs window position and size? #5095

Closed
triklsbg opened this issue Feb 16, 2016 · 7 comments
Closed

Howto get a persistent spacemacs window position and size? #5095

triklsbg opened this issue Feb 16, 2016 · 7 comments
Labels

Comments

@triklsbg
Copy link

What is the minimum action required to get a ... between spacemacs restarts? Shouldn't be this a faq-candidate ? or the default behaviour ?

@Andre0991
Copy link
Contributor

I think the layer spacemacs-layouts can do that. It uses persp-mode.el to do it.

@synic
Copy link
Contributor

synic commented Feb 16, 2016

This fellow made a layer to do it: https://github.com/aaronjensen/spacemacs.d/tree/master/layers/frame-geometry

@synic
Copy link
Contributor

synic commented Feb 16, 2016

Also here is a gist if you just want to put it in your .spacemacs: https://gist.github.com/synic/0357fdc2dcc777d89d1e

@triklsbg
Copy link
Author

Thanks synic! I didn't expected such an expensive solution. @Andre0991: I will take a look at spacemacs-layouts.
@StreakyCobra: The faq- and default-part of the question remains open for me.

@StreakyCobra
Copy link
Contributor

@triklsbg According to #1585 (comment) it seems that spacemacs-layout offers this possibility. I have a tailing window manager so I can't test, but I suppose you can try it by setting dotspacemacs-auto-resume-layouts to t in your .spacemacs.

CC @nixmaniack

@nixmaniack
Copy link
Contributor

In case it gets more confusing, I referenced spacemacs-layouts in #1585 considering that OP wants to restore emacs window layout posioning, not the OS window(frame in emacs jargon) positioning. If that's the case then what synic pointed is the way to go. I had that kind of snippet some time back, not anymore(as I use one frame with many layouts now)

@StreakyCobra
Copy link
Contributor

Indeed it's confusing even in the linked issue. Ok, so spacemacs-layout is not a solution then.

@triklsbg As you just went through this configuration, you are the best person to write the FAQ entry :-) It's a nice way to get started if you want to contribute. Please just read the guidelines first. If you can't or don't want to, I'll reopen it and mark it as beginner friendly documentation.

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

No branches or pull requests

5 participants