From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: recent change to yanking behavior of the clipboard Date: Sun, 06 Feb 2022 11:17:00 +0200 Message-ID: <83pmo0z75f.fsf@gnu.org> References: <20220205193944.836651.FMU2130669@unexploded-cow.prv.splode.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17129"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Noah Friedman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 06 10:18:46 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nGdh0-0004J0-Kw for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Feb 2022 10:18:46 +0100 Original-Received: from localhost ([::1]:51554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGdgz-0007az-4p for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Feb 2022 04:18:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGdfc-0006tg-Me for emacs-devel@gnu.org; Sun, 06 Feb 2022 04:17:21 -0500 Original-Received: from [2001:470:142:3::e] (port=53900 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGdfb-0000wZ-3v; Sun, 06 Feb 2022 04:17:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GtVH2u9+2NJe7uo5+8AwVFsEq1xbi2idwMCwD9fX2vY=; b=O4RMV5SQUM5l k2whgsvPvnf0Ow3DUiUN33F087xXTcCatXl3Ee2dK/bf8Oz+nItxHveXG3UM8LW340vQFtLDAxjFt 1KeLQ+dP65inqypDC5JmlyLJA6SPPw37MuYY0bnfQ8q0sG0asNjbhv0iBze7vGTPrtxYDJJQPKLOF S83IZZbd131+u3ArXrL7RyvQjG0AzCcygHCIPZNtcYIpXhZeUWtq3n0vbovDUyjB4+9WyuKIvWiMG mu5Uy2AyNeFZE8oO4ET+sk7KHCFRstNuVolMx5ngEXwiBO5ZtfL2KjREZAF0ZW3tURVTVVh7JhF+c omsk8+TkbQOkIa/f7pEL5Q==; Original-Received: from [87.69.77.57] (port=2989 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGdfa-0008Dr-I4; Sun, 06 Feb 2022 04:17:18 -0500 In-Reply-To: <20220205193944.836651.FMU2130669@unexploded-cow.prv.splode.com> (message from Noah Friedman on Sat, 05 Feb 2022 19:39:44 -0800 (PST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285944 Archived-At: > From: Noah Friedman > Date: Sat, 05 Feb 2022 19:39:44 -0800 (PST) > Cc: emacs-devel@gnu.org > > This change in master: > > 2022-02-01 10:13:15 +0800 Po Lu 99c637499e > > Only apply last change to the clipboard > > * lisp/select.el (gui--selection-value-internal): Only return > nil if we own the clipboard. > > Means that yanking never pastes the clipboard if I've programmatically set > the clipboard selection (which I do for both emacs and the sake of other > program windows that use it) Can you show the code that you use to set the clipboard data programmatically?