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

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

Re: MY window tree!


From: Lennart Borgman (gmail)
Subject: Re: MY window tree!
Date: Sun, 14 Jan 2007 18:56:44 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

martin rudalics wrote:
 > Yes, it creates new windows and window local things will get broken. But
 >  I do not understand what you mean with "overlay relationships" here.
 > Emacs overlays (if that is what you mean) is tighed to the buffer, not
 > the window.

Juanma explained that already.  It can be done as

(dolist (overlay (overlays-in (point-min) (point-max)))
  (when (eq (overlay-get overlay 'window) old-window)
     (overlay-put overlay 'window new-window)))

 > Maybe, but please be more specific about what will be missing when done
 > on the lisp level.

On the Lisp level it might be difficult to handle `get-lru-window',
`buffer-display-count', `buffer-display-time', and the `keep-margins'
argument of `set-window-buffer'.  It should be possible to handle
`window-dedicated-p', `window-scroll-bars', `window-fringes' but I don't
remember them all.


buffer-display-time indeed looks difficult and I would hesitate to change buffer-display-count. The others look possible.




reply via email to

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