From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: Save and load window states Date: Wed, 21 Dec 2011 22:20:14 +0100 Message-ID: <4EF24D8E.7080508@gmx.at> References: <4EF1FB5E.7090008@gmx.at> <4ef23cf5.0d0a0e0a.60bc.ffffbbb7@mx.google.com> 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 1324502429 29246 80.91.229.12 (21 Dec 2011 21:20:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2011 21:20:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Bach Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 21 22:20:25 2011 Return-path: Envelope-to: geh-help-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 1RdTaK-0001Ip-IW for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Dec 2011 22:20:24 +0100 Original-Received: from localhost ([::1]:55357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdTaJ-0002I1-S2 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Dec 2011 16:20:23 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdTaE-0002Hr-S4 for help-gnu-emacs@gnu.org; Wed, 21 Dec 2011 16:20:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdTaD-0006gi-KS for help-gnu-emacs@gnu.org; Wed, 21 Dec 2011 16:20:18 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:46733) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RdTaD-0006gY-5g for help-gnu-emacs@gnu.org; Wed, 21 Dec 2011 16:20:17 -0500 Original-Received: (qmail invoked by alias); 21 Dec 2011 21:20:15 -0000 Original-Received: from 62-47-47-128.adsl.highway.telekom.at (EHLO [62.47.47.128]) [62.47.47.128] by mail.gmx.net (mp008) with SMTP; 21 Dec 2011 22:20:15 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18djGlG+gEdyKF/kyUIRWzHqiEWo6KPHO4y7fXyI7 /Ap5q5X6s5IeOk User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <4ef23cf5.0d0a0e0a.60bc.ffffbbb7@mx.google.com> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.22 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:83239 Archived-At: >> Please comment out the two code lines >> >> (unless (window-parameter window 'clone-of) >> ;; Make a clone-of parameter. >> (setq list (cons (cons 'clone-of window) list))) >> >> in the function `window--state-get-1' and recompile window.el (possibly >> twice - I'm somewhat confused by Stefan's backquote syntax here). These >> lines are currently for internal use only, their absence should not harm >> you. If you still see problems, please tell me. >> > > Unfortunately, that did not work. Tried it compiled once and twice. > Same as before. It works here. Make sure your file does not contain a `clone-of' entry. (And note that window.el is preloaded. So after commenting out these lines you have to rebuild Emacs if you want it to work right after starting Emacs.) If it still doesn't work, send me the file contents. martin