From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48478: 28.0.50; yank-from-kill-ring and kill-ring-yank-pointer Date: Tue, 18 May 2021 14:51:18 +0300 Message-ID: <83o8d8s1jd.fsf@gnu.org> References: <83h7j1twym.fsf@gnu.org> <874kf1yq92.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15023"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48478@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 18 13:52:08 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1liyGe-0003ge-J7 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 13:52:08 +0200 Original-Received: from localhost ([::1]:49084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liyGd-0004x6-EG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 07:52:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liyGY-0004wy-4u for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 07:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43038) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liyGX-0002DH-Ty for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 07:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1liyGX-00053u-Rt for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 07:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48478 X-GNU-PR-Package: emacs Original-Received: via spool by 48478-submit@debbugs.gnu.org id=B48478.162133868519413 (code B ref 48478); Tue, 18 May 2021 11:52:01 +0000 Original-Received: (at 48478) by debbugs.gnu.org; 18 May 2021 11:51:25 +0000 Original-Received: from localhost ([127.0.0.1]:54584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liyFx-000533-43 for submit@debbugs.gnu.org; Tue, 18 May 2021 07:51:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liyFr-00052o-W9 for 48478@debbugs.gnu.org; Tue, 18 May 2021 07:51:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60498) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liyFm-0001h2-6t; Tue, 18 May 2021 07:51:14 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4540 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liyFl-0005bX-Nu; Tue, 18 May 2021 07:51:14 -0400 In-Reply-To: <874kf1yq92.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 18 May 2021 00:10:57 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:206771 Archived-At: > From: Juri Linkov > Cc: bug-gnu-emacs@gnu.org > Date: Tue, 18 May 2021 00:10:57 +0300 > > > Bug or feature? If the latter, what is the rationale for the > > different operation? > > This is an unfinished feature, i.e. currently yank-from-kill-ring > simply has no special handling of kill-ring-yank-pointer. > When I tried to add it, I noticed that it has many possible > variants of implementation, so I stuck with analysis paralysis. Why do we need variants? why not simply do the same as M-y does after C-y or M-y? After all, from the user's POV it's the same command, so why not provide a consistent behavior? > Regarding 7b82584c69, actually the description of 'M-y' in > (info "(emacs) Isearch Yank") was accurate. It correctly > described the behavior of isearch-yank-pop that activates > the minibuffer. The problem is that after recent controversy, > 'M-y' was rebound to the backward-compatible command > isearch-yank-pop-only. The last sentence means that the description in the manual which I deleted was indeed inaccurate: it described a binding that doesn't exist by default. NEWS does a better job by telling users to make that binding if they want. (I decided that saying the same in the manual was too much: we don't describe optional keybindings unless they are extremely useful/important.) > A FIXME from 7b82584c69 is implemented by this patch: Thanks, I think you should install this. > -(defun read-from-kill-ring () > +(defun read-from-kill-ring (prompt) > "Read a `kill-ring' entry using completion and minibuffer history." Please update the doc string to mention PROMPT.