From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: master a6a5d6a: Move 'revert-buffer' global binding to 'C-x g g' Date: Tue, 9 Mar 2021 18:53:47 -0800 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="39221"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Sean Whitton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 10 03:54:31 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 1lJozX-000A7j-2S for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Mar 2021 03:54:31 +0100 Original-Received: from localhost ([::1]:53462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJozW-0003Qv-4n for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Mar 2021 21:54:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJoyt-0002yQ-Oz for emacs-devel@gnu.org; Tue, 09 Mar 2021 21:53:51 -0500 Original-Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:35759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJoys-0006pO-32 for emacs-devel@gnu.org; Tue, 09 Mar 2021 21:53:51 -0500 Original-Received: by mail-pl1-x629.google.com with SMTP id d23so4534171plq.2 for ; Tue, 09 Mar 2021 18:53:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc:content-transfer-encoding; bh=rNs8hgrJ26CVHT0iRtYKmy7ryrEKNPJ8bN69k+BTQo8=; b=p46+yTfT4efa2mwSEzyhTe9hPmCauXsPRmQ6Pegrhmeapp6bnuvsLKLgfEQWHfl6GW kKokieDUcGZjQHyDEjJRtvd8QP9XE1m7KuTNkLN+p/u6CtVPM0J4ssh0mR3GELHQKjfl 2WDNMF4/Rkz6v1cU7ntE0WWZgSYfT4xwP44bA5sKuZ0gjBwyqk+6i/mknzdAloB89FlB Eog44fLiPphZap3R4k9Ow8TTwCQBqFulP70SpdW/A6sQ25WMDxo/5f63lTvKmFBtTaCC jNL/45QVIoCAaeTfGBFX/tAUPusHCCb8AD4N7NZBeoeqg43SOBRln9PSNseqJZY7ryuJ 89CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=rNs8hgrJ26CVHT0iRtYKmy7ryrEKNPJ8bN69k+BTQo8=; b=O+UyhCF4cs99x3bcofIWEvZQmNMRvRYccPH/qfme6wz/xGc4AnZNpFwEBJnwsf9hZA HZ1pYR7ngaDgDHrS7CKZIDr0WqWZHP5A+Ve1XbpQG6ozE+bUEc+auRxHJuc4EeePRkJ4 o8TV87MyzbFne5ohZkfUK2fO8XiJAIwHKQrbTeetNlxptKyd8TlmXKqyGePWN2PZPKFQ wV3gSI/gi42Jb48kMo/67G6oaHgYdbzzhcGIubBTFkQ5p51SFIpudKHmjmmR0Dt+erbe /qKRAXTiG27Ylzr+g/2Jr/fryByjuMJdMzQIcKTInuczrAPM2F5pi6ebUPWfxzVI+ucJ QACg== X-Gm-Message-State: AOAM530TZEZRK2zj+eA311csz5Ow8FQ0ohueu02tTA+BJlxr4+P0K4zh 2On+vjymY1uyoswr7C3G8OEPwsacdxI1djaOCqM= X-Google-Smtp-Source: ABdhPJycXp8H5N9kaFZLL4Nih4WDKV0VQd70y1YyGCpkXDPkvo+b6E36vhtfqAsKinPPQLA9k7S29ZRSmJkoQCjsIJA= X-Received: by 2002:a17:90a:bd09:: with SMTP id y9mr1096327pjr.179.1615344828399; Tue, 09 Mar 2021 18:53:48 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 9 Mar 2021 18:53:47 -0800 In-Reply-To: <20210207123048.3D5A8211A5@vcs0.savannah.gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=stefankangas@gmail.com; helo=mail-pl1-x629.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, GAPPY_SUBJECT=0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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:266259 Archived-At: larsi@gnus.org (Lars Ingebrigtsen) writes: > branch: master > commit a6a5d6a27a86396ab96662fa158cdcc854bd777b > Author: Sean Whitton > Commit: Lars Ingebrigtsen > > Move 'revert-buffer' global binding to 'C-x g g' > > * lisp/bindings.el: Define ctl-x-g-map and bind 'revert-buffer' to > 'C-x x g' globally. > * doc/emacs/files.texi: Replace 'C-x g' with 'C-x x g'. > * etc/NEWS: Document the change (bug#46300). One drawback of this change is that messages such as the one you get here are less obvious: M-: (ask-user-about-supersession-threat "foo") RET C-h The help text now says: 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.) So perhaps this change should be accompanied with grepping our sources for "\\[revert-buffer]" and looking over the relevant substitutions to make sure the help is sufficiently clear? I see 16 such matches.