From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Thu, 27 Jun 2013 23:02:14 +0200 Message-ID: References: <51C5AA68.4000204@alice.it> <87vc5345t3.fsf@gmail.com> <51C8B2C8.4000803@gmx.at> <51C93CDB.2020301@gmx.at> <51C9C790.3020407@gmx.at> <51CA0D4C.7080204@alice.it> <0A6F5672-6149-41B7-B0FF-D4725076B271@mit.edu> <51CB3299.50004@gmx.at> <51CBF25A.2030902@gmx.at> <51CC081C.2060304@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1372366984 7762 80.91.229.3 (27 Jun 2013 21:03:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 21:03:04 +0000 (UTC) Cc: chad , Drew Adams , Emacs developers To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 27 23:03:03 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UsJLL-0003h1-E6 for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2013 23:03:03 +0200 Original-Received: from localhost ([::1]:49619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsJLK-0005aU-Op for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2013 17:03:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsJLH-0005aB-Pl for emacs-devel@gnu.org; Thu, 27 Jun 2013 17:03:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsJLE-0001Ol-HY for emacs-devel@gnu.org; Thu, 27 Jun 2013 17:02:59 -0400 Original-Received: from mail-ea0-x22a.google.com ([2a00:1450:4013:c01::22a]:45610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsJLE-0001OZ-Bx for emacs-devel@gnu.org; Thu, 27 Jun 2013 17:02:56 -0400 Original-Received: by mail-ea0-f170.google.com with SMTP id h10so650929eaj.15 for ; Thu, 27 Jun 2013 14:02:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=I2sBMdNZu13yNJtoxJjt96drnidQ/0slELOKiy5mlOY=; b=V4rD95EIaJdEn2nWgxCJ+mP/dqgy+SDnLJ5azyif1h7UbxTMbqt9MckNvgFnsWREgP +R/1V5JnC7EZKBbrYskklbYGv6Y1aKSQY5ynVa5Yb2s+s/7hBoqlF8sQGhROwglVy0LL b/aoOpAjJjasdE0Rc1S42ywHcSiOai2K+e4KZGziIcPkYByEYWhXhyJPwkwyehhm8x1n 8rVKALHgSZDIV2KXDuf8EwbJMlMCL6II71UPuWF71IbfPnW5x1dWC4iCa5wT5jrVzYa+ Ea1NclmxR5ANH1VB/QkWFj+dPB4qo29EEVntb1Hu8aSGsorXo/Yx9YStRzsfSJPHzZUD jelA== X-Received: by 10.15.25.2 with SMTP id k2mr10490439eeu.99.1372366975575; Thu, 27 Jun 2013 14:02:55 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Thu, 27 Jun 2013 14:02:14 -0700 (PDT) In-Reply-To: <51CC081C.2060304@gmx.at> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161156 Archived-At: On Thu, Jun 27, 2013 at 11:38 AM, martin rudalics wrote: > We'd have to recreate the old window sequence numbers first and make > windows and saved minibuffer frame parameters store these numbers. The > minibuffer frame parameters would have to be restored after all frames > have been created, from a list associating each new window with its old > sequence number. Seems messy. > Here we'd have for each frame/window store the names of the buffers on > these lists and reassign them after the buffers have been recreated. Why frame/window? Isn't that a frame parameter? Restoring the frame's buffer-list could be done right now without really having to change much, other than the format of desktop--saved-states. J