From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Proposal: new default bindings for winner and windmove Date: Mon, 24 Jun 2024 03:29:18 +0000 Message-ID: <87o77rc92p.fsf@posteo.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40660"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , Daniel Colascione , emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 24 05:30:15 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 1sLaPG-000AOQ-VC for ged-emacs-devel@m.gmane-mx.org; Mon, 24 Jun 2024 05:30:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLaOU-0006iq-Nx; Sun, 23 Jun 2024 23:29:26 -0400 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 1sLaOT-0006ih-E2 for emacs-devel@gnu.org; Sun, 23 Jun 2024 23:29:25 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLaOR-00013o-5F for emacs-devel@gnu.org; Sun, 23 Jun 2024 23:29:25 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7904B240101 for ; Mon, 24 Jun 2024 05:29:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719199760; bh=2XzwFy5lCPwbYe+dxN+/6NLdOjwKEJrAjBx45t+IFd0=; h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=cTvw1OZThpaTSE5+YogczYO1grpGS0ubsCSNrQH5aU0ogXzAvxX3cpTmOpGbkM+PW CSG6iAXgROnuFVfm4vuFDGnnzlsjoS1jW2OT0IoWxJvZEz/vC5VzejccJwllU0G+PQ mBYglGYcL/ENAGqxcVuAnodZ+XfSNwp6hLSIQRoOcS5mGyJq0u4/gxkjWu9uHkhoRk JjH3qIWyqP9dYKeAwNoXLzdoUdVsGXL1g7P1/Xxp662UAfsinIaUjSZdsnxgcgyYzE NxhuL552P0P6RPTvpBLvCbjzuEhzIK5Zl8rLTHIMsliWOT7dtr9A5PhqVqMb/sArP3 CPH7pt5+NNB3g== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W6tjp5pYnz6trs; Mon, 24 Jun 2024 05:29:18 +0200 (CEST) In-Reply-To: (Stefan Kangas's message of "Fri, 21 Jun 2024 15:39:09 -0500") OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320586 Archived-At: Stefan Kangas writes: > Stefan Monnier writes: > >> A few years ago, Daniel suggested: >>> Likewise, for windmove, we can bind C-x 4 {left, right, up, down} and DWIM >>> for people automatically, enabled by default. >> >> AFAICT we still don't actually provide any keybindings for the windmove >> commands by default. Did I miss a controversy about that, or did it >> just fall through the cracks? > > FWIW, I don't remember any controversy either, so my guess is that it > just fell through the cracks. I didn't manage to read the entire thread, but isn't the main issue with C-x 4 that it is a relatively long key chord with a certain travel distance on the keyboard for a quick operation? If it is easier to press C-x o a few times (which `repeat-mode' makes even easier), then there is little point in adding a default binding, I feel. I personally bind the keys directly to arrow keys, but this is not really a practical solution for OOTB bindings. But C-c is not bound by default, not are they reserved if I am reading (elisp) Key Binding Conventions correctly. The main issue is that winner-mode uses C-c {left,right} when loaded, by default. So perhaps C-c C-, which is easy to type and repeat? -- Philip Kaludercic on peregrine