Is there any way to set some windows non visitable in emacs?
For example, in gdb show-many-windows view, I dont want to switch to local variables window or stack window every time.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
C-x o is set to
other-window. It is notoriously hard to customize, but here you go: It respects the window parameter'no-other-window. Your goal will be to do(set-window-parameter gdb-window 'no-other-window t). Now, the only part that remains is to hook us intogudand set those properties on the windows.A good start is
Someone will probably haggle about the name, as the window is not truly unselectable, but it will make do.