[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reinstating windows state after ediff
From: |
Sandip Chitale |
Subject: |
Re: Reinstating windows state after ediff |
Date: |
11 Jun 2003 18:41:56 -0700 |
Have you looked into:
"
window-configuration-to-register is an interactive compiled Lisp
function in `register'.
(window-configuration-to-register REGISTER &optional ARG)
Store the window configuration of the selected frame in register
REGISTER.
Use C-x r j to restore the configuration.
Argument is a character, naming the register.
"
and binding it to some keys to save and restore the window
configuration?
Chris Stork <cs-newsgroups@nil.ics.uci.edu> wrote in message
news:<mailman.7726.1055357572.21513.help-gnu-emacs@gnu.org>...
> Sometimes I split my frames in different ways into windows. Always
> after I use ediff this window state is lost.
>
> It seems that I have to find/write appropriate functions to add to
> ediff-{before,after}-setup-window-hook. Has anybody done something like
> this already?
>
> (Maybe it's a good idea to open a new frame for the two compared files
> and then (optionally) destroy it after ediff is done. Pro: it does not
> even touch any of the other frames. Con: it does not work on a
> terminal, which is fine for my puposes.)
>
> Thanks,
> Chris