From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Paul W. Rankin" Newsgroups: gmane.emacs.devel Subject: Re: Adding olivetti to GNU ELPA Date: Wed, 22 May 2019 19:14:04 +1000 Message-ID: References: <83tvemzcn2.fsf@gnu.org> <9bb5fc63-61ae-44dc-a8d5-b67803eab1e5@www.fastmail.com> <83h8amz24g.fsf@gnu.org> <24cca761-36ea-4c16-bce1-e3651aad52c8@www.fastmail.com> <83ftq6yx5o.fsf@gnu.org> <83ftppii16.fsf@gnu.org> <875d1b0c-7f44-ba5d-4660-84637533b8f3@gmx.at> <90355909-e254-a616-a3a0-6d09d550a67d@gmx.at> <7c36ce3b-36fb-f9ab-9e8e-b198ab25d246@gmx.at> <4bbdf708-e7d0-4fbc-880d-308e1263b216@www.fastmail.com> <622808ad-9a01-9ace-57a9-d3065c3a2daf@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="170983"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.2.0; emacs 26.2 Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 22 11:16:31 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTNMI-000iId-2j for ged-emacs-devel@m.gmane.org; Wed, 22 May 2019 11:16:26 +0200 Original-Received: from localhost ([127.0.0.1]:38998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTNMG-0004Sm-Qy for ged-emacs-devel@m.gmane.org; Wed, 22 May 2019 05:16:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTNKE-00033I-Os for emacs-devel@gnu.org; Wed, 22 May 2019 05:14:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTNKD-0006wN-33 for emacs-devel@gnu.org; Wed, 22 May 2019 05:14:18 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:43947) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hTNKB-0006oa-1n; Wed, 22 May 2019 05:14:15 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8FE6E24708; Wed, 22 May 2019 05:14:14 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 22 May 2019 05:14:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm3; bh=kzfVG98IWz6TY4pK1Dn3zjfBpE tUvt0QmehO3unWuTo=; b=eY+7KHSBmf+/SGIBmLPlkV5K3Y1renSMCioDqzRoSW Xhg8eYeVWe+BT4StO3MhbmC+t1QplbXRL4HB8tHNiiBgCapS5706hKtifvtnFuzp 6BHsW0QuL1aCaYobaB/wd/r0ejcsUzH0+XGiEld8InpXiz1ibGvAmpTNPl2Kfj+p 9JLpICQPlBpsB8fixo/c7ORh+028NOsyYoSFHAW+Fa8bY5WJX1GI/nb2/xgH/XQO Wlq/hID0sZcvofB59lIbFUnHMy2UDqNw3yKrusayAbwy9lSAMe47XQbmYzMJWoJN TGi4AhzwY1VZw0sEDex7eKdbTzvV19d1tMrbkw5MC6/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=kzfVG9 8IWz6TY4pK1Dn3zjfBpEtUvt0QmehO3unWuTo=; b=Cu9kzuGfF22/ZFnwn+pDtJ L+kYpOzz/h3Rh/TAxJPMnVmMHV3A8xtzEXPx1t1sbTvfsDn5H5OwN8enw9ifSqYx jSGixHx+2p7XakLb7Ttw9Cbj3CD5BAidhK8CWrt9j9ROkeMO8QDozasUb/iuKjey yAQVR5ydD9e+yc/HavIrrn8K1ueXDE4koukmfAkC2gLY1ui68QIrWB+BbkVjUtxu IQhpBngMqIXTfipozo+cjwt9HvD1nnVcgoUKh9nsXDBodVuW30W6OulYK+I66BdW Bs3fk2lfnZBlHoLQpvacONeFF+659Qx5XkoSGB9MqfADabt0CBqtmkbn0eG4he9w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudduvddguddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredtnecuhfhrohhmpedfrfgruhhl ucghrdcutfgrnhhkihhnfdcuoehhvghllhhosehprghulhifrhgrnhhkihhnrdgtohhmqe enucfkphepuddvtddrvddvrdehkedrheegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehh vghllhhosehprghulhifrhgrnhhkihhnrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Original-Received: from localhost (unknown [120.22.58.54]) by mail.messagingengine.com (Postfix) with ESMTPA id C9416380087; Wed, 22 May 2019 05:14:10 -0400 (EDT) In-reply-to: <622808ad-9a01-9ace-57a9-d3065c3a2daf@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.26 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236891 Archived-At: 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.