unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Restoring windows layout after ediff-regions-wordwise
@ 2021-09-06 12:37 Timur Aydin
  2021-09-06 13:52 ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 2+ messages in thread
From: Timur Aydin @ 2021-09-06 12:37 UTC (permalink / raw)
  To: help-gnu-emacs

Hello folks,

I was looking at a solution to restore my existing window layout after 
quitting ediff and found the following:

https://emacs.stackexchange.com/questions/7482/restoring-windows-and-layout-after-an-ediff-session

The solution is basically two hooks, the first one saving the window 
layout and the other one restoring it. But this solution doesn't work 
for ediff-regions-wordwise. Both the entry and the exit hooks are 
called, I can see that based on messages I have added there. But the 
window layout is not restored, but instead it is messed up even more. 
What could be the problem?

-- 
Timur Aydın
TEL: 536 939 65 88




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

* Re: Restoring windows layout after ediff-regions-wordwise
  2021-09-06 12:37 Restoring windows layout after ediff-regions-wordwise Timur Aydin
@ 2021-09-06 13:52 ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; 2+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-09-06 13:52 UTC (permalink / raw)
  To: help-gnu-emacs

Timur Aydin wrote:

> I was looking at a solution to restore my existing window
> layout after quitting ediff [...]

`save-window-excursion'?

I also remember some explicit method where you'd push the
window state onto some data structure (register? is the word
that comes up ) and then pop (restore) from that.
Don't remember how that happened tho ...

-- 
underground experts united
https://dataswamp.org/~incal




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

end of thread, other threads:[~2021-09-06 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-06 12:37 Restoring windows layout after ediff-regions-wordwise Timur Aydin
2021-09-06 13:52 ` Emanuel Berg via Users list for the GNU Emacs text editor

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