GNU logs - #64868, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#64868: 29.1; C-x O binding suggestion for (other-window -1)
Resent-From: Van Ly <van.ly@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 26 Jul 2023 06:48:01 +0000
Resent-Message-ID: <handler.64868.B.169035402312224 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 64868
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 64868 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.169035402312224
          (code B ref -1); Wed, 26 Jul 2023 06:48:01 +0000
Received: (at submit) by debbugs.gnu.org; 26 Jul 2023 06:47:03 +0000
Received: from localhost ([127.0.0.1]:47457 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qOYIY-0003B6-MS
	for submit <at> debbugs.gnu.org; Wed, 26 Jul 2023 02:47:02 -0400
Received: from lists.gnu.org ([2001:470:142::17]:52126)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <van.ly@HIDDEN>) id 1qOYIW-0003Aa-Pu
 for submit <at> debbugs.gnu.org; Wed, 26 Jul 2023 02:47:01 -0400
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 <van.ly@HIDDEN>) id 1qOYIR-0001xM-7t
 for bug-gnu-emacs@HIDDEN; Wed, 26 Jul 2023 02:46:55 -0400
Received: from mx.sdf.org ([205.166.94.24])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <van.ly@HIDDEN>) id 1qOYIP-0000mY-FG
 for bug-gnu-emacs@HIDDEN; Wed, 26 Jul 2023 02:46:54 -0400
Received: from sdf.org (IDENT:van.ly@HIDDEN [209.160.32.186])
 by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 36Q6kUf0017905
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO);
 Wed, 26 Jul 2023 06:46:41 GMT
Received: (from van.ly@localhost)
 by sdf.org (8.16.1/8.12.8/Submit) id 36Q6kU0Q011468;
 Wed, 26 Jul 2023 06:46:30 GMT
Date: Wed, 26 Jul 2023 06:46:30 GMT
Message-Id: <202307260646.36Q6kU0Q011468@HIDDEN>
From: Van Ly <van.ly@HIDDEN>
Received-SPF: pass client-ip=205.166.94.24; envelope-from=van.ly@HIDDEN;
 helo=mx.sdf.org
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_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)


When there are three or more windows in a frame C-x o runs the command
other-window.  Wanting to goto the previous window the keybinding for
that is not obvious.  C-x p is a keymap prefix for project related work.

May I suggest to make possible the binding C-x O for (other-window -1)
as follows

(global-set-key 
 (kbd "C-x O") 
 #'(lambda ()
     "Previous window."
     (interactive)
     (other-window -1)))

Use case to demonstrate idea suggested

 1. run, emacs -Q -nw --color=no
 2. create three windows in one frame
 3. when wanting to goto the prev window, C-x o runs the command other-window that goes the long way around
 4. C-x O that runs the command (other-window -1) improves the life quality experience

The *Messages* buffer says

 C-x o (translated from C-x O) runs the command other-window

Similarly if C-j behaves like C-m in the dired buffer to run the command dired-find-file that feels better.




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Van Ly <van.ly@HIDDEN>
Subject: bug#64868: Acknowledgement (29.1; C-x O binding suggestion for
 (other-window -1))
Message-ID: <handler.64868.B.169035402312224.ack <at> debbugs.gnu.org>
References: <202307260646.36Q6kU0Q011468@HIDDEN>
X-Gnu-PR-Message: ack 64868
X-Gnu-PR-Package: emacs
Reply-To: 64868 <at> debbugs.gnu.org
Date: Wed, 26 Jul 2023 06:48:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 64868 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
64868: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64868
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#64868: 29.1; C-x O binding suggestion for (other-window -1)
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 26 Jul 2023 11:15:01 +0000
Resent-Message-ID: <handler.64868.B64868.16903700687267 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 64868
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Van Ly <van.ly@HIDDEN>
Cc: 64868 <at> debbugs.gnu.org
Received: via spool by 64868-submit <at> debbugs.gnu.org id=B64868.16903700687267
          (code B ref 64868); Wed, 26 Jul 2023 11:15:01 +0000
Received: (at 64868) by debbugs.gnu.org; 26 Jul 2023 11:14:28 +0000
Received: from localhost ([127.0.0.1]:47635 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qOcTM-0001t9-KI
	for submit <at> debbugs.gnu.org; Wed, 26 Jul 2023 07:14:28 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38604)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qOcTK-0001sw-Rw
 for 64868 <at> debbugs.gnu.org; Wed, 26 Jul 2023 07:14:27 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qOcTF-0006Vy-HB; Wed, 26 Jul 2023 07:14:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=vgMpAA2g02VaCjCOnD+XQkanAqo9Xwx0wvAyKOkNi/A=; b=jGspYnpedc68
 NhcVruP89p2RYGzTyqnf2GCr4vfEYy2iDkHiG5v4TcsZyrcXjmGiNyxr5ZEu4IVPO5KkSJfvLYHBK
 ZVECLUyII3ANo2ko+QG5+cpk3F+LjGjYUNM6w+rBDE/2yVZbTRq0LPT2V2ML/XzrAvFicTEhs7Aa2
 oxmbb5pgybfWR0oVnr5vu6gmDUdSE9y0gF5KkIsZEnlCtyUDtvJTneE6id53iTytyID5XGIZS0kSK
 SPgg6DukYckvSCW4oICpdoAvOcCSEgIaiC7NiCEHjHiAwWynsg0izqe8BPJKQods8zxuyB+MVkc9V
 eJszx23LKZxbvsquyKDHuA==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qOcTC-0001k6-R0; Wed, 26 Jul 2023 07:14:21 -0400
Date: Wed, 26 Jul 2023 14:15:06 +0300
Message-Id: <83v8e6oret.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <202307260646.36Q6kU0Q011468@HIDDEN> (bug-gnu-emacs@HIDDEN)
References: <202307260646.36Q6kU0Q011468@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Wed, 26 Jul 2023 06:46:30 GMT
> From:  Van Ly via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> 
> When there are three or more windows in a frame C-x o runs the command
> other-window.  Wanting to goto the previous window the keybinding for
> that is not obvious.  C-x p is a keymap prefix for project related work.

What's wrong with "C-- C-x o" (or "C-u - C-x o" if you are on a
text-mode terminal)?

> 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.

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.





Last modified: Wed, 26 Jul 2023 11:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.