From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: master 6a2ee981c3: Add new functions for splitting the root window Date: Thu, 15 Sep 2022 09:19:08 +0200 Message-ID: <87v8pp3y1f.fsf@gmail.com> References: <166240424802.11417.12502552895310232639@vcs2.savannah.gnu.org> <20220905185728.838CEC0088A@vcs2.savannah.gnu.org> <86h71kseiw.fsf@mail.linkov.net> <87illzmjew.fsf@gnus.org> <868rmvxdvj.fsf@mail.linkov.net> <87bkrq5bmb.fsf@gnus.org> <87pmg69ifi.fsf@gmail.com> <87h71i3vr3.fsf@gnus.org> <864jxfghcf.fsf@mail.linkov.net> <87sfkygokp.fsf@gnus.org> <87r10hg5u7.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4947"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Stefan Monnier , Sean Whitton , Lars Ingebrigtsen , Juri Linkov , Robert Pluim , emacs-devel@gnu.org, Hugo Heagren To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 15 09:50:29 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 1oYjdl-0001BK-K8 for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 09:50:29 +0200 Original-Received: from localhost ([::1]:48024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYjdj-0007nE-LD for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 03:50:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYj9W-0008OT-O4 for emacs-devel@gnu.org; Thu, 15 Sep 2022 03:19:20 -0400 Original-Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:40791) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYj9V-0003FA-5m for emacs-devel@gnu.org; Thu, 15 Sep 2022 03:19:14 -0400 Original-Received: by mail-ej1-x62a.google.com with SMTP id l14so40014940eja.7 for ; Thu, 15 Sep 2022 00:19:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=yrqc0l+tMdn/zbPZr0Abo+3g2C7ilo8cKupMnl+1s78=; b=EdOiZaf/jFJce/pYPL1aqHCuOYe3R9A3J/lP+GTzkxjE7r9wfkoFOVPmJd7CI65QD9 eET5nA+FUqQ7j3VwF6dDA2r/RTsnSDRYaVBP9dr7pSCeWcslaO4qzipq9EQRzNDuEkHV VlfOV0Vlj+U+tWi2r8f2pvWrA4gf3IjMHTYNm1CSM+BdnTGf3U1Rb/aYJChd7pSK/sOn dawTTAjHDJNVZ5eKDkXxJD9tbLeM1J7o5xbQ+WZvLqKhUxZcPVSUuj4/wOY1dvELh9Vs nvvJwDklspbr5WeO0H8+KFOo2qyIBAnziTzrNqE+6vU1ZOo65UtKVoMLGP+uelPWbMR4 6hqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=yrqc0l+tMdn/zbPZr0Abo+3g2C7ilo8cKupMnl+1s78=; b=K+D8kl3wVnL4ULhPn6cWJP0F+QAvP09uimPdRaAiJsF6uGiN2hvEmFHKMynpWljxZ+ p+RCiP5xOe+36pcp+7MoswRnlpI1PuTxxIES153NV4T2mCjLmfUtGelBkXHHuzJtdE3z 5EYVpfrRRBnOdtvgOrBplQ/lz0QtLvG2Z8crNBWQZm/Yqna0efmlf28pDhZrUrnYgUqv plYe3XRntdy52xBnIok+SFzwyVdIKCCO79aQwllbeuQI/xvI0nzdFSid2lPGQI2MjRTv 8gJP2c0JgrVqeR0Vi+lMkDJtMT9Mobh4/wPCXXVM2UxCr01yIWdqblv+PWv/86JXsTDk jNcQ== X-Gm-Message-State: ACgBeo3GWaA2wFXxejX55A1zZ7KIgoHtMyRv7W/CdAw82XeBFrQX0TRN vUiQpli7wOv2CiVYxHcB1pg= X-Google-Smtp-Source: AA6agR7b+1rvyG6AmMkegaJHUEibyRjhUPolYBz8meqwy7QJDVZ2lnzvpkyZCl/ws9T4o2lHVUPU9A== X-Received: by 2002:a17:906:5d0a:b0:780:3c42:990f with SMTP id g10-20020a1709065d0a00b007803c42990fmr4082774ejt.9.1663226351246; Thu, 15 Sep 2022 00:19:11 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::8510]) by smtp.gmail.com with ESMTPSA id i18-20020a170906851200b0077a201f6d1esm8622659ejx.87.2022.09.15.00.19.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 00:19:10 -0700 (PDT) In-Reply-To: (Gregory Heytings's message of "Tue, 13 Sep 2022 09:33:16 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=arstoffel@gmail.com; helo=mail-ej1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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:295400 Archived-At: On Tue, 13 Sep 2022 at 09:33, Gregory Heytings wrote: > Fully agreed. I we're going to put window commands on C-x w, I > thought I might share the part of my configuration that deals with > windows (see attached), which I adapted to that new prefix. Since you mention various custom repeatable commands, I think we're missing a less drastic version of delete-other-windows which deletes all siblings in the window configuration tree of the selected window. In other words, the non-root-window version on C-x 1. I use this as a simplified replacement: (lambda () "Delete other windows, but only vertically if applicable." (interactive) (or (delete-other-windows-vertically) (delete-other-windows)))