GNU bug report logs - #55992
29.0.50; Experiencing incorrect synchronization of clipboard

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jean Louis <bugs@HIDDEN>; Keywords: moreinfo; dated Wed, 15 Jun 2022 08:04:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 55992 <at> debbugs.gnu.org:


Received: (at 55992) by debbugs.gnu.org; 15 Jun 2022 10:42:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 15 06:42:53 2022
Received: from localhost ([127.0.0.1]:36620 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o1QU9-0002yp-8I
	for submit <at> debbugs.gnu.org; Wed, 15 Jun 2022 06:42:53 -0400
Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]:34311)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1o1QU7-0002yb-Ps
 for 55992 <at> debbugs.gnu.org; Wed, 15 Jun 2022 06:42:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1655289765; bh=vcTOQ/chpqBTI63x25z1vm42ym1g1eXk05VMUOYd+Wo=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=UuRJYsrDh83kEubT6Dq01D/TOV4GIrZKTg0sAMUoBzQ0BETEpKGUgeO5/Ne6bXuSARSeXvYoncoWbmIs/VOUSrJmTeoQQVTzb79NlWSQfjX0FE51Wo6BN2JKJhKlmR0joxvhvhgRm+TKGgTpEcR7JyUl34AuhNSqp40XL4IKHq1npvR2z6QGRcLCa08761KDomvmrcZPFK9DCVKUc4MeVM1ubhqYk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kfReu__87CumO3iOUaUM1XBXH
 S3JfLhRQgZK5LlEla3sK1hA4Lzbdwyf1ORM1BmKKF3SH.Ih6DR.ATOT78CdICdSd3_LBGvnIb1f9
 O3laqKzhVOFjHTOLRr.m3rTWy2eDiVwDzsguKl0slWQfHebNVPS_vMTXysgHEYpwD0N5a0PuDYyU
 rHeAeIl1GEOyUSBVfEcLcvz28P.RY3Zy_38NzJtmcnlMeIYc3PU.HU3LVg8NexZoCk46Y00JyLFP
 3tiyPpKfGpEhuoe9Z2JnK9rUtZvJHFMXLC_9X5dMMtBcjiOGvq77m8Jymo7tBnFv5dW.r484XqUG
 sc8JrN4SHksx28lS2Zws4HdHDEcgICEBKJ1GkzRDTUUcKAmRVpobOhynhfF14tfJJN3q0SqE1uMk
 lhf5nIqhtDI1l9WEnG5hewjHLtctH34mZgCHrPJyKfRTaVJDLoyxsGkGe_NJF_4Bea7NnrX23Moe
 4l_fsp8vH6aMqI2wk0LsDNXYFKNmGgimUH2P_TVi7fV5mOcEVYTQKqa.fkIjIkdm8e0x9qdjJcqW
 coLtFkszdCxCMBDf5Ge75rqVkmm51n973yHNERSwO7EWnt_s3iso14E.LpxQC6xlHpcxqzzv7UE0
 i0bza14eeejkR7XtRMQMyDUU8HV90vqN8CDuzeAxhS5GIZ4bk4VrjOZL_xtrG5WSD1f2ZaiFxAmP
 DRpoCDszErI7lp4ovEhXfwJR8ikY0CxOcF_RtokkvqXcOI2VtkPo0c.n4Yd_ig003YMgKOEqmjOk
 6B.fVZ3ApvGysMK6LacRb1P7cXCXMqN0Dh2Rdee06H.Pry4eaQqyHwfms2ncSTQ--
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic308.consmr.mail.ne1.yahoo.com with HTTP; Wed, 15 Jun 2022 10:42:45 +0000
Received: by hermes--canary-production-sg3-5f7658c994-m7v88 (Yahoo Inc. Hermes
 SMTP Server) with ESMTPA ID 5083e50cfab6eb1e03d83738420432b7; 
 Wed, 15 Jun 2022 10:42:42 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Jean Louis <bugs@HIDDEN>
Subject: Re: bug#55992: 29.0.50; Experiencing incorrect synchronization of
 clipboard
References: <86bkuue8t6.fsf@HIDDEN>
Date: Wed, 15 Jun 2022 18:42:38 +0800
In-Reply-To: <86bkuue8t6.fsf@HIDDEN> (Jean Louis's message of
 "Wed, 15 Jun 2022 09:32:05 +0300")
