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:55:33 +0200 Message-ID: <51F61FF5.30500@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=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1375084583 21128 80.91.229.3 (29 Jul 2013 07:56:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jul 2013 07:56:23 +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:56:24 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 1V3iJa-0007CN-1C for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jul 2013 09:56:22 +0200 Original-Received: from localhost ([::1]:39235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3iJZ-0002Mx-Nz for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jul 2013 03:56:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3iJP-0002DQ-CI for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2013 03:56:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3iJH-00040y-VX for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2013 03:56:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3iJH-00040t-Si for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2013 03:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V3iJH-0004CE-AE for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2013 03:56:03 -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:56:03 +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.137508455016091 (code B ref 14964); Mon, 29 Jul 2013 07:56:03 +0000 Original-Received: (at 14964) by debbugs.gnu.org; 29 Jul 2013 07:55:50 +0000 Original-Received: from localhost ([127.0.0.1]:55484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3iJ2-0004BL-Ts for submit@debbugs.gnu.org; Mon, 29 Jul 2013 03:55:49 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:58846) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3iJ0-0004As-H7 for 14964@debbugs.gnu.org; Mon, 29 Jul 2013 03:55:47 -0400 Original-Received: from [62.47.50.76] ([62.47.50.76]) by mail.gmx.com (mrgmx103) with ESMTPA (Nemesis) id 0MRocn-1Ufsof1yxt-00SsQW for <14964@debbugs.gnu.org>; Mon, 29 Jul 2013 09:55:40 +0200 In-Reply-To: X-Provags-ID: V03:K0:2LDwSyBhvv3GoCKZfaidFoScLG10mYPUW8Px7iqaG6c41BmlPcb k4kAy/120onyRHT/xJcXLjGPeeZtncwwyTcCKSznQmCWUFX4ucHVblrV+rej7KoztZnwdh8 cTItl8MmhaHOWizucdA1BiHW+J5lY4pcnjUSu3XTimJ6RozLCOBp8NkUMPaVjnIdtzgscS/ JlAyGpyUFRVYUfKqbSjrw== 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:76751 Archived-At: > E.g. (current-frame-configuration t) would return a writable & readable > frame configuration. With configurations you store and restore window positions and sizes in situ. That is, you overwrite (in C) the members of the window structure and rely on the fact that a configuration is an immutable memory object to obtain correct bahavior. A function like `set-window-configuration' does not check whether the object it restores is correct in some sense or has been manipulated after it has been stored. It relies on your hardware to do that. `window-state-put' OTOH is pretty failsafe in this regard because it restores windows via the Lisp split and resize operations. > But the point is to have a standard structure that code can use and > manipulate. That would be clearly fatal as explained above. Changing anything in a frame configuration is strictly forbidden. martin