GNU bug report logs - #53062
29.0.50; Inserting charger causes keyboard event <dead-circumflex>

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Theodor Thornhill <theo@HIDDEN>; dated Thu, 6 Jan 2022 21:50:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 53062 <at> debbugs.gnu.org:


Received: (at 53062) by debbugs.gnu.org; 14 Jan 2022 12:30:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 14 07:30:18 2022
Received: from localhost ([127.0.0.1]:35827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8Lij-0002bE-Mo
	for submit <at> debbugs.gnu.org; Fri, 14 Jan 2022 07:30:18 -0500
Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]:38700)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1n8Lii-0002SO-3E
 for 53062 <at> debbugs.gnu.org; Fri, 14 Jan 2022 07:30:16 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1642163410; bh=iHL+M9dzdV5ojwP61TEFyBpGzr4TELo5jRVU0tkwxrQ=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=RN7D53fb79IDU1enrv3HE57E/aO4HUB/29I3kXNrix/f5dx5OD3jh9PKrjlYREJB8rzUnVgWM+rQdvPoDMLEOyD2Y1myBlmDEQT+jWDxSRRXqYRIJsyHDn9dEUN0iGT6AZRNgjiIPyu08EowaZ608gSchmQaJfXS+sRBp3D9zC0ZBfmEQn6vAjmaFbEwkhaZiEL1XroJP5T0XDlKM5gu+B+FfH7OxWZDJJBsaNtafjgia7tM+taTEYGE8cCdq8MrqU3YWrKSzRWbUPTsRRZKBKRDPmrL2PWSx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Q4x1hA3HEMovZxpeGBOJphUk5lChYcfB2x2FaDxOCZWb5kXPXEUg8rlkGeqtS
 Xl8gZnaVeSP0U.HURI.mDz6XCBPHriJQgEaekFOGErfpmtTNQ.eG8FkKoIouHO19gL23PKVcJzk9
 Mo9bKQSe4GEpcRNaXBqydY7TiqnrjAy5MaQFM7D0B.gdVLVB4ruR2rM9BC1sDCgT3BGOIQ_gE4C9
 7yXHVugWY6M1r6FtBJjFvLHK1teF0oqV_bhg_x6dztOlTY0XVLvNh1Y63ICQyH_4coUwOTnxLPjB
 6bCmSx1eC_ICpGOSmX8J_35pNN8xJF3BCqjZ6bjnGs1Wjc25azimcuHZbt.Uu2y9SvbpQ_6OvyfM
 329ERd3Zo9YKuItMQgeP_LcMWFC_LYMp_6NwFy56xOHV7mo98EE9hWyGPkQqJtQn4WOPCYSzySBR
 RaOe8iBDnTtkjNJB8VipVEPD0m7LdgpdrKCWSAFKgqF1aLojOCnej3YZ94eC9FpjyQlV4tEtUX84
 UJHCU7tQVhEZOr3ImSMTspjhzbma5vypp5yLGiuOUhU8AYWcyQl3vxWHQekDdI67VSy5U_kwLziQ
 hEmLe89fDNCY.D7sjdHW8GyPwrcQKYuFtDsxXqK84YqqHMq0KV3cjUc4U5vUu3LkeBHJdQ2IKXSm
 VDM2dzekgBM9QMLQUk9SC8e8KTK6o0DoIuM2ZEwHnRkH6dXazhkim0eL6mSbMQWxqDcUPf3d3XtI
 GDHFQ1D.E1wrojRAQFzqIg2fcQV_1p1rUZ2GzvC_2.WzaBAB5xjhyooWB
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic307.consmr.mail.ne1.yahoo.com with HTTP; Fri, 14 Jan 2022 12:30:10 +0000
Received: by kubenode517.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID 06075d0c630e36520862a111daf13324; 
 Fri, 14 Jan 2022 12:30:01 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Theodor Thornhill <theo@HIDDEN>
Subject: Re: bug#53062: 29.0.50; Inserting charger causes keyboard event
 <dead-circumflex>
