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.bugs Subject: bug#55883: [PATCH] Update X Primary Selection with active regions Date: Wed, 22 Jun 2022 16:02:30 +0300 Message-ID: <83iloskg0p.fsf@gnu.org> References: <834k0t104u.fsf@gnu.org> <8335gbzled.fsf@gnu.org> <837d5jtp9x.fsf@gnu.org> <83v8t1rhtt.fsf@gnu.org> <83czf6ns0e.fsf@gnu.org> <878rpuknov.fsf@tcd.ie> <838rpuneb1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22955"; mail-complaints-to="usenet@ciao.gmane.io" Cc: contovob@tcd.ie, 55883@debbugs.gnu.org To: Duncan Findlay Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 22 15:03:19 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1o400r-0005jc-L5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 15:03:17 +0200 Original-Received: from localhost ([::1]:39728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o400q-0007Ac-IB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 09:03:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o400d-00076a-QV for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 09:03:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o400c-0007iS-IQ for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 09:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o400c-00007B-GJ for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 09:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Jun 2022 13:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55883 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 55883-submit@debbugs.gnu.org id=B55883.1655902972421 (code B ref 55883); Wed, 22 Jun 2022 13:03:02 +0000 Original-Received: (at 55883) by debbugs.gnu.org; 22 Jun 2022 13:02:52 +0000 Original-Received: from localhost ([127.0.0.1]:34349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o400R-00006i-R8 for submit@debbugs.gnu.org; Wed, 22 Jun 2022 09:02:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o400N-00006S-F4 for 55883@debbugs.gnu.org; Wed, 22 Jun 2022 09:02:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o400G-0007fI-QN; Wed, 22 Jun 2022 09:02:40 -0400 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=y1I4maRf7f1Lh1ASIOrQ44EyB3xLAduIzWFysYV9nF0=; b=m+5UbYxa9oZq mskJIsFHHVVrmQ1dPsGR1pjGW0JBmcT3FYmJxGoM8+evTAuz3j0jslJWLYj4EBeA4JiRnihndhU67 l6KH0tFEJdQ5u3xPdQDhk8kOvAaFfk7YqE2W3VVAxLCkm6VYVey9ikKjSyz0FkLLbh0gQaBWyr4PI TymZxOEFzxqEBEnZgxvqmvxf7zKwFZExtNnSupyhYbnttbko8RH5pdrCmYjNdv7J9aP3OX/m8F3Xh Xn+Hm4GrnrE9sDUI6GNCSA7PHvT6LTDCyeWMHBuu7kEXiCueoWoH/SPrka48PUS8mz1Pt7oY51WCJ 0ml6Dy1feN001jMN6JngXQ==; Original-Received: from [87.69.77.57] (port=4362 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 1o400G-0004ce-0w; Wed, 22 Jun 2022 09:02:40 -0400 In-Reply-To: (message from Duncan Findlay on Tue, 21 Jun 2022 18:58:16 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235014 Archived-At: > From: Duncan Findlay > Date: Tue, 21 Jun 2022 18:58:16 -0700 > Cc: "Basil L. Contovounesios" , 55883@debbugs.gnu.org > > Oops. I'm sorry I missed that, and thank you for the quick fixes! It > looks like you renamed the variable, and put it in frame.el with > 7e1f84fa3bc7dfd84415813889c91070c0759da2 and > 4e68166d77cdd0f3b84c9bf5681f6a95e51ad238. I assume that means that > frame.el is always loaded in tests, and that xterm.el is sometimes not > loaded? frame.el is preloaded, so it is present in every Emacs session, yes. xterm.el is only loaded when Emacs needs to display some frame on a TTY terminal emulated by xterm. > I don't have a problem with the current fix, though I'm wondering if > the attached patch would have worked too? I considered that, but I don't like to have variables related to xterm (or any other particular terminal type) in a general-purpose infrastructure code. I apologize for not realizing this adverse effect earlier.