From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Saving a elisp data structure into string and evaluating it back into objects Date: Fri, 9 Oct 2009 00:51:23 +0200 Message-ID: References: <1e5bcefd0910061608y54755a7ejbf5def5831443da7@mail.gmail.com> <1e5bcefd0910070809w2c985363p3bf90e5490342991@mail.gmail.com> <1e5bcefd0910070923w6af29d6eja4aa8a16fb3b5db8@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1255042352 19006 80.91.229.12 (8 Oct 2009 22:52:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Oct 2009 22:52:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Kevin Rodgers To: Marcelo de Moraes Serpa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 09 00:52:21 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mw1qN-0002pL-R4 for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Oct 2009 00:52:20 +0200 Original-Received: from localhost ([127.0.0.1]:51829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mw1qM-0000of-Rx for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Oct 2009 18:52:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mw1pu-0000m8-8b for help-gnu-emacs@gnu.org; Thu, 08 Oct 2009 18:51:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mw1pp-0000dj-Ba for help-gnu-emacs@gnu.org; Thu, 08 Oct 2009 18:51:49 -0400 Original-Received: from [199.232.76.173] (port=54346 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mw1pp-0000dV-7o for help-gnu-emacs@gnu.org; Thu, 08 Oct 2009 18:51:45 -0400 Original-Received: from mail-yx0-f191.google.com ([209.85.210.191]:35701) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mw1po-00064b-Tc for help-gnu-emacs@gnu.org; Thu, 08 Oct 2009 18:51:45 -0400 Original-Received: by yxe29 with SMTP id 29so316415yxe.14 for ; Thu, 08 Oct 2009 15:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=/vF4h+OTVxfpYupbXLT3WSec0PwKKW7t4KVIJMXLkd0=; b=pWJG6cskDkuJ7TDgUf0Zlxc/QN3sN4zh7s6w7moH7o2R+wOP/hqMJ04pkr/cPhTHZc 6txLm146WChiJihE5qRpzuxhZez/Senao6I1jiFKZi9htvzacRYRfobnua3FnXe0idHr Ntt/c7V2FnRl/KJLb80l2zvruMcuvbLntFkZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=MetBvtdKmGUbO0bMpkc/WRzg4pfwkDK9nDR2aV95LMgnhO0m/zKqH0fi3Hz2x8wF9H UQS/yne4NqVQolDq1TLrfFh0yw4wFZklBjbs8PBLzfp+kqsIMYPOFP45bFeSt5ycTIes U9lXQt1YIW/Tz8WgNSiBqJ0X3Pyb20lc5Vjsw= Original-Received: by 10.101.195.34 with SMTP id x34mr1983239anp.175.1255042303467; Thu, 08 Oct 2009 15:51:43 -0700 (PDT) In-Reply-To: <1e5bcefd0910070923w6af29d6eja4aa8a16fb3b5db8@mail.gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68776 Archived-At: Oh, I thought that was window and frame configuration you wanted to save and restore. My bad if that is not what you want. On Wed, Oct 7, 2009 at 6:23 PM, Marcelo de Moraes Serpa wrote: > I want to save the memory state for layout-restore.el, and this happens to > be in the layout-configuration-alist variable. That's all, actually. > > > On Wed, Oct 7, 2009 at 10:33 AM, Lennart Borgman > wrote: >> >> On Wed, Oct 7, 2009 at 5:09 PM, Marcelo de Moraes Serpa >> wrote: >> > >> > Well, you are absolutely right -- actually, the only thing that >> > interests me >> > is saving and restoring the value of "layout-configuration-alist", so I >> > can >> > have my buffer-indexed window layouts persisted. >> > >> > How could I go and write a serialization/deserialization function pair? >> > And >> > where would I integrate it? >> >> >> Is something like winsav.el in nXhtml what you want? If not, could you >> please explain what you are missing there? > >