References: <87iluw8ri2.fsf@HIDDEN> <838rvs6nyl.fsf@HIDDEN>
 <87o84j479v.fsf@HIDDEN> <87k0f2spqu.fsf@HIDDEN>
 <87bl0ehdau.fsf@HIDDEN> <87zgnyse7f.fsf@HIDDEN>
Date: Fri, 14 Jan 2022 20:29:56 +0800
In-Reply-To: <87zgnyse7f.fsf@HIDDEN> (Theodor Thornhill's message of
 "Fri, 14 Jan 2022 13:18:28 +0100")
Message-ID: <87lezifqkb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.19594
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 720
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53062
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 53062 <at> debbugs.gnu.org,
 Eli Zaretskii <eliz@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Theodor Thornhill <theo@HIDDEN> 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?

> 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.

Thanks in advance.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53062; Package emacs. Full text available.

Message received at 53062 <at> debbugs.gnu.org:


Received: (at 53062) by debbugs.gnu.org; 14 Jan 2022 12:18:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 14 07:18:37 2022
Received: from localhost ([127.0.0.1]:35812 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8LXR-0001yZ-C8
	for submit <at> debbugs.gnu.org; Fri, 14 Jan 2022 07:18:37 -0500
Received: from out2.migadu.com ([188.165.223.204]:63260)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <theo@HIDDEN>) id 1n8LXL-0001yL-RX
 for 53062 <at> debbugs.gnu.org; Fri, 14 Jan 2022 07:18:35 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no;
 s=key1; t=1642162710;
 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=B77x3o0g8vE7gix5lfBvLwfzDyEG4SPTx1/SBLQ18zY=;
 b=XBTY2PNuqrG3xqIKsMtvzdVTGHs+XXvUg0ceIHES2zM4kC07N4TKtnTWMZP1S4x5oxnuOA
 ajKP0+Qmbk+ufWliejF/VsHjTZaTVfE848DetKKVULSkZEwmBIpedtgrF1LU4RP/e/efdu
 KMg6fK42YT+FkdHwi+2PxviCoL9/AfEmebn+CHMdkEfLmaKPNGy2lNqDfTAmU0LZ1VvpGa
 o7JPbAqqGxUjJRxrGaSCLKcHVdHABB954t1ALH4hdcAZq1CQ6nhfTqBzQycWO4DejFGQi0
 q0kWEnP7cX3hjigwIlZexED1x2gn8DfrqLuOzzs6hpU+6Ajv0dixScQVQpXMDQ==
From: Theodor Thornhill <theo@HIDDEN>
To: Po Lu <luangruo@HIDDEN>, Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#53062: 29.0.50; Inserting charger causes keyboard event
 <dead-circumflex>
In-Reply-To: <87bl0ehdau.fsf@HIDDEN>
References: <87iluw8ri2.fsf@HIDDEN> <838rvs6nyl.fsf@HIDDEN>
 <87o84j479v.fsf@HIDDEN> <87k0f2spqu.fsf@HIDDEN>
 <87bl0ehdau.fsf@HIDDEN>
Date: Fri, 14 Jan 2022 13:18:28 +0100
Message-ID: <87zgnyse7f.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: thornhill.no
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53062
Cc: Eli Zaretskii <eliz@HIDDEN>, 53062 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Po Lu <luangruo@HIDDEN> writes:

> Lars Ingebrigtsen <larsi@HIDDEN> writes:
>
>>> Actually, this only happens under ./configure --with-pgtk, not with
>>> ./configure, so my guess is that that variant picks up something it
>>> shouldn't
>
>> That's interesting.  Perhaps Po Lu has some input on how to debug this
>> strange issue; added to the CCs.
>
> Thanks for bringing this to my attention.
>
> Theodor, are you running under X or are you running under Wayland?
>

I'm running under X

