From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcelo de Moraes Serpa Newsgroups: gmane.emacs.help Subject: Re: Saving a elisp data structure into string and evaluating it back into objects Date: Wed, 7 Oct 2009 11:23:44 -0500 Message-ID: <1e5bcefd0910070923w6af29d6eja4aa8a16fb3b5db8@mail.gmail.com> References: <1e5bcefd0910061608y54755a7ejbf5def5831443da7@mail.gmail.com> <1e5bcefd0910070809w2c985363p3bf90e5490342991@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636b2b138522e9604755ac577 X-Trace: ger.gmane.org 1254932899 9914 80.91.229.12 (7 Oct 2009 16:28:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Oct 2009 16:28:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Kevin Rodgers To: Lennart Borgman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 07 18:28:09 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 1MvZMb-0006mE-3L for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2009 18:27:41 +0200 Original-Received: from localhost ([127.0.0.1]:39175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvZMa-0004nR-Al for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2009 12:27:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvZIu-0003Fd-DE for help-gnu-emacs@gnu.org; Wed, 07 Oct 2009 12:23:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvZIp-0003Cn-Do for help-gnu-emacs@gnu.org; Wed, 07 Oct 2009 12:23:51 -0400 Original-Received: from [199.232.76.173] (port=53266 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvZIp-0003Ca-3z for help-gnu-emacs@gnu.org; Wed, 07 Oct 2009 12:23:47 -0400 Original-Received: from mail-yx0-f202.google.com ([209.85.210.202]:35182) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvZIo-00024J-Kf for help-gnu-emacs@gnu.org; Wed, 07 Oct 2009 12:23:46 -0400 Original-Received: by yxe40 with SMTP id 40so5269871yxe.28 for ; Wed, 07 Oct 2009 09:23:45 -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 :date:message-id:subject:from:to:cc:content-type; bh=56qoHJKBUwP+jt5sHpCKKjP/uHe9XnlqWAz4Ebrm174=; b=JCFhvk+MiFxbs90ruCEPz+L8xaV0kGye0pYkMmsSbmQEGrGIKT17izsFKLH4xSvP6C urL99N0Mw4PDhYzxAQK+YtMx1pVWC/AfYXk8IQ2lT4mg3Vtn9D8XYA0PQG/eeWeLbsOq 56QRSlWuB73T/THgdkClsXuo0SLJHcajjyp5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OjiolgD2wrDE4tgGvA/iteokJm16ffUxsXnMAhOUBS9d6qQ//XZnhjdeDPBDLLD43e 5sK3waaBpSWWBC3+v9b/tVHtLGDjlhCLotWw3bmiQWSp8u2mGV+M+DkjLNA2Uem94hoN 1pBC16bWAof1VXcIksqPmAPiiWHwTbdD2xQnc= Original-Received: by 10.101.9.4 with SMTP id m4mr132442ani.7.1254932624845; Wed, 07 Oct 2009 09:23:44 -0700 (PDT) In-Reply-To: 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:68736 Archived-At: --001636b2b138522e9604755ac577 Content-Type: text/plain; charset=ISO-8859-1 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? > --001636b2b138522e9604755ac577 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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, Lennar= t Borgman <lennart.borgman@gmail.com> wrote:
On Wed, Oct 7, 2009 at 5:09 PM, Marcelo de Moraes Serpa
<celoserpa@gmail.com> wrot= e:
>
> Well, you are absolutely right -- actually, the only thing that intere= sts me
> is saving and restoring the value of "layout-configuration-alist&= quot;, 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 yo= u
please explain what you are missing there?

--001636b2b138522e9604755ac577--