What happened?
I added to my config:
(setq! org-src-window-setup 'current-window)
(set-popup-rule! "^\\*Org Src"
:actions '(display-buffer-same-window)
:side nil
:width nil
:height nil
:size nil
:quit nil
:select t
:modeline t)
After this if I want to edit src block with "C-c ’ " it opens in the same window. But after I close it with “C-c C-c” my window configuration gets messed up. Window that used to contain org-src buffer gets dragged to the bottom of emacs frame.
What did you expect to happen?
It should act as I didn’t have popup.el and set org-src-window-setup to 'current-window. It shouldn’t rearrange my windows.
Steps to reproduce
- run attached code
- open 2 vertical windows, one containing org file with src block
- enter src block, press "C-c ’ " and than “C-c C-c” . Your windows are now horizontal.
System information
Loading data dump...