> Also, can you please run Emacs with the environment variable GDK_DEBUG
> set to `events', unplug your charger, and show the GDK debug output?

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.

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.

Theo




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53062; Package emacs. Full text available.

Message received at 53062 <at> debbugs.gnu.org:


Received: (at 53062) by debbugs.gnu.org; 14 Jan 2022 09:33:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 14 04:33:46 2022
Received: from localhost ([127.0.0.1]:35637 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8Ixu-00013w-0H
	for submit <at> debbugs.gnu.org; Fri, 14 Jan 2022 04:33:46 -0500
Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:36580)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1n8Ixr-00013h-Vo
 for 53062 <at> debbugs.gnu.org; Fri, 14 Jan 2022 04:33:44 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1642152818; bh=td8kaEpg16wCR5qh+JNhxo6pmZ9qeFnJr2bdks/FFo0=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=UcvvtV2K6cwK1n81Ekey2vbEKgKLD2yVoNWPzABBCUfMpdQjqzaTerGS7Em4n8q/nrFsFHAEkRJUfB2gqEjI2Cu/MQKw2GXMGALp7UjAB0l0Ug4QX+6m51w2DYHoxzLspFFhVsWX8LV830pF6frpiRAgkVWjXsqPE4NOPAXrEnHrNmP5wkb3Xog+UD/c5iH5xYsi4BAAt1QU4T4t2qivyRvXeTkJul2qYJxB2kSdD1jlN+0Mxa5e8vrw3iVDcf73AOVg2mxq5LiNDvKGEPH2xIQ3PtXHbGa71hwgm0xoKhU+ExgPvEj5X/SbbOumCfgRSdGgKUzhWtqBIQaVqLpijQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1642152818; bh=HdifSrmaU6pOEgTPlCGigkXzLbzlcV0ExiSiObi4Hs3=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=I/HbUCN6OPMiRj9Ul9zMVYK9B+IhHlNIIMeBT03BoRsKKNV69S5vvTKPO/x6zdf+YdKZqTfDpddj9bYh9/x7o6218l2QckkR4O/8MBz83xXJtkXwAp+6A+Zl6hw5eoS/AEg2xspyZXJZtgrF/kg2ibg9qSKVDjYoKvRVV0UYWn97TIMny8nkpFPtLYlLFdem8C+j963/NJ77DFwRylcbNlQz9zlPT64fjZQwuKY+6goqjNGwuMZ3KEU/dHiU6Fjh05SG6WCnjOo2liMfwY+7nPmZO5JgU4wE7I0MW2JG7SIlbnJL1whiFrJUeAcaBgE53euarO8WPAIgGrE/1greyA==
X-YMail-OSG: 1xNCkv4VM1logTNyjZ0QH.yFOa8BhdvyYsr1moSHCUnAcDgDdS6RiRq1qsNNgdv
 GZ1IV3iET9SLrUh5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86JV_IG2JNlAGwukRhxoP7vVWh_fS6Lp_6M5KGoA
 kfziEXSUOEKffbiF.vaIi3p1CgfRjLHu60ObWtdr46gixDNg9l2Ws3TTpTRWhNmClJ3xuSdc2EoX
 .de7wVYYvGCZ6Cg_bkQU8zU6vK_6mUXYg7W.G8wvA8o6c.OrcPGM-
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic309.consmr.mail.ne1.yahoo.com with HTTP; Fri, 14 Jan 2022 09:33:38 +0000
Received: by kubenode517.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID 9f80a6590a2804732da6cce012f3802a; 
 Fri, 14 Jan 2022 09:33:34 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#53062: 29.0.50; Inserting charger causes keyboard event
 <dead-circumflex>
References: <87iluw8ri2.fsf@HIDDEN> <838rvs6nyl.fsf@HIDDEN>
 <87o84j479v.fsf@HIDDEN> <87k0f2spqu.fsf@HIDDEN>
Date: Fri, 14 Jan 2022 17:33:29 +0800
In-Reply-To: <87k0f2spqu.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Fri,
 14 Jan 2022 09:09:13 +0100")
Message-ID: <87bl0ehdau.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.19594
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 560
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 53062
Cc: Eli Zaretskii <eliz@HIDDEN>, 53062 <at> debbugs.gnu.org,
 Theodor Thornhill <theo@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

>> Actually, this only happens under ./configure --with-pgtk, not with
>> ./configure, so my guess is that that variant picks up something it
>> shouldn't

> That's interesting.  Perhaps Po Lu has some input on how to debug this
> strange issue; added to the CCs.

Thanks for bringing this to my attention.

Theodor, are you running under X or are you running under Wayland?

Also, can you please run Emacs with the environment variable GDK_DEBUG
set to `events', unplug your charger, and show the GDK debug output?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53062; Package emacs. Full text available.

