From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Window splitting issues with margins Date: Fri, 13 Nov 2015 10:43:17 +0200 Message-ID: <838u62guhm.fsf@gnu.org> References: <874mgrwerb.fsf@fastmail.fm> <5644A2AC.3080703@gmx.at> <871tbux3vb.fsf@fastmail.fm> <564599A6.6060306@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1447404234 25270 80.91.229.3 (13 Nov 2015 08:43:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Nov 2015 08:43:54 +0000 (UTC) Cc: joostkremers@fastmail.fm, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 13 09:43:44 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 1Zx9xN-0008Hc-Ab for ged-emacs-devel@m.gmane.org; Fri, 13 Nov 2015 09:43:41 +0100 Original-Received: from localhost ([::1]:51657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx9xM-0002Uq-Qc for ged-emacs-devel@m.gmane.org; Fri, 13 Nov 2015 03:43:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx9xJ-0002Ul-Bv for emacs-devel@gnu.org; Fri, 13 Nov 2015 03:43:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zx9xG-0002xj-5j for emacs-devel@gnu.org; Fri, 13 Nov 2015 03:43:37 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:35056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zx9xF-0002xa-UH for emacs-devel@gnu.org; Fri, 13 Nov 2015 03:43:34 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NXQ00300VS47900@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 13 Nov 2015 10:43:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXQ002RNW8HUS80@a-mtaout22.012.net.il>; Fri, 13 Nov 2015 10:43:29 +0200 (IST) In-reply-to: <564599A6.6060306@gmx.at> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:194333 Archived-At: > Date: Fri, 13 Nov 2015 09:04:54 +0100 > From: martin rudalics > Cc: emacs-devel@gnu.org > > > Except that I don't know if any other package is also using the margin > > and should perhaps assume a minimum width larger than 0. Right now, > > visual-fill-column will happily set the margin to 0 if the window width > > is smaller than the requested text width. > > The question is whether it makes any sense for two packages to ever > share one and the same margin. I doubt that. And if one package uses > the left and the other package uses the right margin, they will have to > reach some sort of agreement when trying to auto-adjust margins. I agree. Making the display margins shareable is a tough nut, it will most probably require introduction of quite a few new functions that every user of the margins will have to consult. If the only use case that needs that is these two modes, and if their problem is only with splitting the window, let's instead try to solve that on the window-splittable-p level.