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#10348: 24.0.92; Save and load window states Date: Sun, 25 Dec 2011 14:58:01 +0100 Message-ID: <4EF72BE9.60604@gmx.at> References: <4ef24371.94110e0a.6fbb.ffffc8f3@mx.google.com> <4EF36318.6000006@gmx.at> <4EF45888.3030204@gmx.at> <4EF59B02.9060608@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1324821528 4395 80.91.229.12 (25 Dec 2011 13:58:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Dec 2011 13:58:48 +0000 (UTC) Cc: Michael Bach , 10348@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 25 14:58:43 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Reob3-0001ig-Ty for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Dec 2011 14:58:42 +0100 Original-Received: from localhost ([::1]:52500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Reob3-00021k-BO for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Dec 2011 08:58:41 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Reob0-0001xL-AX for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2011 08:58:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Reoay-0003pZ-0w for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2011 08:58:38 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Reoax-0003pO-Uu for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2011 08:58:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ReodK-0003ls-PU for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2011 09:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Dec 2011 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10348 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10348-submit@debbugs.gnu.org id=B10348.132482163314453 (code B ref 10348); Sun, 25 Dec 2011 14:01:02 +0000 Original-Received: (at 10348) by debbugs.gnu.org; 25 Dec 2011 14:00:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Reocr-0003l4-Dh for submit@debbugs.gnu.org; Sun, 25 Dec 2011 09:00:33 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Reocp-0003kx-1k for 10348@debbugs.gnu.org; Sun, 25 Dec 2011 09:00:31 -0500 Original-Received: (qmail invoked by alias); 25 Dec 2011 13:58:02 -0000 Original-Received: from 62-47-56-242.adsl.highway.telekom.at (EHLO [62.47.56.242]) [62.47.56.242] by mail.gmx.net (mp067) with SMTP; 25 Dec 2011 14:58:02 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19I7bZ5UQxIcT95ifQq38Rh4pZ1EAbLqr/mF4JnFl 8m4V5xHOqJyMg9 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 25 Dec 2011 09:01:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:55190 Archived-At: > I must be missing something: set-window-parameter does "modify a window > parameter's value destructively". > >>> so it makes the semantics rather irregular. >> It's precisely the same as for the dedicated status of a window. > > Is it? > The irregularity I'm referring to, is that set-window-configuration will > remove parameters that were added since the save, but will not undo the > changes to the parameters that were modified since the save. You're right. This makes window parameters useless for applications where a window excursion can temporarily store some other value for that parameter. In particular, side windows can be broken very easily. So we'd either have to copy the parameter list when creating a window configuration, not use `setcdr' in `set-window-parameter', or make a new slot for parameters that must not be modified destructively. Neither solution seems attractive to me. martin