wasamasa / eyebrowse

A simple-minded way of managing window configs in emacs
GNU General Public License v3.0
437 stars 24 forks source link

saving window configs using desktop-save-mode #61

Closed technician77 closed 7 years ago

technician77 commented 7 years ago

Did I understand correctly that when I set (desktop-save-mode 1) then the window configs should be saved in the .desktop file, right? My desktop is saved and restored via desktop-save-mode, but the window config is gone. Is there a step that I'm missing?

image After restore: image

It's not a display problem of powerline (anymore), as you can see in pure modeline, the window configs are not restored: image

Would you agree that ivy-views is an alternative? If so you might mention it in the readme. For the moment I use it as a workaround to save window configs.

wasamasa commented 7 years ago

What Emacs version are you on? Window configurations are stored in the frame, desktop.el only supports restoring such variables as of Emacs 24.4.

I haven't tested out ivy much and searching for ivy-views on the web gives me porn and gardening results. I'm open to adding it to the README though.

technician77 commented 7 years ago

I use GNU Emacs 25.2.1 (x86_64-w64-mingw32) of 2017-04-24.

You haven't? Ivy is great in all regards. You need to install ivy/counsel/swiper packages to harness all the power. There are also quite some third party counsel-XXX packages. In a sense it's quite similar to helm, but ivy is minibuffer centric while helm is buffer centric. To me it feels much more native than helm, but ultimately it's a matter of taste I think.

You need to search for "ivy views emacs" in google but here are the links Ivy was a part of swiper, but they are now separate packages but on github they still seem to be combined: https://github.com/abo-abo/swiper Here is the article on ivy-views: https://oremacs.com/2016/06/27/ivy-push-view/

notuntoward commented 7 years ago

I just checked those links but don't see a way to persistently store ivy-views-- getting them back after restarting emacs. An ivy extension that does this kind of desktop configuration saving would be very useful, especially one that handles indirect buffers.

wasamasa commented 7 years ago

Yes, but I don't see how I can be of any help there. Therefore I'm closing this.

mpettigr commented 6 years ago

To persistently store ivy-views, you can use desktop-save-mode and save the variable.