From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Proposal: new default bindings for winner and windmove Date: Sun, 23 Jun 2024 23:07:05 +0300 Message-ID: <16eea1cb-9592-41f7-9000-3622bd59e11d@gutov.dev> References: <86tthjcxd1.fsf@gnu.org> <86msnbcvf7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18202"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: monnier@iro.umontreal.ca, acm@muc.de, stefankangas@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii , Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 23 22:08:00 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 1sLTVH-0004Tt-DA for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Jun 2024 22:07:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLTUb-0004k7-2I; Sun, 23 Jun 2024 16:07:17 -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 1sLTUY-0004ju-TL for emacs-devel@gnu.org; Sun, 23 Jun 2024 16:07:14 -0400 Original-Received: from fout8-smtp.messagingengine.com ([103.168.172.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLTUW-0004Qa-HW; Sun, 23 Jun 2024 16:07:14 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id BA86C1380104; Sun, 23 Jun 2024 16:07:09 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 23 Jun 2024 16:07:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1719173229; x=1719259629; bh=xqCnycUeyfWKFC711cztjNTKwfrWM1HqvYkVhVl9iZw=; b= WMewWDWPVNKlVB3cYS1nR09apSjGSrkH+GiXzIoecW5yGhuteCR7quCkHYVineqD X1sHiETeXLXnEyhqvkL1C4UfnGoxwuogeXw6awlNW240VrDaJhkyNFrxJ5+JS0Ih whTb799vf85yq/tNPFIYCAO03w47WThLd/Ph5VolIBBRUGJaMKOt5u6rEf8vS9nT qrRQolV56Qz96fwKIrqpsKWxbjdHKJqGj01rRUeKXfRFuqbrn0ufauRLm1Y5SpfZ Gbocku0M09SWQLEJaQQueUyXZIPNSRkNVk0CvI5v/S7tmpjRy4FvR067InMLG3ms +7XPY4WhxIcaM4QU2H2Spw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1719173229; x= 1719259629; bh=xqCnycUeyfWKFC711cztjNTKwfrWM1HqvYkVhVl9iZw=; b=v uKCwXiVtDaZiVxTACLyhxkTjTs95QlVPtmd5oiYDSEhXG0pfXkWfJymGDuvN4t8k U3ULTYBbuUoUdVwBImzNnoKhaoJgiu7d4FdXg8WWWE4QEk+jyq2b7xs6HZ7hFPBq X8VxU/bW6RcAg9UwJ0U9lytz2rNenj/e+omVJByL+X7TM/Hy15MRagborW7o6nlf cBLUbjZGiliuePwxYZjDDzg97G9+37QcCNTirbwJAhsRf0ddVGw7ImiAnC7oYsst 8Q+B4sbgAAUWlqk7JyUkPBTudYTQwBWlq/4uKj3xX7i2+j9aFAL6tiWvsuyQG6kv Jki8kwAPeNn9Z5AyQPoFw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeefledgudegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveeg udejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 23 Jun 2024 16:07:07 -0400 (EDT) Content-Language: en-US In-Reply-To: <86msnbcvf7.fsf@gnu.org> Received-SPF: pass client-ip=103.168.172.151; envelope-from=dmitry@gutov.dev; helo=fout8-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, SPF_HELO_PASS=-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:320570 Archived-At: On 23/06/2024 22:26, Eli Zaretskii wrote: >> Why not just set up the keybindings by default and autoload the package when the bindings are invoked? That's the friction minimizing option. We don't have to change any bindings installed by the current windmove code. > I think this is too drastic, that's why. The package is not loaded by > default now. Let's first change the key bindings that become in > effect when the package is loaded, and consider doing that by default > only if the package becomes popular enough. The whole concept of autoloads is deferring the loading of packages until they are used. And it's a good one, saving on loading time and used memory. We can just add bindings for those commands (which are autoloaded), no further changes necessary.