From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: POLL: make C-x o transient Date: Sun, 31 Jan 2021 17:49:30 +0000 Message-ID: References: <2EFBBE54-62F4-4373-82D6-DC8750B648BA@kuaishou.com> <8735yhpou7.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25537"; mail-complaints-to="usenet@ciao.gmane.io" Cc: condy , Zhiwei Chen , "emacs-devel@gnu.org" To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 31 18:51:19 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 1l6GsZ-0006WK-35 for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Jan 2021 18:51:19 +0100 Original-Received: from localhost ([::1]:46282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6GsY-0003zw-4x for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Jan 2021 12:51:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Gr0-0003Ob-Q2 for emacs-devel@gnu.org; Sun, 31 Jan 2021 12:49:43 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:29913 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1l6Gqs-0004fF-GJ for emacs-devel@gnu.org; Sun, 31 Jan 2021 12:49:39 -0500 Original-Received: (qmail 34961 invoked by uid 3782); 31 Jan 2021 17:49:30 -0000 Original-Received: from acm.muc.de (p2e5d5e05.dip0.t-ipconnect.de [46.93.94.5]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 31 Jan 2021 18:49:30 +0100 Original-Received: (qmail 15256 invoked by uid 1000); 31 Jan 2021 17:49:30 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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.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:263661 Archived-At: Hello, Drew. On Sun, Jan 31, 2021 at 17:32:48 +0000, Drew Adams wrote: > > > Which will make `C-x o` invoke a transient version of > > > `other-window' like `text-scale-adjust’ does. > > I would really like to have "C-x o o o o" feature to cycle through > > frame's windows. I think one cycling direction is enough because frames > > don't usually have large number of windows. On the other hand even "C-x > > o o" is much nicer than "C-x o C-x o". > Agreed. We should bind a _repeatable_ version > of `other-window' to `C-x o'. I personally find even one C-x o to be an annoyance. So I've bound other-window to F12. (My other Fn keys are for switching to frame Fn.) > And we should consider doing likewise for > other non-repeatable commands where it makes > sense: give their existing bindings to > repeatable versions. > (You can of course already, today, use > `C-x o C-x z z z z...'. Not a big difference > from `C-x o o o o o': Just add a `C-x' and > repeat `z' instead of `o'.) That's not a small difference, either. I think most repeated commands are going to be repeated a small number of times, like once, or possibly twice. C-x o C-x z isn't saving anything over C-x o C-x o. By the time you're up to C-x o C-x z z z z, you've probably already reached for the mouse and clicked in the target window. -- Alan Mackenzie (Nuremberg, Germany).