From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Violin Learner Newsgroups: gmane.emacs.bugs Subject: bug#46689: 28.0.50; Behavior changed in latest Gcc Emacs Date: Sun, 21 Feb 2021 10:38:01 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000055655405bbda848f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40523"; mail-complaints-to="usenet@ciao.gmane.io" To: 46689@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 21 17:23:23 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 1lDrVz-000APH-C6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 17:23:23 +0100 Original-Received: from localhost ([::1]:52604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDrVy-0001dd-Aa for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 11:23:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDrVe-0001bq-Rg for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 11:23:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43113) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDrVe-0000Ti-KX for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 11:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDrVe-0008CN-H7 for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 11:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Violin Learner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Feb 2021 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46689 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161392454031445 (code B ref -1); Sun, 21 Feb 2021 16:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Feb 2021 16:22:20 +0000 Original-Received: from localhost ([127.0.0.1]:54659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDrUy-0008B6-3Y for submit@debbugs.gnu.org; Sun, 21 Feb 2021 11:22:20 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:56628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDqrN-00074y-LQ for submit@debbugs.gnu.org; Sun, 21 Feb 2021 10:41:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDqrN-0002uq-C0 for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 10:41:25 -0500 Original-Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]:34445) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDqrL-0005a0-5O for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 10:41:25 -0500 Original-Received: by mail-il1-x12e.google.com with SMTP id q9so8748748ilo.1 for ; Sun, 21 Feb 2021 07:41:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=p+wiG1XqB5ijLUm+DLtyx1Y4PKElla9AjZCjPSk2M1g=; b=DXdFl924vp3etGP8MQZ10Ptbg0nwitXmMneSmQsyyzNM/+2WMMmD4eqJoCHvB+prbD ZGsHiXUT/yprRVuKmeJzcttYYQVnunFprTVGxmLLxYeq3cjcH1iy1gk3fTbZHktm6SYh tQ7IrVDmokxRkK6xUb+X2aU0mwpgxZjpOgHRfP2BycodfSebUOSs5NuaH5dBFTShfm4e RRP3C81KBMEhiiM6RwXIT3AsZuNzcpmHBCbOCopb7DcCxSKwPTDWkYjqZAL5RK3l6dhT DFuhO+y7WM+0fu0DDgJQEeietua3tYXeSvbXV9ien/93LNylKidWd4XNScaE+msTrDRu xTcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=p+wiG1XqB5ijLUm+DLtyx1Y4PKElla9AjZCjPSk2M1g=; b=COKnbrQNsIJ+tc5MynuJH0LW3XSg9198uMQ22YsF0NVEq0wkh8JeZ6+Ev7Omb+XEn7 0yH/8jUAI1PC9HQaTNrfVaQwwNit5sQlBLrn2zJO9TQZUtqZZrd8sw2b5dKnTV5W2IZM yYde1mBdfxFJ6TvEw8S94x31KeW43ZQxk9wzj1LH00gWoVEWs5rdzra1xviN6NE/4OPl OlWtzwozEB6IvWSG6OyLKJjK5qPs4XZMf2GnDWoNTgvcDkljnWhR/a+/S0VjIQ/H1tkW j3skaHGzpocvaefC1+bWR44NRmGnLhA+5IZ/BNNGtCPLenHBK/xK6ZbFM1qv8A4U69l5 TEeA== X-Gm-Message-State: AOAM532AQRH2iGF3B50YjC/oq2ubIbNC6F4WCPmZI3i0tV9PRVhIGYVr JfxXCJ3pDUKBTJLIlW6mTTbhaKvOFMiwSuOVpDOZhoFgrxk= X-Google-Smtp-Source: ABdhPJyTJMvsc/GWrfeaKdJOVM1u0whKMhf0BH5wSkXCgj8lpuWVmWhLKS2qssj4PKSRA8yh2+WSarWgmy+IF5xt2L8= X-Received: by 2002:a92:d80d:: with SMTP id y13mr11122958ilm.299.1613922081005; Sun, 21 Feb 2021 07:41:21 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::12e; envelope-from=zhao.york@gmail.com; helo=mail-il1-x12e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 21 Feb 2021 11:22:18 -0500 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:200504 Archived-At: --00000000000055655405bbda848f Content-Type: text/plain; charset="UTF-8" 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. Reproduce steps: 1. Evaluate (setq select-enable-primary t) 2. Evaluate (current-kill 0), and note the result 3. Hit C-, 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 Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-sound=alsa --with-modules --without-gconf --without-gsettings --with-nativecomp --with-x-toolkit=gtk3 --without-xaw3d --without-m17n-flt --with-cairo --without-compress-install 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -fuse-ld=gold' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB 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 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug comp comp-cstr warnings rx message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils debug backtrace find-func shortdoc text-property-search pp cl-extra seq byte-opt gv bytecomp byte-compile cconv cl-print thingatpt help-fns radix-tree misearch multi-isearch tutorial help-mode easymenu cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face pcase macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 102488 9169) (symbols 48 8711 1) (strings 32 26150 2215) (string-bytes 1 939191) (vectors 16 16803) (vector-slots 8 341263 16097) (floats 8 77 114) (intervals 56 324 0) (buffers 992 15)) --00000000000055655405bbda848f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

