GNU bug report logs - #14964
24.3.50; doc of `compare-window-configurations'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 27 Jul 2013 03:15:02 UTC

Severity: minor

Tags: moreinfo

Found in version 24.3.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 14964 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Juanma Barranquero <lekktu <at> gmail.com>, 14964 <at> debbugs.gnu.org
Subject: Re: 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




This bug report was last modified 3 years ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.