From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Prefer to split along the longest edge Date: Mon, 16 Dec 2024 21:53:57 +0200 Message-ID: <86frmnpfoq.fsf@gnu.org> References: <87r06a3yfg.fsf@mail.linkov.net> <87zfkx2ydr.fsf@mail.linkov.net> <8734io2hac.fsf@mail.linkov.net> <86pllrpn2p.fsf@gnu.org> <87ikrjfrq3.fsf@mail.linkov.net> <86jzbzphu0.fsf@gnu.org> <87ikrjcue1.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20049"; mail-complaints-to="usenet@ciao.gmane.io" Cc: nicolas.despres@gmail.com, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 16 20:55:01 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tNHBF-00054J-5y for ged-emacs-devel@m.gmane-mx.org; Mon, 16 Dec 2024 20:55:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNHAP-00040T-Gx; Mon, 16 Dec 2024 14:54:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNHAM-0003sG-3W for emacs-devel@gnu.org; Mon, 16 Dec 2024 14:54:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNHAK-0008Ay-Tq; Mon, 16 Dec 2024 14:54:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=4IP86vYeFYu0X7eosttSFLjkllrY3dJvvcxCSq5gDTw=; b=j63P7/4GDgSs qxEBWtG5lrKnsktDHuPF2CfxAvVpOa7HDDmNeK6t3P1hEDRMHeQZJc+aIgnk0Pj3iyJuN4t5tsGsb 2BJFxqhMVThhUADTG15qGAf3VrS5CIU9umu8YpCNmKGDW1wnX2zTsqjesiBgU/6LOH04vJOlAGhj+ TB2sTT78brjuuked7quVzROQW4IZDH7Vvx/NE/oe4yTb9JRuJEsNYQEa8W71OrAy/Jg5YLTgtd7J7 W1qE47q527OO08Q4TcBba03GCS0kFyBcYWM4oYqqWzm/m5Q6SJ2zuWzns/jTct9O1Z+mK5U/4EJq6 F2rUcYDjkKHB99J9ehPVFg==; In-Reply-To: <87ikrjcue1.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 16 Dec 2024 21:14:46 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326562 Archived-At: > From: Juri Linkov > Cc: nicolas.despres@gmail.com, emacs-devel@gnu.org > Date: Mon, 16 Dec 2024 21:14:46 +0200 > > >> > If so, please augment the change by a user option which controls > >> > whether windows are split as they were before or according to the new > >> > algorithm. We can then discuss whether the default will be the old > >> > behavior or the new one. > >> > >> There is already the existing option 'split-window-preferred-function'. > >> It could provide a choice of more values to select a predefined > >> behavior. > > > > We cannot ask users to write a function in order to get back old > > behavior. Customizations via functions is not user-friendly enough > > for such simple tasks. > > I meant a choice from predefined functions. Which ones? I don't see any. And how will we advertise this in a way that users affected by this change will discover it easily? split-window-sensibly is not a command that users could look up, and split-window-preferred-function is called by display-buffer, so finding this information in order to use it for restoring previous behavior will not be easy.