From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: Recentish C-s M-y change Date: Wed, 30 Dec 2020 08:08:12 +0300 Message-ID: References: <87r1na4tyu.fsf@gnus.org> <87tus6tj7s.fsf@mail.linkov.net> <87a6txigm1.fsf@gnus.org> <874kk5lzew.fsf@mail.linkov.net> <87eej8ifll.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19044"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 30 06:10:30 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 1kuTkj-0004rI-VE for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Dec 2020 06:10:29 +0100 Original-Received: from localhost ([::1]:38994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kuTkj-0003az-0d for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Dec 2020 00:10:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuTiy-0002KI-F5 for emacs-devel@gnu.org; Wed, 30 Dec 2020 00:08:40 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:55523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuTix-0003rw-1T for emacs-devel@gnu.org; Wed, 30 Dec 2020 00:08:40 -0500 Original-Received: from localhost ([::ffff:41.210.145.189]) (AUTH: PLAIN securesender, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000295442.000000005FEC0B55.00007425; Tue, 29 Dec 2020 22:08:37 -0700 Mail-Followup-To: Juri Linkov , Lars Ingebrigtsen , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <87eej8ifll.fsf@mail.linkov.net> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, GAPPY_SUBJECT=0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:262102 Archived-At: * Juri Linkov [2020-12-29 22:30]: > >> Such changes of keybindings are not something new: in 2011 we changed > >> 'C-s M-y' from 'isearch-yank-kill' to 'isearch-yank-pop', > > > > But this continued to work for the most frequent case of yanking last > > kill? > > If 'C-s C-y' is easier to type than 'C-s M-y', shouldn't then > more beneficial to have 'C-s C-y' the most frequent case of > yanking last kill? That is exactly beneficial and way more easier. I did not in first place even understand here the problem as it was all in my fingers without thinking. C-s C-y is what is logical deriving from basic C-y command. C-s C-y M-y is what is logical to find some previous searches. And if using C-s M-y directly that means user wish to select something from the kill ring. Logical. > Ok, since everyone wants the old keybinding back, I'll restore > isearch-yank-pop to old code, and also add a new command > 'isearch-yank-from-kill-ring', but unbound because there is > no free key in isearch-mode. Not everyone and it is definitely not logical.