help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delete window help


From: bbrady
Subject: Re: delete window help
Date: Tue, 4 Nov 2008 18:20:45 -0800 (PST)
User-agent: G2/1.0

Xah, Thanks for your in-depth response.

I am familiar with macros and am not opposed to using a macro for this
problem. In fact, I have keyboard macros defined for splitting/
switching windows similar to yours (I stumbled across your website
some time ago). However, my original question was slightly more
complicated than the one I posted -- I came up with simplified version
in order to explain it more easily.

So, here's the more complicated part:

The window configuration isn't always the same as the one I gave in
the first post. A lot of times I'll split a window temporarily and
work in one of them, while refering to the other. Then, that other
window will no longer be useful for me, and I want to kill it without
switching from the current window. The problem I have is, how do I
figure out what that 'other' window is? Depending on the order in
which I created the windows, and which window I'm in, using Ctrl-x o
(or Alt+s) might not put me in the correct window. So, I'm looking for
a way to not have to cycle through all the windows.

Going back to my original example, lets say I'm in window 'c' and I
want to delete-window 'a' (whereas before I was in window 'a' and
wanted to delete window 'c'). I can't just switch-window, because
that'll take me to window 'b'. I have to cycle through (in this case,
its only one window, but in general, it can be a lot of windows). So,
is there a way to find a "parent window" so that I know what to pass
to the delete-window function?

bbrady



reply via email to

[Prev in Thread] Current Thread [Next in Thread]