From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: master 6a2ee981c3: Add new functions for splitting the root window Date: Tue, 06 Sep 2022 17:32:05 -0700 Message-ID: <87v8q0qb22.fsf@melete.silentflame.com> References: <166240424802.11417.12502552895310232639@vcs2.savannah.gnu.org> <20220905185728.838CEC0088A@vcs2.savannah.gnu.org> <86h71kseiw.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="9496"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: Juri Linkov , emacs-devel@gnu.org, Hugo Heagren Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 07 02:33:35 2022 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 1oVj0V-0002CW-RD for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Sep 2022 02:33:33 +0200 Original-Received: from localhost ([::1]:50440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVj0U-0007zj-BN for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Sep 2022 20:33:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVizB-0006uI-Jo for emacs-devel@gnu.org; Tue, 06 Sep 2022 20:32:09 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:45789) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oViz9-0007LO-K3 for emacs-devel@gnu.org; Tue, 06 Sep 2022 20:32:09 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D330F5C0004; Tue, 6 Sep 2022 20:32:06 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 06 Sep 2022 20:32:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1662510726; x=1662597126; bh=fuUO9X0TMu 7Y19grE+0EVGXiRCUR6+NK0HY7HjxQtOY=; b=g8L15dzuoWCsfb1A+qVW+YzuZf 4sGuRQTQbdE0TccsKrM2p4mnu7NHrlM0qx8gWMeOC3s0OM4WD7Gdfc6PkxlT4olW JTsLsi2f5w29UIFEi/Nqy1dSs1k/nbUmBapj7fiRztsW/GRZLlMuhHWwquzzsjjC y8qIk66KEBsIJEwWejmNSHy0RB/gCglSUtGf4fBE+JsuDS7r+LBx520iXRprnXeF Rkp9FhNa+t+WW14Zh06XIzFY29AfLT6NSHavMIBcwhFY+5hJsUSo60mjMldsh3UN PmnEiPstHHP0q9GsRKnO7fC1aD6O00IVYwUQU9PiNxDIpMD6wN10ln01NCTQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1662510726; x=1662597126; bh=fuUO9X0TMu7Y19grE+0EVGXiRCUR 6+NK0HY7HjxQtOY=; b=nkKH7hyRFjs0UXxo6q4MJgw74PIffxQUUGeTbepZWcAk hVvNKN8bpDt/G2IWYfYpO15I49FHNPM51wrSb9Mx5ScnfF7rXYbTR+Kf77vX0uSc jZp9QwV19+UfupJtIRbcIIUr0bYke3Et1ZtPR4w+brk4eN/MK8Ro5GfMaygZkad2 jnYYmDK/1xKxMyaRW7AZkJ7HxwVNArdwZmuByYANmRJ5p0ZoCFYlNF4OUh1b9eeY 6kJnrlO+x7CSZsCdUJGlIV8aoKk0RCt8rb6VjiDu5APmNVOlKnAdwRAN4YLGIEYm kVyf+UZsrL013+bEGF+QfSIDmR75jWZc2uYwCvFN8g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdelledgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhffkfgfgggtsehttddttddtredtnecuhfhrohhmpefuvggrnhcu hghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqne cuggftrfgrthhtvghrnhepffeutedtfedvtdetvefgueefjefggedugfefuddtgeefteek heduvdefjeejieefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 6 Sep 2022 20:32:06 -0400 (EDT) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 3DC227E8EBD; Tue, 6 Sep 2022 17:32:05 -0700 (MST) In-Reply-To: <86h71kseiw.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 06 Sep 2022 19:17:10 +0300") Received-SPF: pass client-ip=66.111.4.25; envelope-from=spwhitton@spwhitton.name; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.devel:294803 Archived-At: Hello, On Tue 06 Sep 2022 at 07:17PM +03, Juri Linkov wrote: >> (define-key ctl-x-map "{" 'shrink-window-horizontally) >> (define-key ctl-x-map "-" 'shrink-window-if-larger-than-buffer) >> (define-key ctl-x-map "+" 'balance-windows) >> +(define-key ctl-x-map "7" 'split-root-window-below) >> +(define-key ctl-x-map "9" 'split-root-window-right) >> (define-key ctl-x-4-map "0" 'kill-buffer-and-window) >> (define-key ctl-x-4-map "1" 'same-window-prefix) >> (define-key ctl-x-4-map "4" 'other-window-prefix) > > Taking one of the most easy to type keys 'C-x 7' and 'C-x 9' > for such rarely used commands? Really? Wouldn't it better > to use a negative prefix arg of the existing commands, > e.g. 'C-- C-x 2' without specifying the size of the root window, > or 'C-u -25 C-x 2'. Negative prefix argument is a nice idea for this, I agree. -- Sean Whitton