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: Thu, 28 Jan 2021 21:27:53 +0000 Message-ID: <938445fec630eb291362@heytings.org> References: <2EFBBE54-62F4-4373-82D6-DC8750B648BA@kuaishou.com> <87eei9xb5r.fsf@mail.linkov.net> <87sg6m5mjs.fsf@mail.linkov.net> <8735ykc37u.fsf@mail.linkov.net> <938445fec66b0cdb0c4e@heytings.org> <87h7n0n6lp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="IOYr1Qsvor" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30732"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 28 22:28:41 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 1l5EqH-0007vz-N6 for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Jan 2021 22:28:41 +0100 Original-Received: from localhost ([::1]:33668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5EqG-0002Vb-Ng for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Jan 2021 16:28:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5Epa-0001eF-H9 for emacs-devel@gnu.org; Thu, 28 Jan 2021 16:27:58 -0500 Original-Received: from heytings.org ([95.142.160.155]:56628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5EpY-0001U3-L7 for emacs-devel@gnu.org; Thu, 28 Jan 2021 16:27:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1611869274; bh=m06CPwVOXOFCRlsCxNfluOJTGStXQeGBSJFwpnncZ7k=; h=Date:From:To:Subject:In-Reply-To:Message-ID:References:From; b=btMMP2EC3TsZPOtdZY/OVTFTdTD9gjBgv1EGEA8t1x7g9pR6udHr6Sas63zUxuRPx 6d6UPxykM1zyFOLFjczHHjCDwe75eVVmgf/fat4FzglpVeHJM/bfE1es5lZzN3syvg tJS8cscO1cMNsxiliMavP0elz92YcWDvpXzIrrLryzPA9t3BcF0FVHZWMjr1NQChLf TBhrctoxUAZAr3S0p3Vl72VMwmLCDNYqD58RG36PM2q0bPh9dson3lRT7kpqs/JmRj 5XMXYsiIPCNApqYSNKk6vRg/lNG0/V5QUaql8ZSXPeKBaj/xA00RhXj/A1uhsfRaEA Di8nmW7nzmWKQ== In-Reply-To: <87h7n0n6lp.fsf@gmail.com> Content-ID: <938445fec64c812d0b31@heytings.org> 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:263558 Archived-At: --IOYr1Qsvor Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-ID: <938445fec6fa25d62959@heytings.org> >> IMO it is would be much better to map the existing repeat command to a= =20 >> single keystroke, it would make any command repeatable without changing= =20 >> anything else, and it already handles universal arguments. I think C-= =3D=20 >> would be the best key for this > > FWIW, one of the reasons Zhiwei gave for his initial "C-x o o o=E2=80=A6"= =20 > proposal was: > >> 2. Reduce the probability of RSI > > I'm assuming this would stem from having to hit Control less often. > > Not that we couldn't have both a repeatable C-x o *and* bind C-=3D to=20 > repeat; I merely want to point out that C-x o C-=3D wouldn't fully satisf= y=20 > the OP's requirements. > IIUC, what the OP said is that hitting C-x o multiple times is painful,=20 because it requires releasing and pressing the control key mutiple times.= =20 For example C-x o C-x o C-x o C-x o requires pressing and releasing the=20 control key three times. With C-=3D bound to "repeat", you could achieve= =20 the same effect with C-x o C-=3D C-=3D C-=3D, which requires releasing and= =20 pressing the control key only once. You could also achieve the same=20 effect with C-x o C-=3D C-=3D C-=3D C-=3D C-- C-=3D, which also requires re= leasing=20 and pressing the control key only once. --IOYr1Qsvor--