reddit / emacs

Have new frames open in same window below

pudentia · 2022-08-30 04:28
Can someone direct me to the right customization. With multiple Windows open in one frame I would like to direct Emacs to open a new window when I run python code using \`run-python\`, but *below* the current one, rather than to the left or right of the other windows.
7890yuiop · 2022-08-30 08:40
Could you delete this question and post it again with a title that makes sense? Your body text is fine, but the title is very mixed up.
pudentia · 2022-08-30 11:47
Sorry. Next time I will try to be clearer.
pudentia · 2022-08-30 11:47
I found the answer. This is what I needed: `(add-to-list 'display-buffer-alist` `'("^\\*python3\\*$" . (display-buffer-below-selected)))`
pudentia · 2022-09-01 05:56
Anyone know how to keep point in the current window?