From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Van Ly via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64868: 29.1; C-x O binding suggestion for (other-window -1) Date: Wed, 26 Jul 2023 13:19:48 GMT Message-ID: <202307261319.36QDJmW9005492@sdf.org> References: <202307260646.36Q6kU0Q011468@sdf.org> <83v8e6oret.fsf@gnu.org> Reply-To: Van Ly Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2173"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64868@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 26 21:02:29 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qOjmH-0000NV-1K for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Jul 2023 21:02:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOiDQ-0000p0-I3; Wed, 26 Jul 2023 13:22:24 -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 1qOeRq-00016h-Ej for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 09:21:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOeRq-0008P8-5v for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 09:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qOeRp-0007t6-Q5 for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 09:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Van Ly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jul 2023 13:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64868 X-GNU-PR-Package: emacs Original-Received: via spool by 64868-submit@debbugs.gnu.org id=B64868.169037760430239 (code B ref 64868); Wed, 26 Jul 2023 13:21:01 +0000 Original-Received: (at 64868) by debbugs.gnu.org; 26 Jul 2023 13:20:04 +0000 Original-Received: from localhost ([127.0.0.1]:47706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOeQt-0007re-PC for submit@debbugs.gnu.org; Wed, 26 Jul 2023 09:20:04 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:50770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOeQs-0007rA-6f for 64868@debbugs.gnu.org; Wed, 26 Jul 2023 09:20:03 -0400 Original-Received: from sdf.org (IDENT:van.ly@rie.sdf.org [205.166.94.4]) by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 36QDJo1J028516 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 26 Jul 2023 13:20:00 GMT Original-Received: (from van.ly@localhost) by sdf.org (8.16.1/8.12.8/Submit) id 36QDJmW9005492; Wed, 26 Jul 2023 13:19:48 GMT In-Reply-To: <83v8e6oret.fsf@gnu.org> (message from Eli Zaretskii on Wed, 26 Jul 2023 14:15:06 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266134 Archived-At: > Date: Wed, 26 Jul 2023 14:15:06 +0300 > From: Eli Zaretskii > Cc: 64868@debbugs.gnu.org > > What's wrong with "C-- C-x o" (or "C-u - C-x o" if you are on a > text-mode terminal)? > C-- shrinks the font size depending on the console. To run the universal-argument command I map the C-u to somewhere else as the fingers more frequently use C-u for rubbing out from the current position to left margin position zero. I use Super-u or Escape-u for universal-argument and avoid that if I can because Super and Escape are read differently depending on console and keyboard context. > > May I suggest to make possible the binding C-x O for (other-window -1) > > as follows > > We don't have too many free key sequences, so "wasting" one on > something that can be easily achieved via an existing binding is not a > good idea, IMO. I agree. I guess we could use C-x O for now until something more preferable comes along to occupy the big O. org-mode? That fits nicely next to project. > Of course, you can always make this binding in your own configuration. > What I wrote above is about the default bindings -- I see no > justification to change that. Perhaps there could be a minor mode to flip the switch on C-u and C-h behavior. Rolling your own C-u and C-h behavior breaks functionality for example to find completions to C-x p using c C-x p doesn't do what the default C-h does I guess c C-x p C-h ; or TAB, I guess wrong there too The fallback is to search the output from b or the describe-bindings command for C-x p.