Message received at 53062 <at> debbugs.gnu.org:


Received: (at 53062) by debbugs.gnu.org; 14 Jan 2022 08:09:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 14 03:09:25 2022
Received: from localhost ([127.0.0.1]:35396 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8HeG-00047Z-RA
	for submit <at> debbugs.gnu.org; Fri, 14 Jan 2022 03:09:24 -0500
Received: from quimby.gnus.org ([95.216.78.240]:34514)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1n8HeF-00047K-5J
 for 53062 <at> debbugs.gnu.org; Fri, 14 Jan 2022 03:09:23 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 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=RCtld0e4l97a3D3CRgPNR1mUt7NUkt6b0ct9yeDB6Qc=; b=TpQ+Ev57wbv7aKs0Agqkh+TL6j
 AQG6mKqcRKXqmsiUQS92rxOgK2O6r9iuflUsc3EzcFSpNOlF5kfU9BsoViG1uYT5bBTHrQgoYQUff
 56/ARkxnkYBDFqwfam6BcqLKYn5nISroeF5wBn2hZpnhM+Uih8Vo8Eg+RJaSbVjauoSY=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1n8He6-0001YZ-5M; Fri, 14 Jan 2022 09:09:16 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Theodor Thornhill <theo@HIDDEN>
Subject: Re: bug#53062: 29.0.50; Inserting charger causes keyboard event
 <dead-circumflex>
References: <87iluw8ri2.fsf@HIDDEN> <838rvs6nyl.fsf@HIDDEN>
 <87o84j479v.fsf@HIDDEN>
X-Now-Playing: Various's _I Wanna Be Kate: The Songs of Kate Bush_: "You
 Want Alchemy"
Date: Fri, 14 Jan 2022 09:09:13 +0100
In-Reply-To: <87o84j479v.fsf@HIDDEN> (Theodor Thornhill's message of
 "Mon, 10 Jan 2022 22:20:44 +0100")
Message-ID: <87k0f2spqu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Theodor Thornhill <theo@HIDDEN> writes: > Actually,
 this only happens under ./configure --with-pgtk, not with > ./configure, so
 my guess is that that variant picks up something it > shouldn't That's
 interesting.
 Perhaps Po Lu has some input on how to debug this strange issue; added to
 the CCs. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53062
Cc: Po Lu <luangruo@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 53062 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Theodor Thornhill <theo@HIDDEN> writes:

> Actually, this only happens under ./configure --with-pgtk, not with
> ./configure, so my guess is that that variant picks up something it
> shouldn't

That's interesting.  Perhaps Po Lu has some input on how to debug this
strange issue; added to the CCs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53062; Package emacs. Full text available.

Message received at 53062 <at> debbugs.gnu.org:


Received: (at 53062) by debbugs.gnu.org; 10 Jan 2022 21:20:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 10 16:20:54 2022
Received: from localhost ([127.0.0.1]:53408 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n7262-0001s1-AO
	for submit <at> debbugs.gnu.org; Mon, 10 Jan 2022 16:20:54 -0500
Received: from out1.migadu.com ([91.121.223.63]:25208)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <theo@HIDDEN>) id 1n725v-0001rp-VJ
 for 53062 <at> debbugs.gnu.org; Mon, 10 Jan 2022 16:20:53 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no;
 s=key1; t=1641849646;
 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=jhF0LkLhVlBuzEPQgXkXERTWhAamTMoO5Hp2AoSZqUY=;
 b=LfwVlgKKUUhpmHu8Jx/Fh8qyv4QTUpPFU2QY5vUKgRJgPmm1AAm92mGQCo8tdQy8okCla8
 ShCJ//KGRu1iXmSJ8ebd8K4b5947qZDy9qla9G9RwmY7eAfsF/iyoS26nmI/LWQPIZZxXh
 O+5DTAzNksVl0rnX4rew0TOJl4iVEVmI6cYrehqp/4cvszSF18Z0dT/DLRT4jBzoiEVf0s
 lTrneM94qwCh19H7P8KLjNYohXnu+XdKO/LtsaQ02xJYR/Uuz3q4LEcmGNZ99qaPYSqBjV
 TAKZ4XW/hssEzGH6mnOjUnk8gwmPJcTHKgGvcMp4yGlSg/jmj7mKSKM4esEWow==
From: Theodor Thornhill <theo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#53062: 29.0.50; Inserting charger causes keyboard event
 <dead-circumflex>
In-Reply-To: <838rvs6nyl.fsf@HIDDEN>
References: <87iluw8ri2.fsf@HIDDEN> <838rvs6nyl.fsf@HIDDEN>
Date: Mon, 10 Jan 2022 22:20:44 +0100
Message-ID: <87o84j479v.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: thornhill.no
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53062
Cc: 53062 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


> If you cannot figure out how to disable that "feature", you could
> perhaps bind that key to 'ignore', then Emacs will process and ignore
> that key.

Actually, this only happens under ./configure --with-pgtk, not with
./configure, so my guess is that that variant picks up something it
shouldn't


Theodor




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53062; Package emacs. Full text available.

Message received at 53062 <at> debbugs.gnu.org:


Received: (at 53062) by debbugs.gnu.org; 7 Jan 2022 07:27:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 07 02:27:07 2022
Received: from localhost ([127.0.0.1]:42912 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n5jeV-0006VC-CX
	for submit <at> debbugs.gnu.org; Fri, 07 Jan 2022 02:27:07 -0500
Received: from out1.migadu.com ([91.121.223.63]:40299)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <theo@HIDDEN>) id 1n5jeS-0006V2-V4
 for 53062 <at> debbugs.gnu.org; Fri, 07 Jan 2022 02:27:06 -0500
Date: Fri, 07 Jan 2022 08:27:01 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no;
 s=key1; t=1641540423;
 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:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=OGAFcWX/QYGowm0dnco/6CpAktoMkVfgU09iZ0Te0gs=;
 b=SFl18DExcM0Vw6s2ALuqj7FYBT6gppdQeaX+goBwMPE/3dOU9rFldeMcBHAaLvTyWY8xe6
 cpNO6/C6uAHquRK4DjruA6GuVnPYbOtkBV4HagXXyXNKKHVWdmaVIYGT3uUySRfk39T39E
 iqurdp99ICL0K20VKEavehxmkDUtx3l7pkmYGMTQLD050hXLdal9TRfUOk9gR9yZYpaCNu
 g6Rnm6FL9Bg0h3t2wV1SLV3r0G6dEzGvW0XX2FllFEs21O5Xxw8wD6IjxTmVj88X6SmMrx
 R97/bRU8lXDHJxPUEOmFGzgcSAtYwS0hNQcPP7RwN/2D1vtsMkspGQSG/aEAAw==
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Theodor Thornhill <theo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: =?US-ASCII?Q?Re=3A_bug=2353062=3A_29=2E0=2E50=3B_Inserting_charge?=
 =?US-ASCII?Q?r_causes_keyboard_event_=3Cdead-circumflex=3E?=
In-Reply-To: <838rvs6nyl.fsf@HIDDEN>
References: <87iluw8ri2.fsf@HIDDEN> <838rvs6nyl.fsf@HIDDEN>
Message-ID: <080C25BF-9A5F-42D7-B07C-38272688A1E0@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: thornhill.no
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53062
Cc: 53062 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)



