From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.devel Subject: Re: Concern about new binding. Date: Wed, 3 Feb 2021 14:15:48 +0100 Message-ID: References: <20210202134950.vybbpf3iewbymfjo.ref@Ergus> <20210202134950.vybbpf3iewbymfjo@Ergus> <87lfc5s9wg.fsf@gmail.com> <87y2g5xurt.fsf@igel.home> <87tuqtxtpw.fsf@igel.home> Reply-To: thibaut.verron@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2159"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, Andreas Schwab , gregory@heytings.org, rms@gnu.org, emacs-devel@gnu.org To: "Alfred M. Szmidt" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 03 14:17:40 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 1l7I2N-0000QO-VN for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Feb 2021 14:17:39 +0100 Original-Received: from localhost ([::1]:37918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7I2M-0003bD-Vq for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Feb 2021 08:17:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7I0l-00032U-41 for emacs-devel@gnu.org; Wed, 03 Feb 2021 08:15:59 -0500 Original-Received: from mail-yb1-xb34.google.com ([2607:f8b0:4864:20::b34]:46325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7I0d-0002tA-Uz; Wed, 03 Feb 2021 08:15:58 -0500 Original-Received: by mail-yb1-xb34.google.com with SMTP id v123so7947463yba.13; Wed, 03 Feb 2021 05:15:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=oE9gs3kZnbUqB2Exc+JQ3FVgjakDHRWVK6bNMTm+jys=; b=qZziXwp12UAh3DikjhnOg7uVq0VqdjVaFkU97nVMzIMfLAVn2NcL0SsIk0253Gpve0 rcIQCkWBe2/JCAZhRL5PYhCtA6jE9bVGpYbkafrsOCIBpmfxJEHskPYNfALWKt5iYEVy A6JLrYoim9EhusxRddcu5oDLG0+lFl6tq54LIc7uHVeVQiXv6tDbtNiO+SVlzseW8N2w 3569QBpnOTeN1vxEbTn+HJB/Edo75iHZKcUCDoFoiGnmBklLfiROmrbDPB4oylbvUucj 1aqufelZGyIHnsVO7VNz2QbHdxMzeCabgO1gPFP1fP0VMFtHZJdUMPDI/52arPXfhlmM cVng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=oE9gs3kZnbUqB2Exc+JQ3FVgjakDHRWVK6bNMTm+jys=; b=V6IPdS7kVQ7I0TilBBi+B8MCf89EiOduTabdM9UC2fyBEsaWc/lVYeLBTxdMr7rlbf x0in7GFUQ27Qc8Ho2H3zZhd/D84vZpj2YzY6s7oBmJKF3Ha8vaGxhfP0s+EVIds0gvbE UAUyik8xSpwFpWpXomsNJVGkxLyhbf7F2nt5dc8VWPL4TIsWsqwwd5El4FE3jgaGn2oy aXosa+eVPhKbKpiiSR1PMcBFJmCRArrr9g/R8AHQlFU4YEDwJ3Ykq5I3R5Z9TJOSczL6 mp4M9CaKGC9x98QnpnZqOiU/2euSm4lYVGjaFYWf0yhbFE6WHjYS73PTc4E7dDoeKWvA xRsQ== X-Gm-Message-State: AOAM532pISs9PshbqPBbaMhg3vzz05+1zOtEuxMpa0MdO5eC24frU5ml P28+5SAKyEo7zHBT1liSiCAF53BLql4l65cTsCUZ4uiRlGM= X-Google-Smtp-Source: ABdhPJwpQcwsr4NwRIDzps7taRBc6Z5UiNFzZOhvY84zuZiC3sI4Itv2VUiHm8AFtK3hg+7JI3JSgbjPzDhBPY/wwYk= X-Received: by 2002:a05:6902:706:: with SMTP id k6mr4256072ybt.87.1612358149351; Wed, 03 Feb 2021 05:15:49 -0800 (PST) Original-Received: by 2002:a05:7110:6187:b029:31:9798:b166 with HTTP; Wed, 3 Feb 2021 05:15:48 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b34; envelope-from=thibaut.verron@gmail.com; helo=mail-yb1-xb34.google.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, 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:263791 Archived-At: 2021-02-03 13:51 UTC+01:00, Alfred M. Szmidt : > > Because people want to use it, and people want to make things nicer. > > You want a hard to type binding for revert-buffer, you already have > that. > > It is not I who wanted it. What is still unclear to me is why a *global* binding for revert-buffer is useful. In text-editing buffers, we have M-x revert-buffer. We have the various auto-revert modes for when the file changes outside of the editor. And we have an entry in the "Files" menu. What scenario do they not cover? In special buffers, manually triggering a revert can be useful, but those buffers typically have a lot more keys to choose from. Not only that, they even already have a binding for revert-buffer ('g', in special-mode-map). If a mode has a more useful binding on 'g', they can either set revert-buffer-function or use another key for revert-buffer (or both). What problem does a global binding solve?