From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Universal/prefix argument for "other window" redirection? Date: Thu, 08 Apr 2021 19:42:53 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37177"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) Cc: Stefan Monnier , Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 08 19:44:04 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 1lUYhH-0009Y4-C9 for ged-emacs-devel@m.gmane-mx.org; Thu, 08 Apr 2021 19:44:03 +0200 Original-Received: from localhost ([::1]:54244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUYhG-00013i-CC for ged-emacs-devel@m.gmane-mx.org; Thu, 08 Apr 2021 13:44:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUYgJ-0000W3-5d for emacs-devel@gnu.org; Thu, 08 Apr 2021 13:43:03 -0400 Original-Received: from mail-oln040092075107.outbound.protection.outlook.com ([40.92.75.107]:37635 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUYgF-0007uO-9r for emacs-devel@gnu.org; Thu, 08 Apr 2021 13:43:02 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D4jUn4PVqAHLjI4ornKGd97Jm8C+nPIv9T1YOeO72gbc0adWAKTvTh5sVasHUFfw6mob3cuZT2pfp5LbmkKfLbbFh3/yjjZycmJzU9Y7GqDyGvG3R9XNwlBQzKYTtSJYmMxAIac2rTQV9AaC2LZT1H6i0e2+jN8uev7gbG+ZEe+e4/eomYzs2HiU4Lyq1O7ybls7tn8HYJtAVQEviNGSjk1Z4HRnN2FzjSLq43ongbZ0/Im8xlABSz29733qftUu2sYx6VkNBNvcDZhV4OeeSgz9s57lMIFb7kC9xnOa+m11kYDfj6H2W0okJcoiRUNLa4tMjTMj6nEm+z6Q2myCvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BgY2MelrKZ6xGIDmSLgX/JCyrHxt6POqxpUBX3zwGgI=; b=aNnwYKsq4404+artE7dOxIIkMFrQB8sArhntPwpKKGyA8xmapuKD0ue4r6fyOkgjovfmbHPWlhS6UOys+pkpKuGNUJ93OV6b1MwZ3XwfE0ul2HRXiwWdXpTV0Ub0mv7pMERiXUu7gapcv65wVZ5brIv1ViUCjkLLnsG/LIqyNHuQO9ZkFbZ6hjTOA0zzAC3cQKdNZdBn9pADGWlcqD1s0rqt6bSHGMO+1wuiu6bbUS6mHCpkCxZf+lUy8ZkV1URwz1duh2g+RUvP6vxKCg25Zxsnt88iCEuc1hgx+b+jkC+5g4CjYLr8HPTnuukUkz8n+RNuv5KuZ09VLCY9c+KXGA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BgY2MelrKZ6xGIDmSLgX/JCyrHxt6POqxpUBX3zwGgI=; b=ZSscZ4h5lhhxJz4F8xrkN8WMsjg+xC6B4v5nwTWMIKI3ULkt+E3Rf8FOlTMmj0M13l78xxhgERlGktmbRgf+TnDvyqKqBAuryElOhVO5BgJb5opmDgbqPYiIi9BjeSeMyTZpQ6ZwK9wAtukJ9raOoxstjKB+FU34GqJcC748peKeOz+ZKL/tuRqQLYXqgbh5t5eAdIyl7iGf/PDGf+lPb7I5N8NNEslT4vmqIMzcXUEt2M9Sx0hrWJZA6iO6WuowKXRN+QHenY394uKM8BIndGA0I2f+JF7Bff7cqHxwxIzuKNN6XMOMGtGStFqH2H3JaMCc10B/jTdoq5VvGsPytg== Original-Received: from VI1EUR04FT050.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::4b) by VI1EUR04HT072.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.17; Thu, 8 Apr 2021 17:42:55 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:7e0e::4a) by VI1EUR04FT050.mail.protection.outlook.com (2a01:111:e400:7e0e::369) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.17 via Frontend Transport; Thu, 8 Apr 2021 17:42:55 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:E71F6C10CC02CFEA695DA06E562A400E80FFCE4D958E8A80971BB2B071FF0C4E; UpperCasedChecksum:560C8B0E860C21CB431E17F9C3955523146226C37D727E2F57C6977F70786271; SizeAsReceived:9013; Count:47 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::2103:e705:bc0c:5a8b]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::2103:e705:bc0c:5a8b%6]) with mapi id 15.20.4020.017; Thu, 8 Apr 2021 17:42:55 +0000 In-Reply-To: (Yuri Khan's message of "Fri, 9 Apr 2021 00:01:08 +0700") X-TMN: [ZEpoo55dpCPj5at+qbIN+O59AAu4zJHY] X-ClientProxiedBy: AM5PR0202CA0024.eurprd02.prod.outlook.com (2603:10a6:203:69::34) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <82lf9s65b6.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from HP-Laptop.homepc (81.232.177.30) by AM5PR0202CA0024.eurprd02.prod.outlook.com (2603:10a6:203:69::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.17 via Frontend Transport; Thu, 8 Apr 2021 17:42:55 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 01eb3fa3-8d96-48c0-a71f-08d8fab5bdbe X-MS-TrafficTypeDiagnostic: VI1EUR04HT072: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AOcHM57nJ/MgUvnLUaah50joOIaS8PoaktfplZjStBKWQIoCuJWknKuqMMl0vQgdZ5I8SURctqv0FizFj/y4mYPv7x3nCKOt+xdo5DPc6vZ1/btto0HR4XadYEC0BVHAifKiiqdU/FDCF3SE3G1U0EuY5PzLyS28CPLFSeCYCPStxIAsxMqmwDpKjP2bNyjMt+sdBAuZJAOOHFSxUIOVpNP9Ri0pW8n0guE8m5cbRrSZcmhAUlCgJoRe7ap4iU6dfqzbwpl0I2zzMBXCWBAM/zhw07HDwYWwTqvuLBaqXKxK43tYb11mEEj/0hb1rLGpKMWkXTF+kaFTiwE6uH1LBx2EDLzw0JNHWue3GhQQXDWCbUux2NzILZjrIr750VJeKE9VBshA9jdOlI+vYXVS5cxyGbhNObYmWwlN1mnf6Uc= X-MS-Exchange-AntiSpam-MessageData: bL6r8RC/66bHZ/AXSw+Im+deCxmoveEfB5VEhEfaANU/2xh0OVgsVUpNmeNmwIRPHQskD8RemBiO/0tbwsWswkGhXnSGz7lXzWaJZmWCM/9GypTDg494ieeYWI5jhk95um03AheAOC3Tv6rsektENg== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01eb3fa3-8d96-48c0-a71f-08d8fab5bdbe X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Apr 2021 17:42:55.5046 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR04FT050.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR04HT072 Received-SPF: pass client-ip=40.92.75.107; envelope-from=arthur.miller@live.com; helo=EUR04-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:267640 Archived-At: Yuri Khan writes: > On Thu, 8 Apr 2021 at 23:12, Arthur Miller wrote= : > >> I don't know myself what I really want. I find myself switching a lot >> between two windows, which sometimes feels redundant. Maybe it is just >> the shortcut, C-x o, or in my case C-v o. After playing with Gregory's >> example, I am thinking of just binding the other-window to the `=A1=EC` = key. >> Maybe that itself will be enough for somewhat "smoother" experience. > > Maybe what you want is a foot pedal that emits a =A1=AEC-x o=A1=AF when p= ressed, > and another =A1=AEC-x o=A1=AF when released. Something like vim-pedal[1] = but for > Emacs. Ha! I think we are onto something here. One of those el-piano pedals or some old guitar effect pedal? A bluetooth wireless pedal? I mean a whole board of those pedals, like guitar pedal boards. Imagine how many modifiers we could have: ctrl, alt, hyper, super, duper ... maybe all on just one pedal with tactile levels, and then add many pedals to it. I think we have a product here :). > [1]: https://github.com/foxweb/vim-pedal > > Or an eye-tracking camera that focuses whichever window you are looking a= t. That is not a bad idea at all :). I am not sure how much eye-tracking would this old laptop be able to process and what would happen when I look elsewhere though. But maybe it is possible to make it smart enough? > (Me, I=A1=AFm content with binding my local equivalent[^2] of s-[esdf] to > windmove-{up,left,down,right}-cycle.) I have also bound those, in my case C-v [lrud] for left right up and down, but I think is as awkward as C-v o. Maybe I'll try vim shortcuts for a while, but I see on Reddit people are switching from evil anyway. > [^2]: It=A1=AFs actually M-s-[frst] due to using the Colemak layout and > having two thumb modifier keys, Is there two thumb modifier for my hands? Feels I would need some.