30.06.2022, 16:01, "Po Lu" <luangruo@yahoo.com>:

Konstantin Kharlamov <hi-angel@yandex.ru> writes:
 

 When I trace the `x-own-selection-internal` and reproduce the bug by
 first pressing M-d to delete a word and then C-y to insert whatever is
 in clipboard, nothing appears in *trace-output* buffer. Something does
 appear when I select a text, however specifically upon deleting a
 word, then getting inserted the wrong content (i.e. the one from
 kill-ring instead of the one in clipboard) nothing appears.


I don't understand what you said here.

Sorry, I don't know which part turned out to be confusing. I will clarify if you ask. Basically, I said that there's no trace. I mean, there is one when I select a text or try to copy it, however when I delete text and get the wrong content pasted no trace appears.
 
Anyway, it doesn't really matter anymore as I have good news: I found the reproducer! I will create a new report shortly and send a link here
 

I suggest you turn off`select-active-regions' before trying to get a trace.

 
Thank you, yes, I did set it to nil.

Once a trace appears (and the bug presumably re-appears), please tell me
what you were doing.
 

 For the safe case I want to emphasize again that this new exhibition
 of a problem is not specific to `x-clipboard-yank` but is reproducible
 with `clipboard-yank` too.


I heard you the first time, but it would be more productive to solve the
problem with `x-clipboard-yank' first.

 
I see, thanks!