From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#56791: [PATCH] Add window arg to splitting commands, new commands to split root window Date: Wed, 27 Jul 2022 23:07:02 +0300 Organization: LINKOV.NET Message-ID: <864jz247ip.fsf@mail.linkov.net> References: <87wnbzvveq.fsf@heagren.com> <864jz25q46.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13724"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: hugo@heagren.com, Daniel =?UTF-8?Q?Mart=C3=ADn?= To: 56791@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 27 22:40:35 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oGnpa-0003Pk-AK for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Jul 2022 22:40:34 +0200 Original-Received: from localhost ([::1]:50618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGnpX-0004YP-40 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Jul 2022 16:40:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGnp4-0004Vi-Ks for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2022 16:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGnp3-00027Q-Rv for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2022 16:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGnp3-0000QB-Lf for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2022 16:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jul 2022 20:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56791 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56791-submit@debbugs.gnu.org id=B56791.16589543721569 (code B ref 56791); Wed, 27 Jul 2022 20:40:01 +0000 Original-Received: (at 56791) by debbugs.gnu.org; 27 Jul 2022 20:39:32 +0000 Original-Received: from localhost ([127.0.0.1]:57109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGnoa-0000PF-Gr for submit@debbugs.gnu.org; Wed, 27 Jul 2022 16:39:32 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:45597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGnoU-0000Ot-Ic for 56791@debbugs.gnu.org; Wed, 27 Jul 2022 16:39:30 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 1B432C0002; Wed, 27 Jul 2022 20:39:18 +0000 (UTC) In-Reply-To: <864jz25q46.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 27 Jul 2022 22:10:01 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:238062 Archived-At: >>> Some proposed new commands and relevant bindings. >>> >>> Motivation: sometimes, I have a complex window setup, and I want a >>> large new window to work in for a while, taking up a high proportion >>> of the frame. The currently-available interactive commands for >>> splitting windows only operate on the the selected window. >> >> Thanks. I think in bug#56767 there is another implementation of the >> same use case. > > Adding a new arg 'window-to-split' is nicer, so these patches are welcome. But need to be careful with adding 'window-to-split' arg to 'split-window-below'. Its split-window-keep-point=nil logic might not be applicable to some windows.