[Top][All Lists]

[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: Mon, 20 May 2019 23:14:13 +1000
User-agent: mu4e 1.2.0; emacs 26.2

On Mon, May 20 2019, martin rudalics wrote:
Always resetting the margins is bad. I'd suggest you devise a special 'olivetti-split-window' function and set the 'split-window' parameter of every window displaying a buffer in olivetti mode to that function.

'olivetti-split-window' would reset the margins iff the window shall
be split side-by-side, set the window's 'split-window' parameter
temporarily to nil, call 'split-window' and assign the 'split-window'
parameter again for all windows in question.

Hmm this isn't it, the code already works this way (see L#191).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]