[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding olivetti to GNU ELPA
From: |
Paul W. Rankin |
Subject: |
Re: Adding olivetti to GNU ELPA |
Date: |
Wed, 22 May 2019 19:14:04 +1000 |
User-agent: |
mu4e 1.2.0; emacs 26.2 |
On Wed, May 22 2019, martin rudalics wrote:
OK. Then I'm afraid you have to do the following: Whenever
olivetti
mode is active in at least _one_ live window on a frame you have
to
use 'olivetti-split-window' on _all_ internal windows of that
frame
too. You can use 'walk-window-tree' for setting and resetting
this
parameter and the margins of all olivetti mode windows. It
should not
be too much of a hassle (and tell me immediately when you
encounter
any problems).
The reason is that 'split-window' may be called for internal
windows
too. For example, if you want to make a new window on the left
or
right side of a frame, Emacs may want to split the root window
of that
frame. In this case it will check the sizes of all live
subwindows of
the root window and if any of these windows has too large
margins, the
split may fail because of insufficient space for the new window.
Ah awesome. Thanks Martin, I think this well end up solving the
funny little peculiarities I've encountered, and also the problem
I had with adding a side-window to a frame containing 2 x olivetti
windows split horizontally (failing due to insufficient space).
I appreciate your insights.
- Re: Adding olivetti to GNU ELPA, (continued)
- Re: Adding olivetti to GNU ELPA, Stefan Monnier, 2019/05/14
- Re: Adding olivetti to GNU ELPA, martin rudalics, 2019/05/20
- Re: Adding olivetti to GNU ELPA, Paul W. Rankin, 2019/05/20
- Re: Adding olivetti to GNU ELPA, martin rudalics, 2019/05/21
- Re: Adding olivetti to GNU ELPA, Paul W. Rankin, 2019/05/21
- Re: Adding olivetti to GNU ELPA, martin rudalics, 2019/05/21
- Re: Adding olivetti to GNU ELPA, Paul W. Rankin, 2019/05/21
- Re: Adding olivetti to GNU ELPA, martin rudalics, 2019/05/21
- Re: Adding olivetti to GNU ELPA, Paul W. Rankin, 2019/05/21
- Re: Adding olivetti to GNU ELPA, martin rudalics, 2019/05/22
- Re: Adding olivetti to GNU ELPA,
Paul W. Rankin <=
Re: Adding olivetti to GNU ELPA, Stefan Monnier, 2019/05/08
Re: Adding olivetti to GNU ELPA, Stephen Leake, 2019/05/08