On 7 January 2022 07:48:18 CET, Eli Zaretskii <eliz@gnu=2Eorg> wrote:
>> Date: Thu, 06 Jan 2022 22:48:53 +0100
>> From:  Theodor Thornhill via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu=2Eorg>
>>=20
>>=20
>> So, I noticed that everytime I insert my charger the echo area echos
>> "dead-circumflex-"=2E  Obviously I:
>>=20
>> (global-set-key (kbd "<dead-circumflex>") 'save-buffers-kill-emacs)
>>=20
>> Now everytime I insert my laptop charger emacs is killed=2E
>>=20
>> Is this expected?  I pulled and built emacs from source just now, and
>> still get that behavior=2E
>
>Is what expected?  If you bind that function key to
>save-buffers-kill-emacs, it is expected that whenever that function
>key is "pressed", Emacs will exit, yes=2E
>

This was just meant as a joke to clarify it was a keyboard event :)=20

>If you were asking about the dead-circumflex function key event being
>generated when you plug your charger, I think it's something that
>is local to your system -- some piece of software generates key input
>event when you do that=2E  Emacs just responds to the input events it
>receives from the OS=2E
>

I guess you're right, I just find it very strange it happens=2E I'll check=
 if it happens to other window managers than stumpwm=2E=20


>If you cannot figure out how to disable that "feature", you could
>perhaps bind that key to 'ignore', then Emacs will process and ignore
>that key=2E

