Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Saving Window Configurations in Emacs

Tags:

I'm wondering if there's a way to save window configurations across emacs sessions. I know desktop-save is fantastic for preserving buffers and whatnot and the emacs manual demonstrates storing a window configuration into a register but this doesn't persist across sessions.

Of course this doesn't seem like it would be too hard to implement myself...

like image 275
dnolen Avatar asked Dec 24 '08 22:12

dnolen


People also ask

What is window config?

A window configuration records the entire layout of one frame—all windows, their sizes, their decorations, which buffers they contain, how those buffers are scrolled, and their value of point, It also includes the value of minibuffer-scroll-window .

How do I change windows in Emacs?

To select a different window, click with Mouse-1 on its mode line. With the keyboard, you can switch windows by typing C-x o ( other-window ).

How do I open multiple windows in Emacs?

You can split a window horizontally or vertically by clicking C-Mouse-2 in the mode line or the scroll bar.

What is a window in Emacs?

A window is an area of the screen that can be used to display a buffer (see Buffers). Windows are grouped into frames (see Frames). Each frame contains at least one window; the user can subdivide a frame into multiple, non-overlapping windows to view several buffers at once.


1 Answers

EmacsWiki is a great resource: EmacsWiki: Session Management

Looks like Windows Mode, or more specifically revive.el, is what you want.

like image 93
Joe Casadonte Avatar answered Oct 27 '22 01:10

Joe Casadonte