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: Fri, 5 Jul 2013 17:40:56 +0200 Message-ID: References: <51C5AA68.4000204@alice.it> <51CE9B05.1090202@gmx.at> <51CFFBED.7090400@gmx.at> <51D02AB0.5070103@gmx.at> <51D5DE14.4090507@alice.it> <51D600D8.90801@alice.it> <51D67990.3090800@gmx.at> <51D6D1E1.10902@alice.it> <51D6E480.80407@gmx.at> <51D6E8AB.8050203@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1373038908 31715 80.91.229.3 (5 Jul 2013 15:41:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2013 15:41:48 +0000 (UTC) Cc: Emacs developers , Angelo Graziosi To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 05 17:41:47 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 1Uv88l-00028a-Qn for ged-emacs-devel@m.gmane.org; Fri, 05 Jul 2013 17:41:43 +0200 Original-Received: from localhost ([::1]:52514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv88l-0002BN-G7 for ged-emacs-devel@m.gmane.org; Fri, 05 Jul 2013 11:41:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv88i-0002BF-AQ for emacs-devel@gnu.org; Fri, 05 Jul 2013 11:41:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uv88f-0003w9-Ay for emacs-devel@gnu.org; Fri, 05 Jul 2013 11:41:40 -0400 Original-Received: from mail-ie0-x229.google.com ([2607:f8b0:4001:c03::229]:64379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv88f-0003w3-61 for emacs-devel@gnu.org; Fri, 05 Jul 2013 11:41:37 -0400 Original-Received: by mail-ie0-f169.google.com with SMTP id 10so5807943ied.0 for ; Fri, 05 Jul 2013 08:41:36 -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=KQ6sfn94MBj9p424GAoOceC3WumFSyvzy2ENg5dJ2NY=; b=igbNyZZAVHnxI4XF4/nuh59u9CqydmJiLWCF+RGINRrfnkdkrOkUOK9qYF6uCeEIrI WsfeRgnYc51qZlcpKL0ugdFtU7Ww8ZtObHxZh6CeiL0PyxlbDX+TXdIOuIX9KtdYN0sB 4Ih0F5fLMlSQW9UJ/EfM1W8f0hVVASegqRJJxt7EXvZpTCHm1/ad1VOlHOmgFHf8SZ9t BedbW7J7z/W1JiX7t8LwgPlgSff5zyfY6seBGB3zl1mSNnjKEff1VBhCObvpKteO6jX8 exyjmVmFdvJZEN+3YCSKCyAlbaiM3AQSVurq0BEmJY7MjZMEoeVcGyo1vn/FRHqN8fuR ui0g== X-Received: by 10.42.148.5 with SMTP id p5mr3973975icv.19.1373038896617; Fri, 05 Jul 2013 08:41:36 -0700 (PDT) Original-Received: by 10.64.250.7 with HTTP; Fri, 5 Jul 2013 08:40:56 -0700 (PDT) In-Reply-To: <51D6E8AB.8050203@gmx.at> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::229 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:161601 Archived-At: On Fri, Jul 5, 2013 at 5:39 PM, martin rudalics wrote: > by the (completely untested) > > (let ((buffer ((get-buffer (car state))))) > (if buffer > (set-window-buffer window buffer) > (switch-to-prev-buffer window))) I think I'd be OK with that, but doesn't it need to save the buffer list? J