How to prevent commands from stealing emacs windows?

I have been studying GNU Emacs on Windows for the past couple of months. One thing that really scares me is that teams steal or close my windows. For example, when running eshell, it will sometimes put this other window, rather than the current one. I also have an extension for VC for IBM clearcase, which also kills windows when downloading / downloading files.

I would have thought that being able to block a window so that nothing could kill it or steal would be a pretty desirable feature. Does Emacs have this built-in module? I have a feeling this is happening, but I just don’t have the terminology.

Any information would be appreciated.

Hi,

Elliot

+6
emacs
source share
2 answers

Use StickyWindows .

Download sticky-windows.el

put the following lines in .emacs :

 (require 'sticky-windows) (global-set-key [(control x) (?0)] 'sticky-window-delete-window) (global-set-key [(control x) (?1)] 'sticky-window-delete-other-windows) (global-set-key [(control x) (?9)] 'sticky-window-keep-window-visible) 
+6
source share

(info "(emacs) Force Same Window") describes what happens at all.

+3
source share

All Articles