From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39687: 26.3; Add customize-variable option for not locking keyboards Date: Thu, 01 Oct 2020 22:23:34 +0300 Message-ID: <83a6x5hhs9.fsf@gnu.org> References: <3a518d18-cc99-195b-42a9-adc8ef764d67@lp-programming.com> <83mu9cjqml.fsf@gnu.org> <32ea14fb-1ab8-186e-2534-4d3d2a56d6d8@lp-programming.com> <83pne7hsyp.fsf@gnu.org> <6a23af03-d597-6e3e-ceb4-5fb1305a496a@lp-programming.com> <877ds93hwx.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26090"; mail-complaints-to="usenet@ciao.gmane.io" Cc: logan@lp-programming.com, 39687@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 01 21:24:22 2020 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 1kO4Bh-0006h8-H7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 21:24:21 +0200 Original-Received: from localhost ([::1]:41212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kO4Bg-0007Kh-JB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 15:24:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kO4BO-0007KN-NJ for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 15:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55092) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kO4BO-0002RD-DC for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 15:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kO4BO-00051k-AZ for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 15:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2020 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39687 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 39687-submit@debbugs.gnu.org id=B39687.160158023819313 (code B ref 39687); Thu, 01 Oct 2020 19:24:02 +0000 Original-Received: (at 39687) by debbugs.gnu.org; 1 Oct 2020 19:23:58 +0000 Original-Received: from localhost ([127.0.0.1]:38405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO4BG-00051L-0J for submit@debbugs.gnu.org; Thu, 01 Oct 2020 15:23:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO4BA-000511-Lr for 39687@debbugs.gnu.org; Thu, 01 Oct 2020 15:23:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59978) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kO4B3-0002OM-Au; Thu, 01 Oct 2020 15:23:41 -0400 Original-Received: from [176.228.60.248] (port=3830 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kO4B2-0006nA-HF; Thu, 01 Oct 2020 15:23:41 -0400 In-Reply-To: <877ds93hwx.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 01 Oct 2020 20:44:30 +0200) 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:189572 Archived-At: > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , 39687@debbugs.gnu.org > Date: Thu, 01 Oct 2020 20:44:30 +0200 > > Logan Perkins writes: > > > I *think* I have a patch that still fixes the current behavior, and > > does not reintroduce those two bugs, I've included it below. > > Basically, the fix for Bug#5095 should only be applied if we are in > > the right context. If we're not, the if block above puts a > > Qswitch_frame at the head of the side queue and triggers > > replay_entire_sequence, so we just skip the second check. It'll get > > run again and catch the interruption on the next pass, but in the > > right context. > > Eli, did you have a chance to take a look at the proposed patch here? I didn't feel that I understand the issue well enough, and this area is notorious for having all kinds of dark corners.