From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: recent change to yanking behavior of the clipboard Date: Mon, 07 Feb 2022 09:18:14 +0800 Message-ID: <875yprmq3t.fsf@yahoo.com> References: <87zgn4nsui.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21120"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: xenodasein--- via "Emacs development discussions." , xenodasein@tutanota.de To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 07 02:21:17 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 1nGsiS-0005C0-V7 for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Feb 2022 02:21:16 +0100 Original-Received: from localhost ([::1]:51054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGsiP-0001J4-F3 for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Feb 2022 20:21:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGsfm-0008BQ-Ll for emacs-devel@gnu.org; Sun, 06 Feb 2022 20:18:30 -0500 Original-Received: from sonic317-33.consmr.mail.ne1.yahoo.com ([66.163.184.44]:44323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGsfj-0001ZO-M9 for emacs-devel@gnu.org; Sun, 06 Feb 2022 20:18:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644196703; bh=SqkswlZmrBDrOCAF/CSCZroadk7VlXvDqu2RnJjuwc4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=tlLDcnOU0kQvG/2nrVlxekqb1KRZWo3mGzMv3ZAr6H2TpQY7+eic7cIiV3E5SrLZNrBs5YUHKa2TAkm9gTztAB7E1HWYcrKv2WlwgcPlNWkJKZcDecuqOxaabYzFODyUccc7qCfEsAxVGwcGOpPj23WM2onwJ4sVDRSHu7sh1gqAveC9mliuql34uVM2bn0yi5F5VXSwRY8YG+paGrV/tFsxHLHdMMa7Aa9lqFFkXxhtSA3ypB539YVQuSq75xXHmLLbROGg2QAuqkoSElDikm8lXM7BiZogAz7VIUzQx3bpKrgWI8du+vez3CquzZkyuqCtMmgTIrI+p6do5iGJTw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644196703; bh=dAgkmhZx5g1FtT2bOTL7fQDmXiUOO+Hm8BwN0ja7WXS=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=p1eNS/rUJ39hGqQ1dbvr2WUwcZ8wH1OH7EdSny3xECHLUzT/5u80DGPIjHvygtpj88qITD8xOgZ2+yFQvYGpGZeCo5yRPEYAc5+vEDBfSG0x2AflvVejmABYT08s0/vhLsm8htVVkh8Ys/WdCDYFK/xEnagQ/kCbSUvfJHrCIhQeLXhUd0fSsDbqDAT1UIUt1/a35FPYlDqP/l9Dd+vHz+5hV5ca6o0ME7TU23Xo6Ljf1i+kHuODDWO0DzXy+lW7Lq9I7NB4qMTX+dBoH36J/WtKnWAnZgiiPW4NrUW96wX3gGcmE70JEDnpG/fXDsrnnWOEvvAvYGh+vACJyWMZDQ== X-YMail-OSG: lfBnP3kVM1niFiR9.dVWOnPrka25LPkgJnttGHELvkzmLw0Xpi8SN75qOukJiiM C79Sm2LiUxh_N4eDay1iPRNu2Zo_BhE8MDRoL671LTJkb4Of7w2Lq7yEh0P_jyxfwgcuV0hz0tBQ E87OshsF7lr6DMH1ZagMCtoMXU2X4cmu8KfJKEXRWVGyRhk8zkA3pY3xCetr0rnpmM4qcKhvrwxX 6u7QyT2oSsyLtoEc8zkuX1G0vdM47Vq8T3.8USuwxNFWYHaXKryJ05EVQjhBZUJ4fjNI.Cqb7xrk 4rVW8YZBsdU3Utr7iTeBZCFHqFZJayqIGiXxwrj_4HjVe8IrTs51YdQZN7wsB89NSOGhupZFWUPa qsMjFqAe.kktKge43PXzyFmgyAambMYAur1wQK0JEgXeEMQNs2BSJSPWuWrmwRbjtytE5POIrfi2 gKats3eg0wh.3DypssmKHk9UFrdNdkGVVag1DV.WCZLjElwTmYwS13YGjw8YgPbXf89euRH9tsHk 6AriTkSbIeeXyExqYtfQq8w3frRd2bYHUudO_uqtNcz_2uWGNTDBqHh3djeRuGNhswKyUTLdAp8C ZYjLCdqVkHQuzm99rYhxCSC9QFus3GyJw6xmWGf.pC7_ftqFgDjVYIBUh2PYLcqHGuQoJkoNYBO9 zfhInthn0dqqMSzl5BLQc33YP8QYvlfDdLfnwcTUsEOC8XQ78wY2uIdm5PKydMQSfKTrrQOxvyOF GmDE3CROGlUSHufcS1jiJwY7NDklo6tsAt.BPLH8065uDHWLaSBQf2bMVitsrVa8GWXJ1rr8drn6 8QY9mNP5XMGQuVpW2T2R8Ver2uEC2Wm7zawkVoGKPv X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Mon, 7 Feb 2022 01:18:23 +0000 Original-Received: by kubenode501.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 9affc0546b71b57f8ee7f3859bbd5159; Mon, 07 Feb 2022 01:18:18 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Sun, 06 Feb 2022 10:20:49 -0500") X-Mailer: WebService/1.1.19711 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.44; envelope-from=luangruo@yahoo.com; helo=sonic317-33.consmr.mail.ne1.yahoo.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:285998 Archived-At: Stefan Monnier writes: > FWIW, every one of those changes has generated friction, so it's not > like we should feel free to change it any way we like. I see no point in sticking to behaviour obsoleted by the operating system, such as storing cut text in the primary selection. On X, every client has to cooperate with every other client in order to have working cut and paste, and a single client deviating from that is sufficient to bring down the entire deck-of-cards. We do that for the same reason that we adapt Emacs to changes in glibc's memory allocator: not doing it will result in Emacs and/or the user's system not functioning correctly. > I don't understand the issue at hand well enough to have an opinion on > whether the change is on the right side of the tradeoff, but there is > clearly a tradeoff. I have a solution to Noah's problem while preserving the new improvements, but I need to see Noah's code to decide if there's a valid reason to install such a change.