From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32426: 27.0.50; Loosing key bindings in threads Date: Tue, 14 Aug 2018 18:16:00 +0300 Message-ID: <837ektj7wv.fsf@gnu.org> References: <87mutq1wyh.fsf@gmx.de> <87zhxqv4tz.fsf@gmx.de> <83sh3ijpql.fsf@gnu.org> <87pnyluuuf.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1534259708 983 195.159.176.226 (14 Aug 2018 15:15:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Aug 2018 15:15:08 +0000 (UTC) Cc: 32426@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 14 17:15:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fpb2F-0000Ac-V4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Aug 2018 17:15:04 +0200 Original-Received: from localhost ([::1]:44812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpb4M-0003Fy-JT for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Aug 2018 11:17:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpb4H-0003Fn-1j for bug-gnu-emacs@gnu.org; Tue, 14 Aug 2018 11:17:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpb4B-00029e-2w for bug-gnu-emacs@gnu.org; Tue, 14 Aug 2018 11:17:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fpb4A-00029Y-Un for bug-gnu-emacs@gnu.org; Tue, 14 Aug 2018 11:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fpb4A-0006NF-OD for bug-gnu-emacs@gnu.org; Tue, 14 Aug 2018 11:17: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: Tue, 14 Aug 2018 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32426 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32426-submit@debbugs.gnu.org id=B32426.153425976424378 (code B ref 32426); Tue, 14 Aug 2018 15:17:02 +0000 Original-Received: (at 32426) by debbugs.gnu.org; 14 Aug 2018 15:16:04 +0000 Original-Received: from localhost ([127.0.0.1]:50972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fpb3D-0006L5-GW for submit@debbugs.gnu.org; Tue, 14 Aug 2018 11:16:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fpb3A-0006K8-1p for 32426@debbugs.gnu.org; Tue, 14 Aug 2018 11:16:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpb30-0001lB-Rn for 32426@debbugs.gnu.org; Tue, 14 Aug 2018 11:15:54 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpb30-0001kx-Nm; Tue, 14 Aug 2018 11:15:50 -0400 Original-Received: from [176.228.60.248] (port=4055 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fpb30-0004O8-1Y; Tue, 14 Aug 2018 11:15:50 -0400 In-reply-to: <87pnyluuuf.fsf@gmx.de> (message from Michael Albinus on Tue, 14 Aug 2018 12:05:12 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149494 Archived-At: > From: Michael Albinus > Cc: 32426@debbugs.gnu.org > Date: Tue, 14 Aug 2018 12:05:12 +0200 > > > Maybe we need to start a new discussion on emacs-devel, once you read > > that. > > Yes, that's needed. Started a discussion on emacs-devel. > But I know that the proposal to disable keyboard reading for all > threads but the main one is not working; see my example in > bug#32426. I'm not surprised. > Perhaps we need this also for other events, D-Bus and file notifications > come to mind. Possibly, but those seem like an easier nut to crack: AFAIU, each time we need to watch for D-Bus events, we register a file descriptor for that, and deregister it when we no longer need it, is that right? If so, we could easily make these descriptors watched only by the thread that registered the watch, the infrastructure for that already exists. By contrast, there's only one keyboard descriptor.