help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MY window tree!


From: martin rudalics
Subject: Re: MY window tree!
Date: Sun, 14 Jan 2007 12:26:58 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> I have uploaded a preliminary version of winsav.el to
>
>   http://ourcomments.org/Emacs/DL/elisp/test/winsav.el
>

The problem is that the split-windows below will create *new* windows
rather than "reuse" the old ones.  Hence any overlay relationships and
other window-local things get broken by this.

      (dolist (subtree (cdddr saved-tree))
        (add-to-list 'wtree
                     (cons
                      (if ver
                          (split-window-vertically)
                        (split-window-horizontally))
                      subtree)
                     t)

IMO there's no way around retaining sequence numbers of windows when
saving and restoring window trees.  Hardly possible when done at the
Lisp level.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]