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: [External] : Re: POLL: make C-x o transient Date: Fri, 29 Jan 2021 07:54:46 +0000 Message-ID: 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> <87y2gchcpm.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7842"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 29 08:56:26 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 1l5Odm-0001vt-JT for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Jan 2021 08:56:26 +0100 Original-Received: from localhost ([::1]:57614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5Odl-0006H9-IX for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Jan 2021 02:56:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5OcG-0005oI-VA for emacs-devel@gnu.org; Fri, 29 Jan 2021 02:54:52 -0500 Original-Received: from heytings.org ([95.142.160.155]:57070) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5OcE-0002Zq-W9 for emacs-devel@gnu.org; Fri, 29 Jan 2021 02:54:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1611906886; bh=bvebwdPgGD1YWs8u36w+XOwDhW2MUnVZSp9TaRkuJ7Q=; h=Date:From:To:Subject:In-Reply-To:Message-ID:References:From; b=JipoGPpxuvbucro7feLOFlhf6WiODAy4tLe7e2fDZfJeT1BI0bxGDgp75xU7I5fAu L1LyVgv7y6C3oRxhLGP2hXwqBBDMhXHb3pH2NbfQhDHxFLadKv4UZ0Y9W7wIjH7rJ1 qc0oOyUKi1IZqfCCQnN5By0CUlJNbaohXAvCHl/x3pXjGLl78Twj3j2FuYLxd0rfNI QfcqWyr4y8B6aK4B6HSxCOqYyHeeXbU2/34d4HgNiB2QoWSOkBVreC3oSQSD0Ozu7L 9CKF5CChw0iDWBwhz1NWhGEjn3fD7qCHXpKmZ/AA8/K2WbCjwKYhctG6szdMPoTd+U /Cy10mRwQHIiQ== In-Reply-To: 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:263571 Archived-At: > > Why on earth would we want to sacrifice two keys by default: one for > repeatable `other-window' and one for non-repeatable? > > [...] > > But default bindings for both repeatable and non-repeatable would be a > ridiculous waste (IMHO). to the beginning of the previous line... > My proposal is not to bind C-= to a repeatable other-window, which would indeed be ridiculous. It is to bind C-= to the existing "repeat" command, which is already in Emacs, does what has been suggested in this thread (repeat the last command with its argument, display a message in echo area, and handle universal argument), but is I believe underused. It needs to be bound to a single keystroke to be used at its full power: otherwise it is not possible to change the prefix argument between two repeats. I expected that this C-= binding would not please everyone, for example because some already bind it to another command. This would be the case with virtually any possible key binding. But it's only a default binding, and those who already use C-= for another purpose, or would not like that binding for one reason or another, can bind "repeat" to something else.