From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: emacs-28 e55e2d4: ; * etc/NEWS: Minor copyedit about 'repeat-mode'. Date: Wed, 20 Oct 2021 09:49:17 +0300 Organization: LINKOV.NET Message-ID: <87wnm842ui.fsf@mail.linkov.net> References: <20211019121305.21211.34959@vcs0.savannah.gnu.org> <20211019121307.A4A79209AA@vcs0.savannah.gnu.org> <87zgr5i2ko.fsf@gmx.de> <835yttc8fq.fsf@gnu.org> <87v91ths8y.fsf@gmx.de> <87o87k7s67.fsf@mail.linkov.net> <87pms0iy4u.fsf@gmx.de> 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="9520"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 20 09:03:35 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 1md5dO-0002Cq-1z for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Oct 2021 09:03:34 +0200 Original-Received: from localhost ([::1]:42908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1md5dL-0006Cf-UJ for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Oct 2021 03:03:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1md5a2-00029k-La for emacs-devel@gnu.org; Wed, 20 Oct 2021 03:00:07 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1md5a0-0008Db-9r; Wed, 20 Oct 2021 03:00:06 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 85CE31C000C; Wed, 20 Oct 2021 06:59:59 +0000 (UTC) In-Reply-To: <87pms0iy4u.fsf@gmx.de> (Michael Albinus's message of "Tue, 19 Oct 2021 21:59:45 +0200") Received-SPF: pass client-ip=217.70.183.197; envelope-from=juri@linkov.net; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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:277424 Archived-At: >> This is more wrong than before. 'repeat-mode' can be disabled only >> explicitly by the user. Whereas any other key exits transient mode >> enabled by 'set-transient-map'. > > I see. But even in its original wording, it confuses me: > > Type 'M-x repeat-mode RET' to enable this mode. You can then type > 'C-x u u' instead of 'C-x u C-x u' to undo many changes, 'C-x o o' > instead of 'C-x o C-x o' to switch windows, 'C-x { { } } ^ ^ v v' to > resize the selected window interactively, 'M-g n n p p' to navigate > next-error matches. Any other key exits transient mode and then is > executed normally. > > At first glance, I don't know what is "executed normally". The command? > The key? But a key isn't "executed" I believe, it is rather handled. Or more precisely: "The default key binding is used". > And maybe it is also better to speak about "transient input mode", like > in other places in NEWS? This would give a better idea what it is about > to exit. A transient input method is something completely different. > (I'm not much familiar with "transient modes", and so will be most of > the readers of this NEWS file) >From (info "(elisp) Controlling Active Maps"): -- Function: set-transient-map keymap &optional keep-pred on-exit This function adds KEYMAP as a “transient” keymap, which takes precedence over other keymaps for one (or more) subsequent keys. So maybe "transient mode" should be replaced with "transient keymap"?