From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Raffael Stocker Newsgroups: gmane.emacs.bugs Subject: bug#69083: Emacs's keyboard hook state is not reset on session lock (Windows) Date: Wed, 21 Feb 2024 15:13:30 +0100 Message-ID: References: <86cyt1qvmt.fsf@gnu.org> <861q9exmhe.fsf@gnu.org> <86v86im1r9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40615"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.8; emacs 29.2 Cc: 69083@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 21 16:25:09 2024 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 1rcoT5-000AC7-I7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Feb 2024 16:25:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcoRa-0002DO-QM; Wed, 21 Feb 2024 10:23:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcoMM-0000wD-DW for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 10:18:12 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rcnRk-0000IK-J8 for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 09:19:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rcnS6-0001Ku-9u for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 09:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Raffael Stocker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Feb 2024 14:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69083 X-GNU-PR-Package: emacs Original-Received: via spool by 69083-submit@debbugs.gnu.org id=B69083.17085251455053 (code B ref 69083); Wed, 21 Feb 2024 14:20:02 +0000 Original-Received: (at 69083) by debbugs.gnu.org; 21 Feb 2024 14:19:05 +0000 Original-Received: from localhost ([127.0.0.1]:48050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcnR8-0001JO-Q2 for submit@debbugs.gnu.org; Wed, 21 Feb 2024 09:19:05 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:42468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcnQt-0001IZ-2b for 69083@debbugs.gnu.org; Wed, 21 Feb 2024 09:19:01 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Tfyzz0xHxz1qsPr; Wed, 21 Feb 2024 15:18:22 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4Tfyzy6qtrz1qqlW; Wed, 21 Feb 2024 15:18:22 +0100 (CET) X-Virus-Scanned: amavis at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id fWSTi2yrGhgo; Wed, 21 Feb 2024 15:18:22 +0100 (CET) X-Auth-Info: bz4tka8Kn35PJ9/DO+ZTbx1OltTUVIxSkLRTZL1gP6g6DoF7NHMVfQJHB6ol9ehH Original-Received: from Whiteflame (ppp-212-114-182-230.dynamic.mnet-online.de [212.114.182.230]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 21 Feb 2024 15:18:22 +0100 (CET) In-reply-to: <86v86im1r9.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280379 Archived-At: Eli Zaretskii writes: >> I have read this post, but it seems to be wrong. I don't have any >> elevated privileges and it works without showing any prompt, at least on >> Windows 10. I'll try to have my colleague test it as well, she runs >> Windows 11. > > Is your user a member of the local Administrators group? Did you try > running this code as a "normal" user, not an admin? I did run it as a normal user; my user has no (local or otherwise) admin rights.