bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48478: 28.0.50; yank-from-kill-ring and kill-ring-yank-pointer


From: Juri Linkov
Subject: bug#48478: 28.0.50; yank-from-kill-ring and kill-ring-yank-pointer
Date: Thu, 03 Jun 2021 00:10:18 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]