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: [External] : Re: Proposal: new default bindings for windmove. [Working minor mode] Date: Mon, 01 Jul 2024 21:18:01 +0300 Message-ID: <86ed8ddlie.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7588"; mail-complaints-to="usenet@ciao.gmane.io" Cc: drew.adams@oracle.com, stefankangas@gmail.com, monnier@iro.umontreal.ca, dancol@dancol.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 01 20:18:47 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 1sOLbz-0001mt-Pj for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Jul 2024 20:18:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOLbL-0003Gi-D5; Mon, 01 Jul 2024 14:18:07 -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 1sOLbI-0003GX-Rh for emacs-devel@gnu.org; Mon, 01 Jul 2024 14:18:04 -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 1sOLbH-0008I6-S9; Mon, 01 Jul 2024 14:18:03 -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=juV1yF68LGvYAOVVlKtQIg3hmyWG3Uc0/50iNbldzek=; b=fZ03CAW0VZye tr6UKOdisvZokgfblDKjV/7to28bhnwT2Ssed14Bm1oye7iMLlwp6ow5RRy0Hs7G6KDe0WRBCwLtY +1vL904izdqdpdYpLHxKh5fqC84zJY/N2MIQdiRS21H17/P23uLgELXhKYMNXGONuFv2qDCEfPx9/ HdMTJ5JBUlY3gOpTtKPE5LvlJ49E6WKnObJ6dhjvkkgj0nuaQPDPbKA2aNZlnyHCg+cYr1KGPjEP3 A3LdI0eiQpg3dRvcDRogs8WGFU8JdAXeqB5xhy3ijy9Gr9wisCZcsQZryWSL4uXhDHA68Lbi85XQY sxYX/DSkn1r0ymBk05/sfw==; In-Reply-To: (message from Alan Mackenzie on Mon, 1 Jul 2024 18:12:41 +0000) 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:321048 Archived-At: > Date: Mon, 1 Jul 2024 18:12:41 +0000 > Cc: Stefan Kangas , > Stefan Monnier , > Daniel Colascione , > "emacs-devel@gnu.org" > From: Alan Mackenzie > > OK, to get the ball rolling, here is a fully functional minor mode which > could easily fit into windmove.el. It is just lacking a doc string and > a buffer local version, if the latter makes any sense, here. > > (define-minor-mode windmove-c-x-4 "Doc string." > :lighter nil > (windmove-install-defaults '(?\C-x ?4) nil '((windmove-left left) > (windmove-right right) > (windmove-up up) > (windmove-down down)) > (null windmove-c-x-4))) Thanks, but there is already windmove-mode, so adding yet another minor mode for this makes very little sense to me. It will make an inelegant situation we already have even uglier.