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 11:00:48 +0200 Message-ID: References: <51C5AA68.4000204@alice.it> <87r4frcq9v.fsf@rosalinde.fritz.box> <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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1372323694 25339 80.91.229.3 (27 Jun 2013 09:01:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 09:01:34 +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 11:01:35 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 1Us859-0000fX-0Z for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2013 11:01:35 +0200 Original-Received: from localhost ([::1]:59744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Us858-0004eu-Ls for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2013 05:01:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Us855-0004cX-5P for emacs-devel@gnu.org; Thu, 27 Jun 2013 05:01:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Us853-0003GN-Oa for emacs-devel@gnu.org; Thu, 27 Jun 2013 05:01:31 -0400 Original-Received: from mail-ea0-x22f.google.com ([2a00:1450:4013:c01::22f]:35484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Us853-0003GB-Iv for emacs-devel@gnu.org; Thu, 27 Jun 2013 05:01:29 -0400 Original-Received: by mail-ea0-f175.google.com with SMTP id z7so239180eaf.20 for ; Thu, 27 Jun 2013 02:01:28 -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=ckHt9Lf5JttthuE86HIQmASY0aWf1h7MJYnan1K4630=; b=KKnII4NOs86hhbulL5aya8mOSMM1t4yKnU5aDTyY8MiZNcSDzBAg+jKSuqhhjwcGId E8KYld4Jtombq96Ikrx5+ykScr2xPLCGU/aajemc9U36TS97Vv8L/zQ7p5s+Bcc4rtrk mw7ynUfM4b+xTqtj6Rn3pzuvDIBLmo+KGxNeWgdYoC+LJe+R5NwpEt8pUdPdKvjKa7wW MTFaSjnAvTTN0eROrbSMszXiY9RTSXmknunOe3azIrcaNC7UFAy+lFLd5zMtkbOZvvEJ 0YN+E4Fbw3AYP/8BGHMMLkfsES4xPtwFsWOEZeyiSYScVHorVQLdn4rhNGc8dSYTWSOW aSSw== X-Received: by 10.14.38.198 with SMTP id a46mr7871188eeb.42.1372323688790; Thu, 27 Jun 2013 02:01:28 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Thu, 27 Jun 2013 02:00:48 -0700 (PDT) In-Reply-To: <51CBF25A.2030902@gmx.at> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22f 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:161131 Archived-At: On Thu, Jun 27, 2013 at 10:05 AM, martin rudalics wrote: > Handling the minibuffer parameter associations OTOH seems tedious: IIUC > we'd have to give each saved window an identity, assign that identity in > `window-state-get', and have the saved frame minibuffer parameters > reference that identity if necessary. Then we'd have to do a > `set-frame-parameter' to restore the original relationship from saved > identities in `window-state-put'. Yes, it is tedious, but whether it is worth it depends on the users of unusual minibuffer setups. We want the window save/restore feature to be as useful and less disruptive as possible. For example, I think it would be good to also save&restore the buffer-list (and perhaps buried-buffer-list) parameter(s), to make the post-restore experience as similar to the pre-save one as possible. That would be quite tedious, but it is doable. J