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.bugs Subject: bug#48478: 28.0.50; yank-from-kill-ring and kill-ring-yank-pointer Date: Thu, 03 Jun 2021 00:10:18 +0300 Organization: LINKOV.NET Message-ID: <87v96wc6jd.fsf@mail.linkov.net> References: <83h7j1twym.fsf@gnu.org> <875yzdb7vz.fsf@mail.linkov.net> <83lf89ns51.fsf@gnu.org> <87eee19o24.fsf@mail.linkov.net> <83fsyhnp2r.fsf@gnu.org> <871ra19luh.fsf@mail.linkov.net> <83cztkocqt.fsf@gnu.org> <87h7iwuf0m.fsf@mail.linkov.net> <83o8d3l179.fsf@gnu.org> <87k0nqo570.fsf@mail.linkov.net> <83a6olkjca.fsf@gnu.org> <87pmxe649v.fsf@mail.linkov.net> <835yz5bszn.fsf@gnu.org> <87y2c1yvqq.fsf@mail.linkov.net> <835yz4ab0s.fsf@gnu.org> <87wnrfx380.fsf@mail.linkov.net> <83a6ob2jiy.fsf@gnu.org> <87pmx6k6lf.fsf@mail.linkov.net> <838s3t236k.fsf@gnu.org> <8735u1e5hd.fsf@mail.linkov.net> <83lf7sxqiw.fsf@gnu.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="24288"; 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: 48478@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 02 23:19:30 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 1loYGv-0006Bl-Bl for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 23:19:29 +0200 Original-Received: from localhost ([::1]:37564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loYGu-0004kO-DN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 17:19:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loYGU-0003aC-Q0 for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 17:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loYGU-0007Tu-Gw for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 17:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1loYGU-0000xO-Dg for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 17:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Jun 2021 21:19:02 +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.16226687323655 (code B ref 48478); Wed, 02 Jun 2021 21:19:02 +0000 Original-Received: (at 48478) by debbugs.gnu.org; 2 Jun 2021 21:18:52 +0000 Original-Received: from localhost ([127.0.0.1]:41470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loYGK-0000wt-E3 for submit@debbugs.gnu.org; Wed, 02 Jun 2021 17:18:52 -0400 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:33353) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loYGJ-0000wO-Hb for 48478@debbugs.gnu.org; Wed, 02 Jun 2021 17:18:51 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 866C9100002; Wed, 2 Jun 2021 21:18:43 +0000 (UTC) In-Reply-To: <83lf7sxqiw.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 02 Jun 2021 17:57:59 +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:207884 Archived-At: >> 1. select the word "This" and type M-w >> 2. select the word "buffer" and type M-w >> 3. type M-y M-p >> >> The minibuffer looks like: >> >> Yank from kill-ring: This >> >> but should be >> >> Yank from kill-ring: buffer > > So you don't like that M-p yields "This" and M-n yield "buffer" in > this case? Why not? IOW, why did you expect M-p to yield "buffer"? > This is M-y, not C-y. But this is not 'M-y C-y'. The logic is the following: one key (either non-minibuffer 'C-y' or minibuffer 'M-y') should yank the last item, two keys (non-minibuffer 'C-y M-y') should yank the second last item. Another reason is that 'M-y M-p' can omit the last item only after a previous invocation of 'M-y' that rotated the pointer.