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: Mon, 24 Jun 2024 05:28:30 +0300 Message-ID: <86bk3rcbw1.fsf@gnu.org> References: <86tthjcxd1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22495"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dancol@dancol.org, acm@muc.de, stefankangas@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 24 04:29:21 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 1sLZSK-0005fV-2C for ged-emacs-devel@m.gmane-mx.org; Mon, 24 Jun 2024 04:29:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLZRd-0001m0-6b; Sun, 23 Jun 2024 22:28:37 -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 1sLZRa-0001lf-Pb for emacs-devel@gnu.org; Sun, 23 Jun 2024 22:28:34 -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 1sLZRZ-0007Sj-ES; Sun, 23 Jun 2024 22:28:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=M1Cw04nMHAHuKajCR0ypXp2nUFtKcz1c+lwmDAJXfgk=; b=RFOaqZjo+CvW Rt9mpm+4nffHpXqcRZWdW42IAA168onSYk8ZX8CMuJ9YB8epg2mve2SXRoizHRQIrg5JXdSi5jzcj t4OWyYnehwIYfkHKChaObpwlV2i/JM/GVpN2RJKfOjFLSPKrTVS/p2eK3+04X7fL3j+xoWkSvLS6N +QIW9GHitaK8daGIoll2SgGOuwKv9QYZoFr+hRc4h7Ios5hQPoNdh/P7BRflUQP1h8FvmlLOLsVF3 l2xXN5RbU8ne+FEvdWL2d5kbcMNRl8fy2wQFo3pd3hcvdTjpKCm46dd7U+ROXcABIwLFP/THJSXqF UN22VCQn0qeAO6Oxw6WAsA==; In-Reply-To: (message from Stefan Monnier on Sun, 23 Jun 2024 15:52:16 -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:320582 Archived-At: > From: Stefan Monnier > Cc: dancol@dancol.org, Alan Mackenzie , > stefankangas@gmail.com, emacs-devel@gnu.org > Date: Sun, 23 Jun 2024 15:52:16 -0400 > > > Does anyone have a problem with an optional package which, when > > loaded, binds some keys to its commands? > > I do: merely loading a file shouldn't make such changes. I didn't say "merely loading". There's windmove-mode, for example. > I assumed the idea is rather to add keybindings maybe in `bindings.el` of > the form `[mumble] [ModifierMumble]-` to autoloaded > commands. So `windmove` would still not be preloaded and there'd be no > interaction with `windmove-default-keybindings`. That makes no sense to me: to "waste" keys for an optional package. We do this for commands for which there's no other option, like M-. etc. But here we do have the traditional other-window (I have it bound to a key that is easier to type).