bug#46689: 28.0.50; Behavior changed in latest Gcc Emacs
In the latest Gcc Emacs, selecting some text within Emacs will change the result of (current-kill 0). However, the old behavior was that only selecting text in the external programs other than Emacs would change what (current-kill 0) returns.
1. Evaluate (setq select-enable-primary t) 2. Evaluate (current-kill 0), and note the result 3. Hit C-<SPC>, move the cursor to select some text 4. Evaluate (current-kill 0) again, and the result will be the text just been selected in step 3. However, the result used to be the same as in step 2.
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.25, cairo version 1.17.4) of 2021-02-18 built on york-asus Repository revision: f92bb788a073c6b3ca7f188e0edea714598193fd Repository branch: makepkg Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Arch Linux
Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t