Questions tagged [window-configuration]

9 questions
3
votes
1 answer

How do you serialize a window-configuration?

Suppose I used C-x r w to run window-configuration-to-register, and suppose I saved it to the register k. Later, when I read back the register, I get this. ELISP> (get-register ?k) (# #) Is there any…
g-gundam
  • 1,096
  • 1
  • 3
  • 13
3
votes
1 answer

How to save and restore the association of a window to buffer across Emacs sessions?

I have a window layout with three windows and I would like Emacs to remember the buffers even if the buffers don't exist after restart. Context: I am using Spacemacs for Clojure development. In window #1 I have my sourcecode. In window #2 I have…
Witek
  • 335
  • 1
  • 11
2
votes
1 answer

Change and later restore the window configuration of a frame

Imagine I have a frame containing some number of windows—sometimes only one, sometimes split in various ways. Now imagine that one of the displayed windows contains an org-mode buffer. What I want is: When I invoke org-edit-src-code, I want…
Colin Fraizer
  • 740
  • 4
  • 12
1
vote
2 answers

save a specific layout

I am pretty new to emacs (doom-emacs in this case) and I have an idea of what I want to do, but not sure how to do it. What I am after is that when I open a .js file, I want to split my window into 3. one small window on the left where I want to run…
1
vote
1 answer

How to restore a window configuration after reboot?

I have foo.txt on the left and a terminal on the right: |-------|----------| |foo.txt|ansi@term>| |-------|----------| How can I restore the layout of the windows with the same buffers displayed after reboot? I'v installed…
jjk
  • 705
  • 4
  • 16
0
votes
1 answer

Let-bind diplayed windows and their size/posizion

Can I let-bind diplayed windows and their size/posizion? Is there a variable that stores these infos? I need to run a script that will change the diplayed windows, opening some help temp buffers. At the end of the script I'd like to restore the…
Gabriele Nicolardi
  • 1,199
  • 8
  • 17
0
votes
0 answers

How to debug emacs config / need to rerun org-mode after startup

I run emacs on Windows and I start with this command: C:\path-to\emacs.exe -q --load "C:/path-to-git-tracked-config-folder/.emacs" --debug-init Emacs starts without error from --debug-init. When I open a .org file the major mode is set correctly to…
0
votes
1 answer

Get org-agenda toggle all agenda and todo below frame (similar to ivy list buffer)

I have this function: (defun org-agenda-show-agenda-and-todo (&optional arg) (interactive "p") (org-agenda arg "n")) When calls, it will toggle a window with all of my current agenda and todo, like the pic below: As you can see, it…
mle0312
  • 295
  • 1
  • 8
0
votes
0 answers

How to fix window configuration?

I use spacemacs and sometimes I need to fix window configuration 4 windows. Could somebody help with it? I want to create 4 windows (split vertically and then both split horizontally)Then call some command like toggle-window-configuration-frozen and…
mshogin
  • 1
  • 2