unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Reinstating windows state after ediff
@ 2003-06-11 17:13 Chris Stork
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Stork @ 2003-06-11 17:13 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Reinstating windows state after ediff
       [not found] <mailman.7726.1055357572.21513.help-gnu-emacs@gnu.org>
@ 2003-06-11 20:07 ` Stefan Monnier
  2003-06-11 22:01   ` Chris Stork
  2003-06-12  1:41 ` Sandip Chitale
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2003-06-11 20:07 UTC (permalink / raw)


>>>>> "Chris" == Chris Stork <cs-newsgroups@nil.ics.uci.edu> writes:
> (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.)

Huh?  What makes you think it doesn't work on a terminal ?


        Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Reinstating windows state after ediff
  2003-06-11 20:07 ` Reinstating windows state after ediff Stefan Monnier
@ 2003-06-11 22:01   ` Chris Stork
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Stork @ 2003-06-11 22:01 UTC (permalink / raw)


Stefan Monnier wrote:

>>>>>>"Chris" == Chris Stork <cs-newsgroups@nil.ics.uci.edu> writes:
>>
>>(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.)
> 
> 
> Huh?  What makes you think it doesn't work on a terminal ?

Ignorance.  ;-)  I (almost) never use "emacs -nw", so I assumed frames 
don't work then.  Just thinking about it for a second made me realize my 
mistake.

-Chris

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Reinstating windows state after ediff
       [not found] <mailman.7726.1055357572.21513.help-gnu-emacs@gnu.org>
  2003-06-11 20:07 ` Reinstating windows state after ediff Stefan Monnier
@ 2003-06-12  1:41 ` Sandip Chitale
  1 sibling, 0 replies; 4+ messages in thread
From: Sandip Chitale @ 2003-06-12  1:41 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-06-12  1:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.7726.1055357572.21513.help-gnu-emacs@gnu.org>
2003-06-11 20:07 ` Reinstating windows state after ediff Stefan Monnier
2003-06-11 22:01   ` Chris Stork
2003-06-12  1:41 ` Sandip Chitale
2003-06-11 17:13 Chris Stork

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).