From: Nikolaj Schumacher <n_schumacher@web.de>
To: "Antoine Hersen" <antoine.hersen@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Closing windows in frame
Date: Sun, 27 Apr 2008 20:44:10 +0200 [thread overview]
Message-ID: <m2mynfjfyd.fsf@nschum.de> (raw)
In-Reply-To: <c281860e0804261800l2bd62193gde0ffab7efd122ce@mail.gmail.com> (Antoine Hersen's message of "Sat\, 26 Apr 2008 18\:00\:11 -0700")
"Antoine Hersen" <antoine.hersen@gmail.com> wrote:
> When I have a frame split in many windows and I check changes into a
> version control, one of the windows will be used to ask me for a
> change log. But when I am done and use C-c C-c the windows collapse
> modifying my nicely layout.
I was once bugged by a similar behavior of `vc-revert-buffer'. I used
the following:
(defadvice vc-revert-buffer (around restore-window-config activate)
"Stop `vc-revert-buffer' from closing any windows."
(interactive)
(let ((win-config (current-window-configuration)))
ad-do-it
(set-window-configuration win-config)))
You could try that with vc-revert-buffer replaced with whatever C-c C-c
is bound to.
regards,
Nikolaj Schumacher
prev parent reply other threads:[~2008-04-27 18:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-27 1:00 Closing windows in frame Antoine Hersen
2008-04-27 18:30 ` Nikolaj Schumacher
2008-04-27 18:44 ` Nikolaj Schumacher [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2mynfjfyd.fsf@nschum.de \
--to=n_schumacher@web.de \
--cc=antoine.hersen@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).