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: Wed, 7 Oct 2009 17:33:18 +0200 Message-ID: References: <1e5bcefd0910061608y54755a7ejbf5def5831443da7@mail.gmail.com> <1e5bcefd0910070809w2c985363p3bf90e5490342991@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 1254930599 1331 80.91.229.12 (7 Oct 2009 15:49:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Oct 2009 15:49:59 +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 Wed Oct 07 17:49:48 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 1MvYlt-00022Z-Il for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2009 17:49:45 +0200 Original-Received: from localhost ([127.0.0.1]:44796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvYlt-00011l-2G for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2009 11:49:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvYkC-0007xa-Ur for help-gnu-emacs@gnu.org; Wed, 07 Oct 2009 11:48:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvYk8-0007s8-Pl for help-gnu-emacs@gnu.org; Wed, 07 Oct 2009 11:48:00 -0400 Original-Received: from [199.232.76.173] (port=44630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvYk8-0007ro-El for help-gnu-emacs@gnu.org; Wed, 07 Oct 2009 11:47:56 -0400 Original-Received: from mail-yw0-f198.google.com ([209.85.211.198]:39669) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvYWJ-0001yE-EN for help-gnu-emacs@gnu.org; Wed, 07 Oct 2009 11:33:39 -0400 Original-Received: by ywh36 with SMTP id 36so5180404ywh.15 for ; Wed, 07 Oct 2009 08:33:38 -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=PiEEZfcwL/uPE3+o23eWNzV4JalB+U4P6fIPHKXarnU=; b=pBn89hq7lcvorGDTWUI0x2aErE+uhs+Z/lIgZzw5HJYk8+49vuqs9vpfigHzsH7db4 3Mvw0IluYn4Mh/OV8Ib02rwB+OLtOwm5AhsZLmWsf2Zlo+7I41oNbqIzlhVN5SXp1Wmp jqvrLKOkLXT/fFoa3Y7kQI/IVKzTXxic3/iEc= 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=DbvoaMwgsgl3zcwAsOipDYKzv7/DOTps27UgbgdGhQZJy+K2OIATLnSFinp/mIzgvb /44lqqioYrp2q3N2r6SsApuP0DqaMAOcKfYaM8gXmRGNiDkc+IQ0g1xU2w4xZZxMLqHu Pdq2pN/sSyWUVJ2yKOc9Z5We60sgT4Av/aGoE= Original-Received: by 10.100.235.4 with SMTP id i4mr32285anh.101.1254929618136; Wed, 07 Oct 2009 08:33:38 -0700 (PDT) In-Reply-To: <1e5bcefd0910070809w2c985363p3bf90e5490342991@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:68733 Archived-At: 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?