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: Installing two changes Date: Thu, 01 Dec 2022 19:15:28 +0800 Message-ID: <875yevtlwv.fsf@yahoo.com> References: <875yevtlwv.fsf.ref@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="7733"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 01 12:17:01 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 1p0hYp-0001fd-LW for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Dec 2022 12:16:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0hXh-00074T-0b; Thu, 01 Dec 2022 06:15:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0hXd-00073P-UO for emacs-devel@gnu.org; Thu, 01 Dec 2022 06:15:45 -0500 Original-Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0hXb-0004Vj-NU for emacs-devel@gnu.org; Thu, 01 Dec 2022 06:15:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1669893338; bh=DPL290X8t7qNWbj6c9oKUgBnQR/9FgKsBMbayTO6ROI=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=s2+aTUFCNqS7fYAbz6/CB34bYmyfPfaBF+vCHMGuYA6qy7vW66rCoK5puCjCKHrB8RmKDZhDAosPy9JAgKC0C12LX9X/Vw6oHDzMOykpd4iaoEKMr/MBqiHeiCMv+U77mCHa+Z1FbWlPs1oB4lReN5cU3QDLzwVIj0iiUinUV9Z1egCHR6kPjifYsgQLr+Xdee+jNlCjNnJgWnSl498arVH9m+NIH267KTWQKPg0i/madzltGPP3GK7oLRt3HpZV0uMi2WCodcjw9TEBsIv5ZFbRv6gXEvUxVoa1jgHmiErunjmtTjr9JuysE3xKnq297EtUgmcyKOpRIWr2EwyzmA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1669893338; bh=vKmfZ2P+siOGqG8L/o44tAGGd9mQHW2DtZ6rWkCoqVY=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=PlmGBhug8ZDRZhMmmiumAN3GETUcyw0ZgJzDVlhnxOTETDfqiRpbcxTawMCgSmrgnJGzrhtMOdhYJeBV6IgiMP/bH7cbq39ZC1VK4qog9UTJ6eVpOe4VSBZVV83sMCmj/iDLl1tEFB+dzFOMwyhDdQhg/jonK3ZX+KJw4/ZF2AoaYdGl79zLu2oDVisIZJXfbueQRJOJTWIC5Ulybn+KNQR6KRhfR/be64TiI7S2KuXbsi3O3EaIoyi0VKx6EhGU/08fYdimhcJy93xjbywlIDRmxtMYPCz44IbfR6mGJehEb4+bfGauq1KIm7Fm6K+eDaxac+htpBZGGu95YFa13A== X-YMail-OSG: 1W6yaP0VM1k3muKpyhZ6s8t6yiX3Oz89zBLIxgsMGAeEV1t8NxASPwahTjw56mS upvz6EO_bVhxLYQQBAdnukmthQmFd6y_aAGBQbTFh.4OVEO6N8hvsTeuzxObaEANytwNIt4WdlRF .t_jRetzcVtERopqND2qbMF0V4N.n8.4DUzd7Tada9BqxQ9v3sv8AYM5clFmNDN0ap83y0JiVgC2 VVvtvtGeUD1RBDW5LehHbeTyxBJomgww0qMoVPAsf1Hg_C9TrGGoY09KzcvCQ_gpUCzkcyKrP9Ab PQKGbFq9oLX1TP7RsGAzA5XTEURtGXVT6zkUJDNiKquIlQ6qLYTXKu8TVBMtwkcEc20dfk3B64Yb MxTbBy933FQmE3reExqz6yNeZrd7G0a2Vl7EOl1yPv7fe8SjykmwA_115qne2iiZX30XwaMnGuyQ wtpcvstQbXY1wqEaeU6YoVtIj.XmAjJCra9tsql_Jgu.XnUC2h3ShDHgO4Kp93geA41oNZ6RY1NC HbRae7IQuPOpWmvLZmrzxhBn2iTPyW1jTjKZMGnLGDVtl8A2lIPx9VgYezGxsDXESe9LE_fE5cuX vyDRc5RQpSUtsQ04X3NeuI_ayp8KXk5kat_sWr.XoAG.c7eB8CRHmG5lFryn7KyPwpmI6BNc5Gv. qorOtlp.2h8aaQydsaOE_GpVv1TObBRtuoGkut.j_3icbYD3Q3oQwPViLTtQjxFUIkkN4gmKGksF QyLq0obu2pdVHVYcQGr_Wzl0DFznq5Z_Ap42lcTK3lD.9ErdA0ONiBxO2ca5Htlj8Z5KguY4bKeN Y7utEQNZuulrZSfrkXVDugfvHG.G5Jm.U4gxD1g.5P X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Thu, 1 Dec 2022 11:15:38 +0000 Original-Received: by hermes--production-sg3-b666c6484-m7p67 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID b2838f5541beb02b840e594a2e9b3788; Thu, 01 Dec 2022 11:15:33 +0000 (UTC) X-Mailer: WebService/1.1.20863 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.146; envelope-from=luangruo@yahoo.com; helo=sonic309-20.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300807 Archived-At: Would someone please install the changes in: https://lists.gnu.org/archive/html/bug-gnu-emacs/2022-11/msg02589.html to `master', and and also the following documentation change to `emacs-29'? I will not be able to install them until tomorrow. If someone wants to do it sooner, that would be great. Thanks. 2022-12-01 Po Lu * doc/lispref/frames.texi (Input Focus): Clarify for XInput 2 support. diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index b3f1a29ae8..a656964198 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@ -2854,10 +2854,18 @@ Input Focus Emacs itself has only one selected frame, Emacs can have frames on many different terminals (recall that a connection to a window system counts as a terminal), and each terminal has its own idea of which -frame has input focus. When you set the input focus to a frame, you -set the focus for that frame's terminal, but frames on other terminals +frame has input focus. Under the X Window System, where user input is +organized into individual ``seats'' of input, each seat in turn can +have its own specific input focus. When you set the input focus to a +frame, you set the focus for that frame's terminal on the last seat +which interacted with Emacs, but frames on other terminals and seats may still remain focused. +If the input focus is set before any user interaction has occurred on +the specified terminal, then the X server picks a random seat +(normally the one with the lowest number) and sets the input focus +there. + Lisp programs can switch frames temporarily by calling the function @code{select-frame}. This does not alter the window system's concept of focus; rather, it escapes from the window manager's control until