From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: master a6a5d6a: Move 'revert-buffer' global binding to 'C-x g g' Date: Tue, 09 Mar 2021 22:04:42 -0500 Message-ID: References: <20210207123046.20692.80429@vcs0.savannah.gnu.org> <20210207123048.3D5A8211A5@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16110"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org, Sean Whitton To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 10 04:07:21 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 1lJpBw-00044x-Lj for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Mar 2021 04:07:20 +0100 Original-Received: from localhost ([::1]:37442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJpBv-0000vG-Lw for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Mar 2021 22:07:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJp9f-00077q-JU for emacs-devel@gnu.org; Tue, 09 Mar 2021 22:05:01 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:27968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJp9a-0003ah-31 for emacs-devel@gnu.org; Tue, 09 Mar 2021 22:04:57 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id E36D980AF9; Tue, 9 Mar 2021 22:04:50 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9757B80229; Tue, 9 Mar 2021 22:04:49 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1615345489; bh=4LW4YCoJAOAd9++M3HtHEnuVMlPEwUtMSvxsOqKuRo4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=XfWEXAqiWgG2vLZj8CMzEwmtsPkCKxjuIiRHbn23ky+YVeEyPZrs/PZBp/7ctWA0G 6p30b1auec3nx07xyLQgMKJfiUcYQc8uWEVXadnmt2TPPjRw3LGb2Za/ZrIVa7mlln T/52ehTIlFGKuRCm+//1mIs+MF52wSj9wVD1K5HuWSObOKyr76yWQJrTl/+14uL513 ZTr4QDPgIn2UyqxIt5wmJGHGDewZRVf020N85VVBEhtzAJ2oo5y3dN0qqfv2YoHibV m7UpFnK06wSL9Tfb2BUdyH/HkIHVIu9GP19ucy3b/mK414ayedceIxBNjf99fwj8UI SHOuAIiqS+Jsw== Original-Received: from alfajor (unknown [216.154.43.249]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 291A312027C; Tue, 9 Mar 2021 22:04:49 -0500 (EST) In-Reply-To: (Stefan Kangas's message of "Tue, 9 Mar 2021 18:53:47 -0800") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, GAPPY_SUBJECT=0.1, RCVD_IN_DNSWL_MED=-2.3, 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:266260 Archived-At: > Usually, you should type =E2=80=98n=E2=80=99 and then =E2=80=98C-x x = g=E2=80=99, > to get the latest version of the file, then make the change again. > > The "C-x x g" part used to be "M-x revert-buffer" and therefore more > self-explanatory. (This is due to subsitute-command-keys replacing the > "\\[revert-buffer]" with the new keybinding.) I'm tempted to say that in many cases it would make sense to show both. Maybe doing it for \\[...] would be too disruptive, but maybe we should introduce a new form which will gets expanded to both the key binding and the name of the command. Stefan