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 21:17:40 +0800 Message-ID: <871r0ehl3f.fsf@yahoo.com> References: <20220205193944.836651.FMU2130669@unexploded-cow.prv.splode.com> <87o83kphri.fsf@yahoo.com> <87sfsv62nf.fsf@gnus.org> <87fsovmqd9.fsf@yahoo.com> <87leynz8th.fsf@gnus.org> <87leynjrpv.fsf@yahoo.com> <87h79bz6kb.fsf@gnus.org> <87a6f3jq02.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="18395"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Lars Ingebrigtsen , Noah Friedman , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 07 15:06:32 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 1nH4f1-0004UK-Am for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Feb 2022 15:06:31 +0100 Original-Received: from localhost ([::1]:35852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH4f0-0003Tg-2W for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Feb 2022 09:06:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nH3u2-0002zm-6f for emacs-devel@gnu.org; Mon, 07 Feb 2022 08:17:58 -0500 Original-Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]:37989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nH3tz-0001oy-8s for emacs-devel@gnu.org; Mon, 07 Feb 2022 08:17:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644239873; bh=kq4U/gtEL7TIyjwPzD2dw217xpPk4OQ5+WUHUVvAG4M=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=I9u/GhZBzChzUPlDw46MeuSEVSp6yz3im6zFT8bAa1/Hh5UkntEYOkUV0v9N1KcIaGaZmRiBv56fYMu++k2w2OZHBPDb7WQZ9q5RJ0RCdbsntFXDrcOwnH+6QABuc7dA1lACqoyLqhjYQ8eCsnon5ZZhSPOomPDB+VF1jktE/Miqcq0czoebSepuDy/HKKvGmm3740l7drHyc9oS2XsUvuR8JMG5b13QgE4UCD+m55c1JD1dMq8dsw7GFs9XEU4nP40ScPXblt+Eomh0oPUMRJD4uUyXkzNH79kfNpI+2Y4U2ie8s5PiX93/uypBHWTFG+rJgRJRaCnufbuHMp1ofA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644239873; bh=QpaKw42YfojhvqD/9HvG6GIdZU4R1Rt/1WivyIoK/Lq=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=BOBMx1rmYXjxMDPcZk6UKsbmXOHhRA+CpwaGXUq+9JxahxDZHOpRlseWUtEbyth6FflBN7MzK4UHoBmGicgQJgZ0JgzxU2y1dSV4VRyuD2zmZ1917JJHWZDWfAY11h0gFJDJ9ReMSv+y/z1HD3G95Lp5uuOWAbzv6e7qNzAWh89uMizooSmPZVVi1aOer0G1cpIaeUacmaV3stBA31UFekbhE7XNxuRVXrWNykAHrnWeYQnpC5DcR301sG2MZJW5vLm3VeiQmUIMVcWjzRyCkvX1dDFR2i1CUDkmkroz7Gu8nrfFMWyUa3aUs0mwXXNH36+Um/8n0bf0EuKuWJVyEg== X-YMail-OSG: ocEXlB8VM1m30.XWJlEMknJ8eoskOkJh38l.LRIreZoVv6Tn.uP_28jeLiP6nIu b5wiydheLl5mKgPCP1m4l64XgySJS37EF415dtGl1O4X7TxBaaiTgZls.FBBIBgbdjfWUiPjx5ME aMr0kJsy1SG62.5VO6yPTMmhQcaDG1P1tWHRKTCNLe1O4SE7574lOMtg9X8EB4kuWnn9VWcORQXY OkTiwaniSlWH0Wf20GuDGKyz8PML1nAP4u6QHwL6D6YHdmuZK1dIvWWjMlBzE0J0izwvLhLm0hI9 QcZjjDqtUgGEsQjItW3JagSsaTNaYSm5JBzKu0sVdSb3s2f5NTNeEw3pI_VD7uBYsbDm9oqHtm0x ztrN9bALgo2V54irvEbWDXbvz6bMY056y7jGB.VlfJLDmCpmshOISsnrYz.3II_OYdMWckeYL_Yk 5LmcrWZ8xVsiLmEvJlt5If6Y8YgzFsnjWTtZmt4WHdWRXp8DXn8dOQU1SXyYNr9rXRaM6Uep9yHF YgRUIGaDz1bx.2UdlBv9lIqJ96k7.dDXmVp8Vtqp7oe8gUumHLLAXdsb3Jc8roBNd8K4rC4D5cxl VAhTXaodeAgAbbykfETcG3WHPMSh2JszeNTHDl9ZAcvP.5ccB73wSeX4mBnFoHLPaGeM3LAeAujY kFgn2bNOIUZcDiQZTn6Tq8L65Es.DBHUOby9m.v9VgL71ELG4O3IhqWYIIfMKFtyG1N.j7sQ7ghR bIbvcU2L6iqxCDIEqAHUzSrWo1yQh8rSL55IJjIccxHowduUIKJJ68H9JFp2TSDzGKLV9nt1V8dm j19DpuHiIuMiR3UNRN8QW7qk77wtYc.ODWlMSOYj.G X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 7 Feb 2022 13:17:53 +0000 Original-Received: by kubenode504.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6dc7c86f02e4ecd8915512ee040bc723; Mon, 07 Feb 2022 13:17:46 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Mon, 07 Feb 2022 08:14:13 -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.190.31; envelope-from=luangruo@yahoo.com; helo=sonic307-56.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:286043 Archived-At: Stefan Monnier writes: > Some of those specs talk about interaction with other programs, in > which case we should arguably follow them to be good neighbors. But > other parts talk about the UI and only affect the contract between the > application and the user. We have no obligation to follow those > parts, tho of course it might make a lot of sense to make the default > behavior follow those specs to avoid surprising the user. > > The change under discussion here was motivated by an optimization, so > presumably it should not affect the interface between the user and > Emacs, but only between Emacs and the system. So IIUC this is a part > where the spec is indeed very relevant and we should strive to follow > it. But I must say I don't know which part of the spec the change is > related to. Could you clarify? It's not related. Here I'm trying to convince people to not enable `select-enable-primary' lightly, since that breaks other programs. There seems to be a lot of bad advice floating around, and that's one of them. > These seem to only affect the contract between the user and Emacs, so if > the users change them to their default, that can only hurt themselves. > > And AFAICT our default settings don't violate those parts 3, 4, and 5, > so we're fine. > > And of course I still can't see in which way this relates to > commit 99c637499e. It doesn't relate, but I thought you were referring to the choice of selection in the message I replied to earlier.