From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#14964: 24.3.50; doc of `compare-window-configurations' Date: Mon, 29 Jul 2013 09:54:36 +0200 Message-ID: <51F61FBC.9000105@gmx.at> References: <51e98138-a20c-48ad-bea2-de67eb6b04b5@default> <51F3826F.9060600@gmx.at> <51F4D8FF.6000703@gmx.at> <25701584-34ff-4754-8d10-7f2d223205ac@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1375084525 20296 80.91.229.3 (29 Jul 2013 07:55:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jul 2013 07:55:25 +0000 (UTC) Cc: Juanma Barranquero , 14964@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 29 09:55:26 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V3iIf-0006RV-H6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jul 2013 09:55:25 +0200 Original-Received: from localhost ([::1]:38109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3iIf-0001ii-7Y for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jul 2013 03:55:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3iIU-0001hD-Tj for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2013 03:55:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3iIJ-0003Uz-6Z for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2013 03:55:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3iIJ-0003TS-0B for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2013 03:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V3iIH-00047Z-TO for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2013 03:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jul 2013 07:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14964 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14964-submit@debbugs.gnu.org id=B14964.137508449515815 (code B ref 14964); Mon, 29 Jul 2013 07:55:01 +0000 Original-Received: (at 14964) by debbugs.gnu.org; 29 Jul 2013 07:54:55 +0000 Original-Received: from localhost ([127.0.0.1]:55474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3iIA-00046z-A5 for submit@debbugs.gnu.org; Mon, 29 Jul 2013 03:54:54 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:50751) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3iI6-00046e-7f for 14964@debbugs.gnu.org; Mon, 29 Jul 2013 03:54:51 -0400 Original-Received: from [62.47.50.76] ([62.47.50.76]) by mail.gmx.com (mrgmx103) with ESMTPA (Nemesis) id 0MDi9C-1Ur4Be0AP8-00H8ND for <14964@debbugs.gnu.org>; Mon, 29 Jul 2013 09:54:44 +0200 In-Reply-To: <25701584-34ff-4754-8d10-7f2d223205ac@default> X-Provags-ID: V03:K0:R0N9a1gvJhwNkMqcegScyTSleBY8Df2ixrucQKS+B9ubbMYTAaQ 4/BypAvWK0Wj3ePXvTW0WcKWB2lytzpdCYGBcmPFSKr3E+NQ80UhtFk2eWlgpLhSXcwZ6KK 5A+/XzFe8SfkCr8/JnxYbzvnhil55KpydXJHhQjOOjCFoD9m3p/wy4WyRq7xsRZcdIx1urr HCEzn19FX7rvlEyNdiEXg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76750 Archived-At: > 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