From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Proposal: new default bindings for winner and windmove Date: Mon, 01 Jul 2024 23:29:22 -0400 Message-ID: References: <875xto7lbn.fsf@dancol.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18517"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Daniel Colascione , Po Lu , Stefan Kangas To: Po Lu via "Emacs development discussions." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 02 05:29:48 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 1sOUDD-0004a7-QX for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Jul 2024 05:29:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOUCw-0003PY-Bq; Mon, 01 Jul 2024 23:29:30 -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 1sOUCu-0003PP-9r for emacs-devel@gnu.org; Mon, 01 Jul 2024 23:29:28 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOUCr-0001Dc-QH for emacs-devel@gnu.org; Mon, 01 Jul 2024 23:29:27 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D698D100061; Mon, 1 Jul 2024 23:29:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1719890963; bh=1oW5ZSO5TwoBoftJexe/obGhp7VvkuwkaYNO6Z/qe/I=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=JlZh46V57EfqB4a03fxwu4RhhLXMnWhXEnupQER4aRN2bwaQb6MZ+BwkliATsidDZ GsMO7rWw894RkYYE7mrmq3YGPGo7HkmawQJJJ+Rn3JhF1Xv65i4qIFuZbB52p7TXlu TzG5wbCKtHFCcI1Z9joMwV9JjbS2NzZLShi38GYDExYWSJysfmgj1c+ecuk+GxcOSS WeRIPGjJmXDKDdTmgrpBVuYTuF7g21wUF3DxSiw3uwMT/wxsJY3oUN8y3YxfsoiH9a /qfv0OA//gs+4/bq278WUv6Au0Gg86pGTleE4nQnMd1878GMV8df3uOdGYJfPUseJP cAxZETsaWpNRg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A03F8100035; Mon, 1 Jul 2024 23:29:23 -0400 (EDT) Original-Received: from pastel (unknown [45.72.245.253]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 69ABD120230; Mon, 1 Jul 2024 23:29:23 -0400 (EDT) In-Reply-To: (Po Lu via's message of "Tue, 02 Jul 2024 09:02:12 +0800") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=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:321088 Archived-At: >> +;;;###autoload >> +(define-key ctl-x-4-map [left] 'windmove-left) >> +;;;###autoload >> +(define-key ctl-x-4-map [right] 'windmove-right) >> +;;;###autoload >> +(define-key ctl-x-4-map [up] 'windmove-up) >> +;;;###autoload >> +(define-key ctl-x-4-map [down] 'windmove-down) >> +;;;###autoload >> +(define-key ctl-x-4-map [(shift left)] 'windmove-swap-states-left) >> +;;;###autoload >> +(define-key ctl-x-4-map [(shift right)] 'windmove-swap-states-right) >> +;;;###autoload >> +(define-key ctl-x-4-map [(shift up)] 'windmove-swap-states-up) >> +;;;###autoload >> +(define-key ctl-x-4-map [(shift down)] 'windmove-swap-states-down) >> + >> >> (provide 'windmove) > > Disabling windmove-mode must disable these bindings as well. Could you explain your reasoning for that? Stefan