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: Recentish C-s M-y change Date: Wed, 30 Dec 2020 11:33:18 +0200 Organization: LINKOV.NET Message-ID: <87ft3nk5a7.fsf@mail.linkov.net> References: <87r1na4tyu.fsf@gnus.org> <87tus6tj7s.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24470"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: larsi@gnus.org, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 30 10:35:15 2020 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 1kuXsw-0006FX-Sn for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Dec 2020 10:35:14 +0100 Original-Received: from localhost ([::1]:39700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kuXsv-0005aO-T0 for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Dec 2020 04:35:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuXs7-0004iw-2Y for emacs-devel@gnu.org; Wed, 30 Dec 2020 04:34:23 -0500 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:56201) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuXs4-0002AK-HH; Wed, 30 Dec 2020 04:34:22 -0500 X-Originating-IP: 91.129.98.64 Original-Received: from mail.gandi.net (m91-129-98-64.cust.tele2.ee [91.129.98.64]) (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id E58351BF203; Wed, 30 Dec 2020 09:34:16 +0000 (UTC) In-Reply-To: (Richard Stallman's message of "Tue, 29 Dec 2020 01:01:20 -0500") Received-SPF: pass client-ip=217.70.183.201; envelope-from=juri@linkov.net; helo=relay8-d.mail.gandi.net X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, GAPPY_SUBJECT=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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:262110 Archived-At: > > > Could we move the new `C-s M-y' functionality somewhere else and retain > > > the old `C-s M-y' binding? > > > This has been discussed many times, and the most promising solution is > > to add a single variable that will define whether the user prohibits > > changing the definitions of traditional keys. > > I think that is a bad approach, and here is why. > > Various changes are made in the Emacs user interface. Occasionally > there is one I find inconvenient and want to avoid. But not all of > them. Probably not most of them. > > I want options to undo the changes I don't like, but I don't > want that to imply rejecting _all_ changes in a blanket way. > > Now, if there are people who would like the ability to say, "Give me > the Emacs 26 user interface," I don't object to offering it. We could > have a mechanism to associate user interface changes with major versions > and then let users choose a version. > > But this is not a substitute for letting people disable specific > changes independently -- those changes which need it. Some changes > are easy to revert by setting a key binding, and they don't need > an option. > > We could pay attention to implementing a change, when possible, in a > way that would make it easy to revert by setting a key binding or an > option. In other words, think in advance about the possibility that > some people may not like the change. What do you think about adding a new theme that contains all changes, e.g.: (deftheme back-to-emacs-27) (define-key isearch-mode-map "\M-y" 'isearch-yank-pop) (setq read-char-choice-use-read-key t) (setq y-or-n-p-use-read-key t) ... Then people could disable specific changes independently by copying parts of such theme to their init files.