From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill 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 13:53:34 +0100 Message-ID: <87wnj2fpgx.fsf@thornhill.no> 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> Reply-To: Theodor Thornhill Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19493"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 53062@debbugs.gnu.org, Eli Zaretskii To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 14 14:06:54 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 1n8MI9-0004uk-Vq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 14:06:54 +0100 Original-Received: from localhost ([::1]:45910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8MI8-000268-QP for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 08:06:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8M5i-0001dF-3T for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 07:54:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8M5h-0006B2-Px for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 07:54:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8M5h-0005DX-Px for bug-gnu-emacs@gnu.org; Fri, 14 Jan 2022 07:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jan 2022 12:54: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.164216482720034 (code B ref 53062); Fri, 14 Jan 2022 12:54:01 +0000 Original-Received: (at 53062) by debbugs.gnu.org; 14 Jan 2022 12:53:47 +0000 Original-Received: from localhost ([127.0.0.1]:35841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8M5O-0005Cy-U5 for submit@debbugs.gnu.org; Fri, 14 Jan 2022 07:53:46 -0500 Original-Received: from out1.migadu.com ([91.121.223.63]:60731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8M5J-0005Cj-9D for 53062@debbugs.gnu.org; Fri, 14 Jan 2022 07:53:41 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1642164816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O48HEkhhi9JUu4Qx6/B4ukHnUuigvaJmJFIjoxTTRw4=; b=Per+VwKQBC8682cLu23A21N9Nf/SJ6My2zRIHqYuzSPQIi0x3dsd17bF89d4OUrhc+GmaJ Bj5m/EX64BtQRKFlJXilMB0/5LPTZFD216L6/k1TTjwkwUoLYHXB/7T9Mj0lx+7M05cNYf XfLkgOGbxPymhqVNarhjPZjgE0JLrdOOQlqY4YliXeUphWpYmIUqqwCBrzJhfq3GbBScak aRj5I48O/XypN55q14d/zlNGIwTnFvF+iKaoPH4TFh6oEq0LpU5rlXB2UVIQ3BXeEZhJyH kJQFai/6o3AqVrBiH+itsPCvH9lscJ7+Q7AaRlXxsYBLY9NldwDhBDilwNA1dg== In-Reply-To: <87lezifqkb.fsf@yahoo.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: thornhill.no 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:224201 Archived-At: Po Lu writes: > Theodor Thornhill writes: > >> I tried to reproduce this again, but now I only get a message telling me >> it's not running under X when using --with-pgtk. clean configure works >> fine. I use exwm. I'll look into reproducing with the commit I reported >> the bug with. > > Thanks, but I don't understand what message you allude to, and where > it's from. Could you show the error message? > 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? >> Side note: is it expected that exwm error when running --with-pgtk under >> X? The only difference in setup is that option set or not. Exwm is run >> with startx, so I assume we are in X. > > Yes. You should not use the PGTK build under X, it is much worse than > the regular X build in every aspect. > Right, gotcha