From: Lennart Borgman <lennart.borgman@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: help-gnu-emacs@gnu.org, Kiwon Um <um.kiwon@gmail.com>
Subject: Re: session management with desktop and window configuration
Date: Fri, 1 Jan 2010 16:04:30 +0100 [thread overview]
Message-ID: <e01d8a51001010704q3e2cc8dbyd38da6af5da1188b@mail.gmail.com> (raw)
In-Reply-To: <4B3E0CCC.8090107@gmx.at>
On Fri, Jan 1, 2010 at 3:55 PM, martin rudalics <rudalics@gmx.at> wrote:
>> Strange things happens during resizing.
>
> The inherent problem of resizing is that you can't specify _which_ other
> windows may be affected when resizing a particular window. So you end
> up doing what your and Stefan's balancing routines do: Adjusting the
> size of one window may break the size of another one and ou have to go
> on until the configuration converges to (a possibly suboptimal) one
> which can't be improved by the algorithm.
>
> My current code allows to specify the sizes of windows directly. It
> only checks whether the sizes fit - if they do it applies them
Is there an elisp function to access it?
> (in one
> direction only though - so for resizing horizontally and vertically you
> have to run the code twice).
Don't you have to run it once for every node in the window tree?
> What I don't know yet is whether we should
> keep the splitting concept of winsave.el. IIRC it's a bit tedious since
> you have to make sure that the window you want to split is large enough.
> OTOH writing some extra code to construct a window tree from a saved
> description is not very funny either (especially because I would have to
> write it in C.)
>
> martin
>
next prev parent reply other threads:[~2010-01-01 15:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-31 11:31 session management with desktop and window configuration martin rudalics
2009-12-31 13:21 ` Kiwon Um
2009-12-31 13:33 ` Lennart Borgman
2009-12-31 16:16 ` Richard Riley
2009-12-31 16:22 ` Lennart Borgman
2009-12-31 16:32 ` Richard Riley
2009-12-31 17:33 ` Vicente Hernando Ara
2010-01-01 1:25 ` Lennart Borgman
2009-12-31 17:32 ` martin rudalics
2010-01-01 1:27 ` Lennart Borgman
2010-01-01 14:55 ` martin rudalics
2010-01-01 15:04 ` Lennart Borgman [this message]
2010-01-01 15:18 ` martin rudalics
2009-12-31 17:31 ` martin rudalics
2010-01-01 1:29 ` Lennart Borgman
[not found] <mailman.476.1262259127.18930.help-gnu-emacs@gnu.org>
2010-01-07 0:48 ` David Combs
-- strict thread matches above, loose matches on Subject: below --
2009-12-31 10:08 Kiwon Um
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=e01d8a51001010704q3e2cc8dbyd38da6af5da1188b@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=rudalics@gmx.at \
--cc=um.kiwon@gmail.com \
/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.