From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: POLL: make C-x o transient Date: Wed, 27 Jan 2021 21:46:05 +0000 Message-ID: References: <2EFBBE54-62F4-4373-82D6-DC8750B648BA@kuaishou.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="2fj88OO5bZ" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1522"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 27 22:48:22 2021 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 1l4sfm-0000JB-3G for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Jan 2021 22:48:22 +0100 Original-Received: from localhost ([::1]:57608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4sfk-0006fm-VK for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Jan 2021 16:48:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4sdh-0004V1-MQ for emacs-devel@gnu.org; Wed, 27 Jan 2021 16:46:13 -0500 Original-Received: from heytings.org ([95.142.160.155]:55574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4sde-0003XK-Fu for emacs-devel@gnu.org; Wed, 27 Jan 2021 16:46:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1611783966; bh=y3HNYtlP7FoSAVk/GWRytL04LjlHzGYHvcLKL75pqgw=; h=Date:From:To:Subject:In-Reply-To:Message-ID:References:From; b=mX2XQhdY37AQIuvsv3ZlMeznKyiceORevFTiCx0dLJDswNEeX5ipDS0mXV25gxnev B4IAYa5OOKpuIn6cpKC6EIFe+GDpuYH8sXA8GXt1R1lVCtMgebGS0rgKpV0Eb/ZYjg 0Xgc+kkEvEaGqAZmPYFjfmpDQ9+GJM//UBBCo5WvYtzjofVtXm6MGK1LOFA3qDMa5J x0Y5DDsdeuWgi81M1c5nlrCwn1gpVgXsB6y7QwoZKgIsXI/QiWwxXPgqxoQP6L/0vw EHpNyocbAD3xiZ8Y2VqnXw/T0jDK41Tu2KSvXat9ERJGdOm639Em4MtTTW17RrHkIL I6iujj+nlQDMA== In-Reply-To: <2EFBBE54-62F4-4373-82D6-DC8750B648BA@kuaishou.com> Content-ID: Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_FMBLA_NEWDOM28=0.799, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:263519 Archived-At: --2fj88OO5bZ Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-ID: > > Which will make `C-x o` invoke a transient version of `other-window' like= `text-scale-adjust=E2=80=99 does. > > What benefits from this change: > 1. Fewer keystrokes for multi windows navigation > 2. Reduce the probability of RSI > 3. Able to navigate windows backwards=C2=A0 > Note that in vanilla Emacs C-x z repeats the last command; C-x z z z...=20 repeats it again and again. It displays a message in the echo area=20 "Repeating command ". You can also for example (global-set-key (kbd "C-z") 'repeat) to repeat=20 any command with a single keystroke, in which case you can also change the= =20 prefix argument while repeating the command: C-x o C-z C-z C-- C-z=20 executes (other-window 1) three times, then (other-window -1). --2fj88OO5bZ--