From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Better handling of window margins Date: Fri, 04 Dec 2015 17:56:14 +0100 Message-ID: <5661C5AE.8010702@gmx.at> References: <87mvttsvsj.fsf@fastmail.fm> <83k2oxj7d6.fsf@gnu.org> <565F2DD3.9020400@gmx.at> <838u5cka88.fsf@gnu.org> <565F3441.1020707@gmx.at> <83610gjabz.fsf@gnu.org> <566086FA.6010603@gmx.at> <83h9jzi99p.fsf@gnu.org> <566149DC.8020803@gmx.at> <83zixqh7o4.fsf@gnu.org> <56616922.4030609@gmx.at> <83fuzigrdc.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1449248220 26015 80.91.229.3 (4 Dec 2015 16:57:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2015 16:57:00 +0000 (UTC) Cc: joostkremers@fastmail.fm, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 04 17:56:50 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a4tet-0003KW-Aq for ged-emacs-devel@m.gmane.org; Fri, 04 Dec 2015 17:56:35 +0100 Original-Received: from localhost ([::1]:41925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4tes-0005NP-R2 for ged-emacs-devel@m.gmane.org; Fri, 04 Dec 2015 11:56:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4teo-0005N9-SE for emacs-devel@gnu.org; Fri, 04 Dec 2015 11:56:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4ten-0004kh-TX for emacs-devel@gnu.org; Fri, 04 Dec 2015 11:56:30 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:53558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4tej-0004g1-Ug; Fri, 04 Dec 2015 11:56:26 -0500 Original-Received: from [192.168.1.101] ([212.95.7.70]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MYP57-1ZibZ92iaP-00VC8T; Fri, 04 Dec 2015 17:56:22 +0100 In-Reply-To: <83fuzigrdc.fsf@gnu.org> X-Provags-ID: V03:K0:pf27GPoeuMzASjUS6g6jNhLm4e/nSNLPWlz5sYnHqvUN/KxMjSa L9TWbgzNM40JXIcEK620SocYQHP3RG5/9vw0iF3AIdKQPWU02k//IFZqI30v6yWtlWOijtL 3O+g26QXUmQ2DFMAplyFHsc9B0lIibhKa3IZgRrjkmIiaS8atp8rQexmliJq59fpvdgwvbG EpgSDwttSnfxNPsTGrljQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:MRR8ty1Z90s=:fx8hXKReI9fyC8Q5cFpatO +V57CoLAJZMVscthVupvNMmm9FU6iF3FML6xljp6Egit1vpHt07UIflmfECWtnxxJn/4N+4v0 Hit42K+ctewuiv2j4+fgu6IIC9xCE7ElsVjViYgizjz6NmRn/2D298Cep/vKKeGk1VGAJTDtW G48plyqW1AVGO1VOT6pGz8hJts9axOJWzbIHftC0WHr3Oswjj57Om9iODAqb5iOCKYxakPzVN Hqll3HLHzCPpkA/sgkp4Z55boWb5rgckQIXbY0KYmaVm6Vh5PtTj52unf1EfxYXThw26iuUW5 /IabJAyVRD54skrqqjjNCoBgqKzmV7ah7Qb2w3wYb+prY13yElfsmgLB6/2nVU8qYN5qVqn7S xFutUpbzFFfN4M6IsWAXXGowaSEZ8Ia/KCwWaD7m7L/tcF2m9d5UPqCxMtxDjklHe9yAdYpY4 rJP76CCV+KQE7hAuXKVkC8k0KqpvtHJfd+Qg1gB1a0dsRKe8qcSzA9Ar5nWS8V7vHQN57KE+e pfPVVvG5k3gGN+y+9ENHGMfHPjw+oxkCbLvuSxLXKfSXSJsqzy7S63RScFY6QvDmjeNS+Xl5f UNtfg75ThH5rr7JwhQJO0oDzMh2auSGCpb9immC3tllNVb8PCFochu+Oax86zS3eHWcBw7Gzy wcaarj0SZvRZopZt6TcNaeUW14jQt25QZwR0iK+jvKiYkCaJKtWSR0b0P/dHPmal5zf8XUjVJ pkCPtsOtheBqv7iMVamBA+8e4piy/oc3LzRnfLxoy1kSJukJ+UxuLE3iIy1pISLOHPk1JkGU X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195893 Archived-At: > I agree. But if we only care about showing the same buffer case, then= > we do really need to consider only the width of the text area when we > decide whether to split horizontally or vertically, right? Moreover, > even when another buffer is shown in one of the two windows, the > window that continues to display the original buffer should still have= > reasonable width of its text area, right? And the only way to > guarantee the latter is to consider the width of only the text area, > excluding the margins. I miss you here. This discussion started with the problem that while modes are able to readjust their margins when a window is split, =E2=80=98split-window-sensibly=E2=80=99 won't split the window because it= looks only at the width of the text area. C-x 3 would fail in the same manner because it would compare =E2=80=98window-min-width=E2=80=99 (whose "value has to = accommodate two text columns as well as margins, fringes, a scroll bar and a right divider, if present") with a text only area. >> > We are still talking about splitting windows here, right? >> >> And about resizing windows, right? > > I wasn't aware that resizing windows was part of the use cases > considered by this discussion. How is it relevant? What decisions > during resizing depend on the margins? When I split a window I have to shrink the original one. When I have two side by side window and want to enlarge one of them I have to shrink the other one. So we have to solve the same problem in both cases. martin