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: Mon, 28 Dec 2020 10:45:31 +0200 Organization: LINKOV.NET Message-ID: <87tus6tj7s.fsf@mail.linkov.net> References: <87r1na4tyu.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13244"; 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: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 28 10:07:32 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 1ktoV1-0003L0-S1 for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Dec 2020 10:07:31 +0100 Original-Received: from localhost ([::1]:33122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktoV0-0004g3-SX for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Dec 2020 04:07:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktoTZ-0003KJ-6r for emacs-devel@gnu.org; Mon, 28 Dec 2020 04:06:01 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:58405) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktoTX-0002w8-12 for emacs-devel@gnu.org; Mon, 28 Dec 2020 04:06:00 -0500 Original-Received: from mail.gandi.net (m91-129-99-98.cust.tele2.ee [91.129.99.98]) (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 98D6D240003; Mon, 28 Dec 2020 09:05:54 +0000 (UTC) In-Reply-To: <87r1na4tyu.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 28 Dec 2020 02:09:29 +0100") Received-SPF: pass client-ip=217.70.178.230; envelope-from=juri@linkov.net; helo=relay10.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_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:261987 Archived-At: > In Emacs 27, putting something in the kill ring and then `C-s M-y' would > yank that text to use when isearching. This now enters a prompt instead > where I can autocomplete over all the things in the kill ring. This was changed according to this comment in isearch-yank-pop: Fall back on `isearch-yank-kill' for the benefits of people who are used to the old behavior of `M-y' in isearch mode. In future, this fallback may be changed if we ever change `yank-pop' to do something like the kill-ring-browser. The future is now. > This is good functionality, and I can use `C-s C-y' to get the old > behaviour, but the `C-s M-y' is deeply ingrained in my muscle memory, > and it's tripping me up all the time. (And if it's doing that to me, > it'll probably annoy somebody else, too.) > > 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. When its value is nil, then with a new release the user gets new keybindings that are more logical and consistent with other keybindings and new functionality. However, when you set it to t, then you get all old keybindings untouched.