In the latest Gcc Emacs, selecting some text within Em= acs will change the result of (current-kill 0). However, the old behavior w= as that only selecting text in the external programs other than Emacs would= change what (current-kill 0) returns.

Reproduce steps:

1. Ev= aluate (setq select-enable-primary t)
2. Evaluate (current-kill 0), and = note the result
3. Hit C-<SPC>, move the cursor to select some tex= t
4. Evaluate (current-kill 0) again, and the result will be the text ju= st been selected in step 3. However, the result used to be the same as in s= tep 2.


In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ = Version 3.24.25, cairo version 1.17.4)
=C2=A0of 2021-02-18 built on york= -asus
Repository revision: f92bb788a073c6b3ca7f188e0edea714598193fd
R= epository branch: makepkg
Windowing system distributor 'The X.Org Fo= undation', version 11.0.12010000
System Description: Arch Linux
<= br>Configured using:
=C2=A0'configure --prefix=3D/usr --sysconfdir= =3D/etc --libexecdir=3D/usr/lib
=C2=A0--localstatedir=3D/var --mandir=3D= /usr/share/man --with-gameuser=3D:games
=C2=A0--with-sound=3Dalsa --with= -modules --without-gconf --without-gsettings
=C2=A0--with-nativecomp --w= ith-x-toolkit=3Dgtk3 --without-xaw3d
=C2=A0--without-m17n-flt --with-cai= ro --without-compress-install
=C2=A0'CFLAGS=3D-march=3Dx86-64 -mtune= =3Dgeneric -O2 -pipe -fno-plt -g
=C2=A0-fuse-ld=3Dgold' CPPFLAGS=3D-= D_FORTIFY_SOURCE=3D2
=C2=A0LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-= z,relro,-z,now'

Configured features:
ACL CAIRO DBUS FREETYPE = GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2
LIBOTF LIBSYSTEMD LIBXM= L2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG
RSVG SOUND THREADS TIF= F TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB

Important settings:=
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im= =3Dibus
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Lisp = Interaction

Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2= =A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 electric-indent-= mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 = menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-l= ock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0= auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient= -mark-mode: t

Load-path shadows:
None found.

Features:
= (shadow sort mail-extr emacsbug comp comp-cstr warnings rx message rmc
p= uny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config
g= nus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core
cl-mac= s eieio-loaddefs password-cache json map time-date subr-x
mm-decode mm-b= odies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendm= ail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils debug backt= race find-func shortdoc text-property-search pp
cl-extra seq byte-opt gv= bytecomp byte-compile cconv cl-print thingatpt
help-fns radix-tree mise= arch multi-isearch tutorial help-mode easymenu
cl-loaddefs cl-lib iso-tr= ansl tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type= mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset imag= e regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mo= de lisp-mode prog-mode register page
tab-bar menu-bar rfn-eshadow isearc= h timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-= core term/tty-colors frame
minibuffer cl-generic cham georgian utf-8-lan= g misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-m= s cp51932 hebrew greek
romanian slovak czech european ethiopic indian cy= rillic chinese
composite charscript charprop case-table epa-hook jka-cmp= r-hook help
simple abbrev obarray cl-preloaded nadvice button loaddefs f= aces
cus-face pcase macroexp files window text-properties overlay sha1 m= d5
base64 format env code-pages mule custom widget hashtable-print-reada= ble
backquote threads dbusbind inotify lcms2 dynamic-setting
font-ren= der-setting cairo move-toolbar gtk x-toolkit x multi-tty
make-network-pr= ocess nativecomp emacs)

Memory information:
((conses 16 102488 91= 69)
=C2=A0(symbols 48 8711 1)
=C2=A0(strings 32 26150 2215)
=C2=A0= (string-bytes 1 939191)
=C2=A0(vectors 16 16803)
=C2=A0(vector-slots = 8 341263 16097)
=C2=A0(floats 8 77 114)
=C2=A0(intervals 56 324 0)=C2=A0(buffers 992 15))
--00000000000055655405bbda848f--