From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Proposal: new default bindings for winner and windmove Date: Sun, 23 Jun 2024 22:26:36 +0300 Message-ID: <86msnbcvf7.fsf@gnu.org> References: <86tthjcxd1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8472"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, acm@muc.de, stefankangas@gmail.com, emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 23 21:26:55 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 1sLSrX-0001y1-Gx for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Jun 2024 21:26:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLSrJ-00028U-Md; Sun, 23 Jun 2024 15:26:41 -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 1sLSrJ-00028M-4c for emacs-devel@gnu.org; Sun, 23 Jun 2024 15:26:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLSrI-0005Hm-Hi; Sun, 23 Jun 2024 15:26:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=+tKfYCmTbTcM2ZyQ09QmJvvmpf4vvpFm0ksBT4wO8M0=; b=E38RmjIxQTSNunLJ1s4M B3OUpzBemlkZrHBKJ9ojCUGb4XgLku7zPNWJbGxOTU/By6Km4PmEM0NSo/Yr6nL41fM1jvzQbfQmu rvkT0gYPfA94GT4YbB+e8e+b3PR9oc3YCCgh85/vrF+MphvmNoGQN94ScIHzOsZ5fUm8gb1f48izV nKE8BnMNa3d8t+PlBax/E5hbdIySEGDs1DbOair80jt0jNxoN4gHrP5NrsIdO9+o2bk6Vli2Z2ICR zKzY/IpLqEW+jC88Z9+hjSR4pP9m/+sI1GcK1TZ0WPFTahVyqe3X4pZbPOXc6G1XVrvyTgbar3ZAE cIGvVD7NVlYr3A==; In-Reply-To: (message from Daniel Colascione on Sun, 23 Jun 2024 14:51:11 -0400) 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:320563 Archived-At: > Date: Sun, 23 Jun 2024 14:51:11 -0400 > From: Daniel Colascione > CC: Alan Mackenzie , stefankangas@gmail.com, emacs-devel@gnu.org > > >For starters, windmove is not a preloaded package (neither is winner, > >but since this seems to be only about winmove, I guess winer needs a > >separate discussion). To have it available, you need to load it, > >either explicitly or by invoking one of the commands (which are > >autoloaded). I presume that the proposal for giving windmove commands > >key bindings means that the bindings will become in effect once the > >package is loaded, because nothing else makes much sense to me. Is > >that indeed what's being proposed? Does anyone have a problem with an > >optional package which, when loaded, binds some keys to its commands? > >That's a far cry from a naïve interpretation of "giving default key > >bindings to windmove". because a user who loads a package expresses > >his/her interest in using that package, and so binding some keys for > >that makes sense, and doesn't affect users who are not interested in > >the package. > > 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.