From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#57012: Activating versus raising frames Date: Sun, 07 Aug 2022 00:10:01 -0400 Message-ID: <83278e2613c4a27ade2ed7c0e59210068279782a.camel@dancol.org> References: <18270a59cb0.2829.cc5b3318d7e9908e2c46732289705cb0@dancol.org> <878ro25eo7.fsf@yahoo.com> <6c3817726a4fc63e83a3d004dffdf072cae278c5.camel@dancol.org> <87y1w03jhv.fsf@yahoo.com> <06468240-fd7c-72e8-2538-b65dd2f28665@dancol.org> <87czdc3h6s.fsf@yahoo.com> <1827637baa0.2829.cc5b3318d7e9908e2c46732289705cb0@dancol.org> <87pmhc21t3.fsf@yahoo.com> <18276492f60.2829.cc5b3318d7e9908e2c46732289705cb0@dancol.org> <874jyo20kw.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11050"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.44.1-0ubuntu1 Cc: 57012@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 07 06:11:28 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 1oKXdQ-0002hi-0s for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Aug 2022 06:11:28 +0200 Original-Received: from localhost ([::1]:50620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKXdO-0003UQ-BP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Aug 2022 00:11:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKXd0-0003TT-Jo for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 00:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKXd0-0006FQ-3c for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 00:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKXcz-0001gP-Tc for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2022 00:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Aug 2022 04:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57012 X-GNU-PR-Package: emacs Original-Received: via spool by 57012-submit@debbugs.gnu.org id=B57012.16598454096386 (code B ref 57012); Sun, 07 Aug 2022 04:11:01 +0000 Original-Received: (at 57012) by debbugs.gnu.org; 7 Aug 2022 04:10:09 +0000 Original-Received: from localhost ([127.0.0.1]:35813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKXc8-0001ew-TP for submit@debbugs.gnu.org; Sun, 07 Aug 2022 00:10:09 -0400 Original-Received: from dancol.org ([96.126.100.184]:51966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKXc4-0001ei-JY for 57012@debbugs.gnu.org; Sun, 07 Aug 2022 00:10:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=MIME-Version:Content-Transfer-Encoding:Content-Type:References: In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=waQpSmFFx8U0DLc9t4Wo0n8QtNvFeVVkbQmNaq+g1XM=; b=bF3pu5A4M7p024w1aK7xUlQ8ET EYqF7/ZAgwwU9iXyUaUF/ZCTLhl06IhBiBvoYal0SSpzbKI4hru8Fo73qWAGwSpA6zLCwAybXonE0 8WGS6rtpkQSOkvLzC81e/p4F/TPKP24DT+Ira9/foULjifdgVqlPP2lfw2oG21J2F6PciILauewFy XLpmOZxZTT0EM9CTRQ9iE4qeVtKN7gLi49/I46kCvyA9n2MMLqPKZwzmNYsYWYsN4JvyLr2DCx18X wlGedyl0gQCotSiqCewDY8diKOMotPO5E+RDxiM2E2pGc4N+nr2Xo0zeJ70HWHDY7PqUI5Q0W/oNK 48pRmItw==; Original-Received: from 2603-9001-4203-1ab2-640d-a545-3db0-5adc.inf6.spectrum.com ([2603:9001:4203:1ab2:640d:a545:3db0:5adc]:39136) by dancol.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oKXc2-0006v0-CF; Sat, 06 Aug 2022 21:10:02 -0700 In-Reply-To: <874jyo20kw.fsf@yahoo.com> 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:239024 Archived-At: On Sun, 2022-08-07 at 11:29 +0800, Po Lu wrote: > Daniel Colascione writes: >=20 > > On August 6, 2022 23:03:04 Po Lu wrote: > >=20 > > Daniel Colascione writes: > >=20 > > pgtk also runs on X, and the problem must be solved there in some > > manner. > >=20 > > It does not. We do not support running the PGTK build on X (the > > selection code doesn't work on X, for example), and there is no way to > > "touch" the user time on that platform without relying on X11-specific > > code. At present, it's not even possible to include gdk/gdkx.h there > > due to typedef conflicts with dispextern.h > >=20 > > I'm surprised to hear that considering that many other GTK > > applications manage selections adequately. If the intent of pgtk is to > > run only on Wayland, you should break the pgtk build at runtime if > > it's running under X11, and probably rename it too --- because "pure > > GTK" sounds like it should rely only on things GTK provides and that > > it should therefore run anywhere GTK does. If in fact it's just a > > Wayland window system implementation, call it that. >=20 > It does break at runtime when run under X11: just type "C-x h" in a > large file (like xdisp.c), and try to insert the region into another > program with mouse-2. >=20 > Other GTK programs run well because simply don't provide the amount of > features that Emacs does. Their users don't notice various problems > caused by GTK, including "C-S-u" being read as "C-u", or "kp-home" being > translated by the input method into "home". But our users do, which is > why we do not support X11 on the PGTK builds, since the regular X build > works much better. >=20 > It's documented to only support window systems that aren't X11, such as > Wayland and Broadway. Then emit an error message at runtime if you detect them running on X11 telling users that things will mysteriously. To let them build and run pgtk initially, then get frustrated with a few edge cases, is doing them a disservice. They're not going to read that documentation.