From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: customizing emacs windows Date: Thu, 24 May 2007 16:21:16 +0300 Message-ID: References: <4654BF17.1040009@gmail.com> <465563B1.20808@gmail.com> <46557593.10801@gmail.com> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1180013034 10236 80.91.229.12 (24 May 2007 13:23:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 May 2007 13:23:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 24 15:23:50 2007 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 1HrDIC-0005i0-Kp for geh-help-gnu-emacs@m.gmane.org; Thu, 24 May 2007 15:23:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HrDIF-0007TJ-4F for geh-help-gnu-emacs@m.gmane.org; Thu, 24 May 2007 09:23:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HrDFs-0006uf-S5 for help-gnu-emacs@gnu.org; Thu, 24 May 2007 09:21:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HrDFp-0006tL-7x for help-gnu-emacs@gnu.org; Thu, 24 May 2007 09:21:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HrDFo-0006t5-Rb for help-gnu-emacs@gnu.org; Thu, 24 May 2007 09:21:20 -0400 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HrDFo-0007Gw-EZ for help-gnu-emacs@gnu.org; Thu, 24 May 2007 09:21:20 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-2-188.inter.net.il [84.228.2.188]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id GUR17073 (AUTH halo1); Thu, 24 May 2007 16:21:21 +0300 (IDT) In-reply-to: <46557593.10801@gmail.com> (lennart.borgman@gmail.com) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (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:44381 Archived-At: > Date: Thu, 24 May 2007 13:22:59 +0200 > From: "Lennart Borgman (gmail)" > CC: help-gnu-emacs@gnu.org > > Eli Zaretskii wrote: > >> Date: Thu, 24 May 2007 12:06:41 +0200 > >> From: "Lennart Borgman (gmail)" > >> CC: help-gnu-emacs@gnu.org > >> > >> It looks like winner.el and winsav.el complement each other. > > > > To me it looks like saving the window configuration to a file is a > > natural extension of a package that lets you save and restore window > > configuration during a single session. > > > Absolutely, from a logical point of view. Maybe also from a code point > of view, but I doubt that a bit in this case. The data structures that > winner.el is using is perhaps not feasable for save/restore, but maybe > you think differently? Lisp data structures are easily converted into plain text, and then a buffer which holds that text can be saved to a disk file. To restore, you need only invoke the Lisp reader on the saved text. How difficult can that be? There are already quite a few packages that do similar things, like saveplace, for example.