From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.devel Subject: Re: Suggesting `frame-split-biggest-window' Re: customize location and shape of a new window in a frame Date: Sat, 15 Sep 2018 14:21:18 -0500 Message-ID: <23470.34122.76685.23453@gargle.gargle.HOWL> References: <9755.9843.306611.23448@gargle.gargle.HOWL> <87y3c7pw4w.fsf@ericabrahamsen.net> <87h8iuik3g.fsf@moondust.localdomain> <87o9d2eaql.fsf@ericabrahamsen.net> <875zzawbd6.fsf_-_@moondust.localdomain> <5B9A1599.2060800@gmx.at> <17488.90794.824863.23451@gargle.gargle.HOWL> <5B9B725F.504@gmx.at> <34498.70574.322595.23452@gargle.gargle.HOWL> <5B9CC03C.9020202@gmx.at> <13466.17271.55444.23453@gargle.gargle.HOWL> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1537039201 6027 195.159.176.226 (15 Sep 2018 19:20:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2018 19:20:01 +0000 (UTC) Cc: Eric Abrahamsen , martin rudalics , "N. Jackson" , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 15 21:19:57 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1G6l-0001R3-T5 for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2018 21:19:56 +0200 Original-Received: from localhost ([::1]:56464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1G8s-0005c1-Cs for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2018 15:22:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1G8B-0005bk-AE for emacs-devel@gnu.org; Sat, 15 Sep 2018 15:21:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1G8A-0006bz-ME for emacs-devel@gnu.org; Sat, 15 Sep 2018 15:21:23 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1G88-0006Wx-72; Sat, 15 Sep 2018 15:21:21 -0400 Original-Received: from [2602:30a:2e52:d720:65b7:1416:12e7:8bfb] (port=34706 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1g1G87-0003Nn-CY; Sat, 15 Sep 2018 15:21:20 -0400 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:229819 Archived-At: On Sat Sep 15 2018 Stefan Monnier wrote: > > - Is there a possibility to specify, using an ACTION, that a new > > window should take over a certain fraction of an existing window > > in a vertical split? I believe this is a common case. (I may be > > missing that this is described somewhere.) > > ACTION can be any function you like, so the answer is obviously yes. > But I don't think there's currently a pre-existing function which does > that, no. To make the ACTION arg attractive for a wider range of use cases, I believe it would be helpful to provide a function that can help with this. Yet currently my understanding of the ACTION machinery is too limited for more specific suggestions of how such a function should work and hook into this machinery. (Certainly it is not desirable if multple packages wanting to use such an approach had to invent the wheel repeatedly.)