From: martin rudalics <rudalics@gmx.at>
To: sds@gnu.org
Cc: 11365@debbugs.gnu.org
Subject: bug#11365: 24.1.50; quitting gdb does not restore window configuration
Date: Sun, 06 May 2012 12:25:07 +0200 [thread overview]
Message-ID: <4FA65183.8070003@gmx.at> (raw)
In-Reply-To: <87y5p57tqe.fsf@gnu.org>
> quit-window is not a solution, because it often kills the window.
Only if it was specially created by `display-buffer' before.
> I live in a maximized emacs frame which is split vertically in to two
> columns, and an indiscriminate use of quit-window quickly destroys that.
This should not happen in the case at hand: The gud window is either
created or reused via `display-buffer'.
Anyway, we could provide a `quit-window-function' variable. Or maybe a
`display-buffer-record-window-function' which can set up the
quit-restore parameter in some way and, if the first element of the
quit-restore parameter is a function, have `quit-window' call that
function, passing it the cdr of the quit-restore parameter as argument.
> In fact, I would like a feature which would make these two side-by-side
> windows indestructible (i.e., prevent them from being destroyed other
> than by an explicit interactive C-x 0). I guess I can set their
> delete-window parameters to ignore but then
>
> -1- C-x 0 will NOT delete them while
You could set the `delete-window' parameter to some home-brewed function
that deletes the window for C-x 0 only. Probably, you then might have
to do something similar for C-x 1 ...
> -2- any application which binds ignore-window-parameters to t will
> delete them.
Applications binding `ignore-window-parameters' should know what they
are doing.
> but I digress...
martin
next prev parent reply other threads:[~2012-05-06 10:25 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-27 18:40 bug#11365: 24.1.50; quitting gdb does not restore window configuration Sam Steingold
2012-04-27 19:01 ` Eli Zaretskii
2012-04-27 19:34 ` Sam Steingold
2012-04-28 6:51 ` Eli Zaretskii
2012-04-28 8:25 ` martin rudalics
2012-04-30 22:14 ` Sam Steingold
2012-05-01 8:09 ` martin rudalics
2012-05-01 12:25 ` Sam Steingold
2012-05-02 9:39 ` martin rudalics
2012-05-02 14:16 ` Sam Steingold
2012-05-05 9:42 ` martin rudalics
2012-05-06 5:40 ` Sam Steingold
2012-05-06 10:25 ` martin rudalics [this message]
2020-09-27 12:41 ` Lars Ingebrigtsen
2020-09-27 12:56 ` Eli Zaretskii
2020-09-27 13:00 ` Lars Ingebrigtsen
2020-09-27 13:02 ` Eli Zaretskii
2022-04-25 15:05 ` Lars Ingebrigtsen
2022-05-24 12:51 ` Lars Ingebrigtsen
2012-05-01 15:54 ` Eli Zaretskii
2012-05-02 9:40 ` martin rudalics
2012-05-02 16:02 ` Eli Zaretskii
2012-05-05 9:42 ` martin rudalics
2012-05-05 9:49 ` Eli Zaretskii
2012-05-05 10:24 ` martin rudalics
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=4FA65183.8070003@gmx.at \
--to=rudalics@gmx.at \
--cc=11365@debbugs.gnu.org \
--cc=sds@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.