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:20:27 +0200 Message-ID: <83o83kz6zp.fsf@gnu.org> References: <20220205193944.836651.FMU2130669@unexploded-cow.prv.splode.com> <87o83kphri.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33990"; mail-complaints-to="usenet@ciao.gmane.io" Cc: noah@splode.com, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 06 10:22:25 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 1nGdkW-0008g2-Vg for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Feb 2022 10:22:25 +0100 Original-Received: from localhost ([::1]:57382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGdkV-0003G5-Ol for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Feb 2022 04:22:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGdj6-0001gT-PU for emacs-devel@gnu.org; Sun, 06 Feb 2022 04:20:57 -0500 Original-Received: from [2001:470:142:3::e] (port=53948 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 1nGdj6-0001Rn-FS; Sun, 06 Feb 2022 04:20:56 -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=HvYaeHN3Zshz5wz4YQ/56CLcs4xQG8/h8bn8SGHT984=; b=CeM4lpnTYQcO zMwjtTcW/Ky7JvYuaA3TZUWO/ZMYaKVu2ljmfjj3TT91fhTUpQjx9peZ68PLPK017epKK2/eQEX6X iHJOyLOMbq+tl8om/Ta9iJ/aDrcFz1bwWCQL5dUREs6GAdDzwLf9qtiQG2mrdnfqXi4vUXr9p27bP +JRzRbDWvsx/n0/q3SP4td0U1QYcip8vI/bMuxBicNrNS+nm0fVM5AE2DPJ35hsUJ+WIXY3kQy0nR niPlOudxbxTFNb7CWD+7qGwG851hofUzNKXHNuOw1oUsAtZOo+N+5rj73sAntHc9mXzELOG8kJyHw QKb/t/l8ti7E3qez+Rt3zA==; Original-Received: from [87.69.77.57] (port=3198 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 1nGdis-0008TW-QI; Sun, 06 Feb 2022 04:20:55 -0500 In-Reply-To: <87o83kphri.fsf@yahoo.com> (message from Po Lu on Sun, 06 Feb 2022 15:37:53 +0800) 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:285945 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Sun, 06 Feb 2022 15:37:53 +0800 > > > But, curiously, you didn't make this change for the primary selection. > > Because, typically, Emacs does not keep a local ring for text stored > into the primary selection. `select-enable-primary' is a violation of > the XDG clipboard spec, and is unlikely to be used by many people, so I > didn't enable that code there. How about enabling it for primary selections when select-enable-primary is non-nil?