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: Wed, 26 Jun 2024 18:38:32 +0300 Message-ID: <865xtv90jr.fsf@gnu.org> References: <7133BE83-064B-43A4-A193-61376605222C@dancol.org> <055E6E92-6971-409E-A106-7E0C64FEF856@dancol.org> <87bk3r22x5.fsf@yahoo.com> <746FE961-37C5-4387-8274-7D90908EE2D6@dancol.org> <8734p3219c.fsf@yahoo.com> <867cefeo1w.fsf@gnu.org> <8734p03e94.fsf@jeremybryant.net> <867cec9ccl.fsf@gnu.org> <86jzib96yp.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23952"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jb@jeremybryant.net, luangruo@yahoo.com, acm@muc.de, stefankangas@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 26 17:39:16 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 1sMUjs-00061B-H7 for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Jun 2024 17:39:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMUjG-0002o3-7y; Wed, 26 Jun 2024 11:38:38 -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 1sMUjF-0002nh-J8 for emacs-devel@gnu.org; Wed, 26 Jun 2024 11:38:37 -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 1sMUjE-0006sw-4j; Wed, 26 Jun 2024 11:38:36 -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=XwRTnqEEe0XA87b0IV84/TWgW3inJo08kCkxLTJsEuk=; b=UhZ95BrWnQ+H 9J3zRBadAP3HRiVx950ANXQ6DCFClS6sTNo3zj7uvjJCOQQupyisQ0h3KrD36snq5s5hJDqBs1nLK RASOUV3NSbDjMiwCkdxdsxLaKfolqyioHRq0ScDbKBpj+9XRcVgJV5Cv5llv8La1PYYRxrHH8i+6g NyJIeznKt3UORGnZr9sDpl3j2RUTm1CfMpGRiRvSGfW2l8OPuhvsk0ayTBFFx3ubrgccXp6kQ3jRb FVe4ZHt1U6znTjbUN0KiqIZOwfUUteHulh+b/a+zfswQOb5c8zGX9ecGllnAYb20vnWSXQK7Ddo3c vXXvriCXzZ+ZRI6YpKcWRw==; In-Reply-To: (message from Daniel Colascione on Wed, 26 Jun 2024 09:57:30 -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:320716 Archived-At: > Date: Wed, 26 Jun 2024 09:57:30 -0400 > From: Daniel Colascione > CC: jb@jeremybryant.net, luangruo@yahoo.com, acm@muc.de, stefankangas@gmail.com, > monnier@iro.umontreal.ca, emacs-devel@gnu.org > > >> To be clear, my proposal is to bind C-x 4 in the default global keymap to the corresponding directional windmove commands and to bind the shifted versions of these keys to the state swapping versions of these movement commands. IOW, in emacs -Q, C-x 4 LEFT should move left. > > > >Thanks, but how should we do that without breaking > >windmove-default-keybindings for those users who use it? > > ... by not touching windmove-default-keybindings, except perhaps to mark it obsolete? Adding bindings to the default keymap does not interfere in any way with what windmove-default-keybindings does. So people who use windmove-default-keybindings will now have these commands bound to more than one key sequence? I hoped we could come up with a more elegant solution.