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

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

bug#14964: 24.3.50; doc of `compare-window-configurations'


From: martin rudalics
Subject: bug#14964: 24.3.50; doc of `compare-window-configurations'
Date: Mon, 29 Jul 2013 09:54:36 +0200

> And likewise for window configurations.  We have `window-state-(get|put)',
> but I would also like to see Lisp-readable window configurations.  IOW, wrap
> with (window-configuration...) what `window-state-get' with non-nil WRITABLE
> arg returns.  E.g.:
[...]
> Let me know if you (e.g. Juanma) prefer that I file this as a separate
> bug (enhancement request).  If so, I will, repeating what I've said here.
>
> Thanks to both of you for bring window and frame states to the Lisp world.
>
> On that subject, I would like to see either:
>
> a. these structures documented, i.e., the structure advertised as such, or
> b. access functions defined for their parts.
>
> IOW, either an open, advertised structure or a black box but providing
> advertised ways to get at the various components.

I won't object your suggestions but please keep in mind that I designed
the window state functions to work in two contexts:

(1) Restore the window layout of a frame or internal window so it can be
    replayed within a window of a frame.  This makes it possible to
    easily switch between layouts with side windows (something the IDE
    gurus wanted) and back.

(2) To save and restore frame layouts between sessions.

Converting states to configurations and back is a different and pretty
hairy task.

martin





reply via email to

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