From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.help Subject: Re: Saving the frame layout between frames Date: Mon, 28 Oct 2013 17:38:19 +0000 Message-ID: <87d2mpqos4.fsf@bennee.com> References: <87ob6a5y46.fsf@linaro.org> <87wqkxbluy.fsf@bennee.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1382981921 11233 80.91.229.3 (28 Oct 2013 17:38:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Oct 2013 17:38:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 28 18:38:44 2013 Return-path: Envelope-to: geh-help-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 1Vaqm2-0000Fy-TQ for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Oct 2013 18:38:43 +0100 Original-Received: from localhost ([::1]:42433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vaqm2-00007V-Eh for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Oct 2013 13:38:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vaqlo-00006L-7q for help-gnu-emacs@gnu.org; Mon, 28 Oct 2013 13:38:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vaqlj-0001zd-EO for help-gnu-emacs@gnu.org; Mon, 28 Oct 2013 13:38:28 -0400 Original-Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:45427 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vaqlj-0001zU-8F for help-gnu-emacs@gnu.org; Mon, 28 Oct 2013 13:38:23 -0400 Original-Received: from localhost ([127.0.0.1]) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from ) id 1Vaqne-0005vY-V4; Mon, 28 Oct 2013 18:40:23 +0100 User-agent: mu4e 0.9.9.6pre2; emacs 24.3.1 In-reply-to: X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: kernel-hacker@bennee.com X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.198.71.155 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94233 Archived-At: monnier@iro.umontreal.ca writes: >> (window-state-put crmbk-previous-frame-config)) > > You need to state where to put that config (that's what the `window' > arg is for). So try it with > > (window-state-put crmbk-previous-frame-config > (frame-root-window frame)) That worked thanks. I thought (frame-root-window frame) was the default as the doc says "Optional argument WINDOW must specify a live window and defaults to the selected one." but I guess at the time I'm running it isn't. Anyway it's working now, thanks. -- Alex Bennée