Message-ID: <87sfo66wdd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.20280
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 911
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 55992
Cc: 55992 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Jean Louis <bugs@HIDDEN> writes:

> I have these settings:
>
> (setq select-enable-clipboard t)
> (setq select-enable-primary t)
>
> And I can tell that with recent Emac, development version, I am
> experiencing incorrect synchronization of primary selection.
>
> 1) Too often I go to XTerm, I mark some words with mouse;
>
> 2) Then I switch window to Emacs and try to yank it with C-y
>
> 3) Instead of getting words from (1) I can see some previous selection.
>
> 4) Sometimes I see this message: "Selection owner couldn=E2=80=99t conver=
t: TIMESTAMP [2 times]"
>
> I did not have these problems before in my work, but I have it
> now. Something changed.

Please place a breakpoint on this piece of xselect.c:

      if (there_is_a_selection_owner)
	{
=3D=3D=3D>	  AUTO_STRING (format, "Selection owner couldn't convert: %s");
	  CALLN (Fmessage, format,

and show a backtrace once it is hit.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55992; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Jun 2022 08:03:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 15 04:03:52 2022
Received: from localhost ([127.0.0.1]:36401 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o1O0F-0004uX-Vg
	for submit <at> debbugs.gnu.org; Wed, 15 Jun 2022 04:03:52 -0400
Received: from lists.gnu.org ([209.51.188.17]:42826)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <admin@HIDDEN>) id 1o1O0C-0004uN-7Y
 for submit <at> debbugs.gnu.org; Wed, 15 Jun 2022 04:03:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36390)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <admin@HIDDEN>)
 id 1o1O0B-0000vK-Sz
 for bug-gnu-emacs@HIDDEN; Wed, 15 Jun 2022 04:03:47 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:33973)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <admin@HIDDEN>)
 id 1o1O09-0000Xm-Lf
 for bug-gnu-emacs@HIDDEN; Wed, 15 Jun 2022 04:03:47 -0400
Received: from localhost ([::ffff:102.82.13.144])
 (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 0000000000087CD4.0000000062A99260.000019E8; Wed, 15 Jun 2022 01:03:43 -0700
From: Jean Louis <bugs@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; Experiencing incorrect synchronization of clipboard 
Date: Wed, 15 Jun 2022 09:32:05 +0300
Message-ID: <86bkuue8t6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=217.170.207.13;
 envelope-from=admin@HIDDEN; helo=stw1.rcdrun.com
X-Spam_score_int: -16
X-Spam_score: -1.7
X-Spam_bar: -
X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9,
 HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)


I have these settings:

(setq select-enable-clipboard t)
(setq select-enable-primary t)

And I can tell that with recent Emac, development version, I am
experiencing incorrect synchronization of primary selection.

1) Too often I go to XTerm, I mark some words with mouse;

2) Then I switch window to Emacs and try to yank it with C-y

3) Instead of getting words from (1) I can see some previous selection.

4) Sometimes I see this message: "Selection owner couldn=E2=80=99t convert:=
 TIMESTAMP [2 times]"

I did not have these problems before in my work, but I have it
now. Something changed.



In GNU Emacs 29.0.50 (build 8, x86_64-pc-linux-gnu, X toolkit, cairo versio=
n 1.17.6, Xaw3d scroll bars)
 of 2022-06-15 built on protected.rcdrun.com
Repository revision: b090dbdae802b72c6c6de60c61c8487539acf197
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Parabola GNU/Linux-libre

Configured using:
 'configure --with-x-toolkit=3Dlucid'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB

Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=3Dexwm-xim
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-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
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media rmc puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch
vc-filewise vc-rcs log-view easy-mmode pcvs-util bookmark seq gv subr-x
byte-opt bytecomp byte-compile cconv text-property-search pp cl-loaddefs
cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice simple cl-generic indonesian philippine 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 emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo x-toolkit xinput2 x multi-tty make-network-process emacs)

Memory information:
((conses 16 54565 7728)
 (symbols 48 6792 3)
 (strings 32 19578 1905)
 (string-bytes 1 608856)
 (vectors 16 13182)
 (vector-slots 8 182114 13802)
 (floats 8 24 31)
 (intervals 56 962 0)
 (buffers 992 12))

--=20
Thanks,
Jean Louis

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns





Acknowledgement sent to Jean Louis <bugs@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#55992; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 15 Jun 2022 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.