From: bbrady <bryan.brady@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: delete window help
Date: Tue, 4 Nov 2008 09:57:58 -0800 (PST) [thread overview]
Message-ID: <43daba71-dcd5-4471-836b-00a0976c0e3d@j40g2000prh.googlegroups.com> (raw)
Hi,
I want to use the delete-window function to delete a certain window
without having to switch to that window first. Here is an example:
I start a fresh emacs session. Then I do split-window-horizontally
( \C-x 3 ). In the left most window, I then do, split-window ( \C-x
2 ). Now I have the following window configuration:
----------------------
| | |
| a | |
| _____| b |
| | |
| c | |
| | |
----------------------
Now I want to change that configuration to:
----------------------
| | |
| | |
| a | b |
| | |
| | |
| | |
----------------------
There are 2 ways I know of to do this:
1) switch to window 'c' and call delete-window
2) switch to either window 'a' or 'b' and call delete-other-windows,
then split-window-horizontally, and switch to the appropriate buffer
('b' or 'a', respectively)
I want to do this without switching away from window 'a'. Is this
possible? I think it is, but I'm not sure how to do it. The delete-
window function takes an optional argument 'window'. So, I should be
able to delete whatever window I want, just as long as I have the
correct 'window'. Any ideas on how I can get the correct 'window'? Or
any other solutions to this?
Thanks for any help,
bbrady
next reply other threads:[~2008-11-04 17:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-04 17:57 bbrady [this message]
2008-11-04 20:42 ` delete window help Xah
2008-11-04 21:41 ` bbrady
2008-11-04 22:47 ` aartist
2008-11-05 1:47 ` Xah
2008-11-05 2:20 ` bbrady
2008-11-05 6:39 ` Xah
2008-11-05 16:56 ` aartist
2008-11-05 21:15 ` bbrady
2008-11-05 22:41 ` Chetan
2008-11-06 0:48 ` bbrady
[not found] ` <u3ai5389e.fsf@myhost.sbcglobal.net>
2008-11-06 17:29 ` bbrady
2008-11-06 16:30 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43daba71-dcd5-4471-836b-00a0976c0e3d@j40g2000prh.googlegroups.com \
--to=bryan.brady@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.