This is a usable workaround, I guess




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53062; Package emacs. Full text available.

Message received at 53062 <at> debbugs.gnu.org:


Received: (at 53062) by debbugs.gnu.org; 7 Jan 2022 06:48:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 07 01:48:11 2022
Received: from localhost ([127.0.0.1]:42856 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n5j2p-00051r-2F
	for submit <at> debbugs.gnu.org; Fri, 07 Jan 2022 01:48:11 -0500
Received: from eggs.gnu.org ([209.51.188.92]:51450)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1n5j2n-000513-2l
 for 53062 <at> debbugs.gnu.org; Fri, 07 Jan 2022 01:48:09 -0500
Received: from [2001:470:142:3::e] (port=37888 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1n5j2h-0004oY-ED; Fri, 07 Jan 2022 01:48:03 -0500
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=ixKQCiQ2S3ZG9JHSl1q3J60eWIAEVIPSfCLCCs4sbao=; b=AnWvI9GYWgg3
 0ER1dpTRTbxj92KTCp4LxtMSNEGJ5D0jZ3wFj58TEBM/wfreKcFyh1ot3ob+/D0MVr+WtEWC3GU4I
 ZoPw5AEN7EMahCOnfCnyunWDtCHnPC38GUyBDBzUXWUXyzE3BwLximzv4Ezoh7nP4i7ElJdvnP8uH
 rZLtaUZZSDXHwj6T3bzZ1lmh8FiI82Xov/wgwmPCMA9UpgPMKJ1XFKgEleS4Sk45m5V5rHTJdLR7O
 DfcB1bhmvqJcI306qjd6bGLmzgpHqVoxLOpp2ZBnBZxAMqRIrTUiysP85Jp51KMSUh9AgxpDgEyeU
 jCX008gkxoQ58tCHXGHQSw==;
Received: from [87.69.77.57] (port=3200 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1n5j2h-0008LK-4M; Fri, 07 Jan 2022 01:48:03 -0500
Date: Fri, 07 Jan 2022 08:48:18 +0200
Message-Id: <838rvs6nyl.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Theodor Thornhill <theo@HIDDEN>
In-Reply-To: <87iluw8ri2.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#53062: 29.0.50;
 Inserting charger causes keyboard event <dead-circumflex>
References: <87iluw8ri2.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53062
Cc: 53062 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Thu, 06 Jan 2022 22:48:53 +0100
> From:  Theodor Thornhill via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> 
> So, I noticed that everytime I insert my charger the echo area echos
> "dead-circumflex-".  Obviously I:
> 
> (global-set-key (kbd "<dead-circumflex>") 'save-buffers-kill-emacs)
> 
> Now everytime I insert my laptop charger emacs is killed.
> 
> Is this expected?  I pulled and built emacs from source just now, and
> still get that behavior.

Is what expected?  If you bind that function key to
save-buffers-kill-emacs, it is expected that whenever that function
key is "pressed", Emacs will exit, yes.

If you were asking about the dead-circumflex function key event being
generated when you plug your charger, I think it's something that
is local to your system -- some piece of software generates key input
event when you do that.  Emacs just responds to the input events it
receives from the OS.

If you cannot figure out how to disable that "feature", you could
perhaps bind that key to 'ignore', then Emacs will process and ignore
that key.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53062; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Jan 2022 21:49:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 06 16:49:08 2022
Received: from localhost ([127.0.0.1]:42520 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n5adA-00070A-Am
	for submit <at> debbugs.gnu.org; Thu, 06 Jan 2022 16:49:08 -0500
Received: from lists.gnu.org ([209.51.188.17]:57906)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <theo@HIDDEN>) id 1n5ad8-000702-5s
 for submit <at> debbugs.gnu.org; Thu, 06 Jan 2022 16:49:06 -0500
Received: from eggs.gnu.org ([209.51.188.92]:46050)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <theo@HIDDEN>) id 1n5ad7-0006f3-VB
 for bug-gnu-emacs@HIDDEN; Thu, 06 Jan 2022 16:49:05 -0500
Received: from out2.migadu.com ([188.165.223.204]:61812)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <theo@HIDDEN>) id 1n5ad5-0008Fe-DP
 for bug-gnu-emacs@HIDDEN; Thu, 06 Jan 2022 16:49:05 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no;
 s=key1; t=1641505735;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=BlfGyBa0YlbxZC1WLI07bBMpjeOSK/QYYu8AFhLZs5k=;
 b=iuuzshPQ6nX5/56RdWcknwXBcDTGEndhyRhQAkphPhHT5kxLx4bWvF9OwtlUVKlYmTT27d
 MmuerGKkYBYPlCfa/jRP0P3W32AuDt227rFE20+ZKFFS0kRKABHEUaKn4xy6wX+rhBksWH
 ln8y0pX71nhr/UDUolReNmfRgLfaCFGhHATjtf0IKMlFb75ZmBO71CQkXfgrO4sd7DBlMx
 E+pdK02zovxiihOXnAhTpm+vWhqck2C/ijDS1IyPD5v7VBQk4+m0P+Ozr/dpKHbzSGdqZk
 DW99XRLB3InNZl6JttTNHnb12/OWCwFqIcdB2ho7QIpMxNfgV4rBhQsqQuz6rQ==
From: Theodor Thornhill <theo@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; Inserting charger causes keyboard event <dead-circumflex>
Date: Thu, 06 Jan 2022 22:48:53 +0100
Message-ID: <87iluw8ri2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: thornhill.no
Received-SPF: pass client-ip=188.165.223.204; envelope-from=theo@HIDDEN;
 helo=out2.migadu.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, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)


So, I noticed that everytime I insert my charger the echo area echos
"dead-circumflex-".  Obviously I:

(global-set-key (kbd "<dead-circumflex>") 'save-buffers-kill-emacs)

Now everytime I insert my laptop charger emacs is killed.

Is this expected?  I pulled and built emacs from source just now, and
still get that behavior.

Happy new year,
Theodor Thornhill


In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.17.4)
 of 2022-01-06 built on theo
Repository revision: 7945d86829d89066f082f0086047fae34cf932f1
Repository branch: master
System Description: Arch Linux

Configured using:
 'configure --with-pgtk'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PGTK
PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM
GTK3 ZLIB

Important settings:
  value of $LANG: en_US.utf8
  locale-coding-system: utf-8-unix

Major mode: ELisp/l

Minor modes in effect:
  yas-global-mode: t
  yas-minor-mode: t
  corfu-global-mode: t
  corfu-mode: t
  mct-minibuffer-mode: t
  paredit-mode: t
  minibuffer-electric-default-mode: t
  winner-mode: t
  electric-pair-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  global-prettify-symbols-mode: t
  prettify-symbols-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media rmc puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils text-property-search
cursor-sensor vc-git diff-mode vc-dispatcher cl-extra cl-seq yasnippet
help-mode corfu mct modus-vivendi-theme seq subr-x byte-opt bytecomp
byte-compile cconv modus-themes cl-macs gv pcase paredit edmacro kmacro
cl-loaddefs cl-lib easy-mmode rot13 disp-table minibuf-eldef winner ring
elec-pair info sly-autoloads iso-transl tooltip eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice
button loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit pgtk lcms2 multi-tty make-network-process
emacs)

Memory information:
((conses 16 167044 188844)
 (symbols 48 11888 24)
 (strings 32 28630 9965)
 (string-bytes 1 973233)
 (vectors 16 16031)
 (vector-slots 8 206286 136148)
 (floats 8 223 1712)
 (intervals 56 3118 270)
 (buffers 992 13))




Acknowledgement sent to Theodor Thornhill <theo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#53062; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 14 Jan 2022 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.