From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: customizing emacs windows
Date: Thu, 24 May 2007 15:55:24 +0200 [thread overview]
Message-ID: <4655994C.8070202@gmail.com> (raw)
In-Reply-To: <uodkaichf.fsf@gnu.org>
Eli Zaretskii wrote:
>> Date: Thu, 24 May 2007 13:22:59 +0200
>> From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
>> CC: help-gnu-emacs@gnu.org
>>
>> Eli Zaretskii wrote:
>>>> Date: Thu, 24 May 2007 12:06:41 +0200
>>>> From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
>>>> 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.
That is not exactly what I meant. I meant if the data structures
contains information that are useful for save/restore.
But I did not look close at it. The data structures in winner.el may be
that too. I took a look at winner-currents and maybe that contains the
information needed.
However I do not know if there is a way to save it. It contains the
information needed in something that looks like #<window-configuration>
when trying to print it. Is there a way to print this so that it can be
saved?
BTW, winsav.el has a little bit different focus, solving a problem that
I could not find a way to solve easily: Injection of a window
configuration into a window. The ability to save and restore window
configuration on a frame is just a byproduct.
next prev parent reply other threads:[~2007-05-24 13:55 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-23 17:04 customizing emacs windows Ivan
2007-05-23 22:24 ` Lennart Borgman (gmail)
2007-05-24 7:32 ` Eli Zaretskii
2007-05-24 10:06 ` Lennart Borgman (gmail)
2007-05-24 10:49 ` Eli Zaretskii
2007-05-24 11:22 ` Lennart Borgman (gmail)
2007-05-24 13:21 ` Eli Zaretskii
2007-05-24 13:55 ` Lennart Borgman (gmail) [this message]
2007-05-24 14:21 ` Eli Zaretskii
2007-05-24 19:29 ` Lennart Borgman (gmail)
[not found] ` <mailman.1130.1179991947.32220.help-gnu-emacs@gnu.org>
2007-05-24 9:41 ` Ivan
2007-05-24 10:00 ` Jason Rumney
2007-05-24 11:06 ` Lennart Borgman (gmail)
2007-05-25 5:13 ` Tim X
2007-05-25 10:09 ` Ivan
2007-05-25 11:02 ` Ivan
2007-05-26 3:29 ` Tim X
2007-05-26 9:02 ` Ivan
2007-05-26 9:45 ` Leo
2007-05-26 10:12 ` Peter Dyballa
[not found] ` <mailman.1273.1180174364.32220.help-gnu-emacs@gnu.org>
2007-05-26 11:34 ` Ivan
[not found] ` <mailman.1268.1180172850.32220.help-gnu-emacs@gnu.org>
2007-05-26 11:35 ` Ivan
2007-05-26 10:18 ` Petter Gustad
2007-05-26 13:50 ` Tim X
2007-05-24 0:28 ` Lennart Borgman (gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4655994C.8070202@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.