From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53062: 29.0.50; Inserting charger causes keyboard event Date: Fri, 14 Jan 2022 21:06:58 +0800 Message-ID: <87fspqfoul.fsf@yahoo.com> References: <87iluw8ri2.fsf@thornhill.no> <838rvs6nyl.fsf@gnu.org> <87o84j479v.fsf@thornhill.no> <87k0f2spqu.fsf@gnus.org> <87bl0ehdau.fsf@yahoo.com> <87zgnyse7f.fsf@thornhill.no> <87lezifqkb.fsf@yahoo.com> <87wnj2fpgx.fsf@thornhill.no> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26808"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Lars Ingebrigtsen , 53062@debbugs.gnu.org, Eli Zaretskii To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 14 14:08:26 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 1n8MJd-0006nC-EY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 14:08:25 +0100 Original-Received: from localhost ([::1]:47084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8MJc-00030P-7T for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 08:08:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8MJG-0002yz-IE for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 08:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8MJG-0008Uy-2z for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 08:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8MJF-0005d9-Us for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 08:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jan 2022 13:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53062 X-GNU-PR-Package: emacs Original-Received: via spool by 53062-submit@debbugs.gnu.org id=B53062.164216564121574 (code B ref 53062); Fri, 14 Jan 2022 13:08:01 +0000 Original-Received: (at 53062) by debbugs.gnu.org; 14 Jan 2022 13:07:21 +0000 Original-Received: from localhost ([127.0.0.1]:35861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8MIb-0005bt-43 for submit@debbugs.gnu.org; Fri, 14 Jan 2022 08:07:21 -0500 Original-Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]:34486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8MIX-0005bc-MQ for 53062@debbugs.gnu.org; Fri, 14 Jan 2022 08:07:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642165632; bh=4P9yOKt950DjfYy2KiqbVLNDvSEhT2E5jkBrKPCCKJw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=G+JV1txR8tG5KNIN4bhG4UUyFjbCjciE2+ONFIl8rU+wQob8kze3Da1u0Sko/2NpdczF8YqNYly38js6ayGi3IfEJi/ZoLdC+K+k4Y5KI2zVgBrbQ99lUobkrKKDdwxXYkdNFUvgSFNuj7/Borr6U+k+rNp92vonC6r/KtuHMd7IZSIsuTGe16P1lU20nRskboY0wHtEGWq1mOLKkpV+m7cP/GJsztRiUBfIUvsQIaIKB6uIQZkK/DsmuSD8/cETg/OzhsA2x0ieFI361H/CTDP4iCU39uMbfMsfOwKdVMOSway28qMC822qXWRwXeeuPU8obQN7Sam79S0MQ6tSKw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642165632; bh=puc3T5aWhi44yplz8k41WQU+EFSRT6aBJlqA1MUSLkC=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=a4+Tdw+eAi6Bm61RingNha8rNbSL1SQIoI3rQRobuWgBIqQc8PHWDvCkyGtFDcU0hgDBA+1pY41W8JjwudS6GxK/dQhdA/VnG8zs56QTMjskKB8JIEZ2BOS20HZ1NFelXkYDXXk7w0i44oM408KlMNw5c2YbDvUXUyT6rKxT2e8jkeV8dHz7oYU0p2LHufEgRMt7Yxvz9ZEqRGMm8eMXbD2lDRaaFE2Sk49wF/Q2dRWcLLl4zo93LugP0nagdqlBn9CtA/w3mUNbehG3Eo1LA9pk0el9ngS5icax9GNoRS5Wsraos9K7pnipkNaIimOyeanzFn6m8J897hzTA6kg/A== X-YMail-OSG: IMLiDAUVM1kf0buaHWsxNnS2saF5k25VHre9Q2PnSjeu0bmokbwieTvTawhveyS wrCwlOLThdmIYFND9E9DoFJL6TUmztCn8FkpMmVLHEW5fSDx7A4E.uZhKJQgYVdXAjAqCvlJkNu8 MGJy3zWmc4Z0JvRRrK3z2R57.lgMRQp_hVpCjQRoqGbU7NFju_qt_LQ771HGGNV_njfIR_58XB6v OecRfWh3BbweV4pm3uNXT_CY3WucWaRvOk0jedS2JYZanuGs.9UdXXLMVXh37u3qFb8l2__a.bsv YrhAxWdpfTTlo7b0mhKEwJH9hLrbrxtoUKMvw_fwnckIu80DAoUeGhnXQM8j0wlHZOOrnpQ.dvuw UfFgkPQFVJAtLHG.k3IqAnzYPnDNaa_zmWZxT_HneXB81PcxOLaArAQRMPodkSLW2Jw51RMfYDVf tr5EfgDqYJdHwbTiA1Tw.IEQMphEdz1ub0.3i2Ez9tW0dwhe9YZI2Eye2bbLdF.G06ypfgffZnXe 21ttVw9HQ09eovAzrF0Vp4IK69UXO6S6Vbb.rhIb49t_4j5xBjVk.ypjUyQXfR3CwN_qbVa5okF. sG_N.Oj0lrueah6DBzUF2FfjihYsXmmFVUML4FL9oDdv.4KPeLRfdndbgN3JYBz8CaUx160_Dmij CCfrStLxOn3Cj0kEoAyStwRnd.uF94gcQKNyOJFcsNUdjAU5p9HpwlEMcyIwrOJA2XLZI6dZO3av oDhBQhHd9ONZbTpwAni.Zvfl.e3X0_3uknIz3252ZmJExXb6KrfO_FgDo8.tiyYstH9F7gP743PD qCJ.WEExeDmq_ZaF4cnGxretSNGW6msbxG2.QvWE7c X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Fri, 14 Jan 2022 13:07:12 +0000 Original-Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID cdfb271292ce8f2b54ed0cd824b6b7d6; Fri, 14 Jan 2022 13:07:08 +0000 (UTC) In-Reply-To: <87wnj2fpgx.fsf@thornhill.no> (Theodor Thornhill's message of "Fri, 14 Jan 2022 13:53:34 +0100") X-Mailer: WebService/1.1.19594 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:224202 Archived-At: Theodor Thornhill writes: > This code resides in exwm.el, and is the one messaging the error > > (when (not (eq 'x (framep frame))) > (message "[EXWM] Not running under X environment") > (cl-return-from exwm-init)) > > This seems to be because (framep frame) returns 'pgtk, and not 'x. So > exwm cannot run under 'pgtk, it seems. Not sure if that is _only_ a bug > in exwm, or maybe should also be addressed in pgtk? framep returns the window system Emacs is running under. Under PGTK, `pgtk' is the window system, not `x'. I don't see why the exwm developers should bother to support the PGTK build either, which won't work for various other reasons (such as missing x-send-client-message, for example.) Thanks.